From ad36d1c3e0b545c3e0517ec384087075ad77f63e Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 10 Dec 2025 15:07:06 +0300 Subject: Fix: rag panics --- config.example.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.example.toml') 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" -- cgit v1.2.3