Fix: rag panics
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user