Update sample.config.toml

add setting of layout mode & history retention days
This commit is contained in:
TamHC 2025-06-24 21:35:46 +08:00 committed by GitHub
parent ad8ea4acd6
commit 39bde37a03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,12 @@
[GENERAL] [GENERAL]
SIMILARITY_MEASURE = "cosine" # "cosine" or "dot" SIMILARITY_MEASURE = "cosine"
KEEP_ALIVE = "5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m") KEEP_ALIVE = "5m"
[UI]
LAYOUT_MODE = "default"
[HISTORY]
RETENTION_DAYS = 0
[MODELS.OPENAI] [MODELS.OPENAI]
API_KEY = "" API_KEY = ""