Fix: rag panics

This commit is contained in:
Grail Finder
2025-12-10 15:07:06 +03:00
parent 8af2a59a9a
commit ad36d1c3e0
3 changed files with 70 additions and 23 deletions

View File

@@ -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"