Add default mode option to settings

This commit is contained in:
Jason 2024-09-09 22:25:26 -04:00
parent 42628596b2
commit a5e796fcea
2 changed files with 8 additions and 2 deletions

View file

@ -350,6 +350,10 @@ class AzureOpenAISettings(BaseModel):
class UISettings(BaseModel):
enabled: bool
path: str
default_mode: str = Field(
"RAG",
description="The default mode.",
)
default_chat_system_prompt: str = Field(
None,
description="The default system prompt to use for the chat mode.",