mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-08 21:29:12 +00:00
Fix configuration of name field for chatmodel options during initalization
This commit is contained in:
@@ -267,7 +267,7 @@ def initialization(interactive: bool = True):
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Remove models that are no longer available
|
# Remove models that are no longer available
|
||||||
existing_models.exclude(chat_model__in=available_models).delete()
|
existing_models.exclude(name__in=available_models).delete()
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.warning(f"Failed to update models for {config.name}: {str(e)}")
|
logger.warning(f"Failed to update models for {config.name}: {str(e)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user