summaryrefslogtreecommitdiff
path: root/config.example.toml
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-12-10 15:07:06 +0300
committerGrail Finder <wohilas@gmail.com>2025-12-10 15:07:06 +0300
commitad36d1c3e0b545c3e0517ec384087075ad77f63e (patch)
tree9a5208f1e9c1b918949bb9322bfcf3abc899c15b /config.example.toml
parent8af2a59a9a12667bae2ce138259d432ba81f8e03 (diff)
Fix: rag panics
Diffstat (limited to 'config.example.toml')
-rw-r--r--config.example.toml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.example.toml b/config.example.toml
index 47e4408..113b7ea 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -10,7 +10,7 @@ DeepSeekModel = "deepseek-reasoner"
OpenRouterCompletionAPI = "https://openrouter.ai/api/v1/completions"
OpenRouterChatAPI = "https://openrouter.ai/api/v1/chat/completions"
# OpenRouterToken = ""
-EmbedURL = "http://localhost:8080/v1/embeddings"
+EmbedURL = "http://localhost:8082/v1/embeddings"
ShowSys = true
LogFile = "log.txt"
UserRole = "user"
@@ -19,7 +19,7 @@ AssistantRole = "assistant"
SysDir = "sysprompts"
ChunkLimit = 100000
# rag settings
-RAGBatchSize = 10
+RAGBatchSize = 1
RAGWordLimit = 80
RAGWorkers = 2
RAGDir = "ragimport"