mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
Do not set server chat settings on first run
Server chat settings can be set for advanced self-hosted or multi-user cloud setups. They are not necessary anymore as we fallback to use the users chat model for train of thought now
This commit is contained in:
parent
a9009ea774
commit
ec0c79217f
1 changed files with 0 additions and 3 deletions
|
@ -129,9 +129,6 @@ def initialization(interactive: bool = True):
|
|||
if user_chat_model_name and ChatModelOptions.objects.filter(chat_model=user_chat_model_name).exists():
|
||||
default_chat_model_name = user_chat_model_name
|
||||
|
||||
# Create a server chat settings object with the default chat model
|
||||
default_chat_model = ChatModelOptions.objects.filter(chat_model=default_chat_model_name).first()
|
||||
ServerChatSettings.objects.create(chat_default=default_chat_model)
|
||||
logger.info("🗣️ Chat model configuration complete")
|
||||
|
||||
# Set up offline speech to text model
|
||||
|
|
Loading…
Reference in a new issue