ai insight rework #1

This commit is contained in:
Alberto-Audrix committed 2026-09-29 15:19:10 +07:00
1 parent 0d960c8153
commit 9d76f54d33
13 files changed
+730 -299

No files matched your search

+5
View File
@@ -218,3 +218,8 @@ RAG_SERVICE_URL = (env("RAG_SERVICE_URL", "http://127.0.0.1:5002") or "").rstrip
OLLAMA_BASE_URL = (env("OLLAMA_BASE_URL", "http://127.0.0.1:11434") or "").rstrip("/")
LLM_MODEL_NAME = env("LLM_MODEL_NAME", "qwen2.5:3b") or "qwen2.5:3b"
LLM_TIMEOUT_SECONDS = float(env("LLM_TIMEOUT_SECONDS", "1200") or "1200")
# Plan §6 production config: deterministic, small context, CPU thread cap.
LLM_NUM_CTX = int(env("LLM_NUM_CTX", "2048") or "2048")
LLM_NUM_THREAD = int(env("LLM_NUM_THREAD", "4") or "4")
LLM_SEED = int(env("LLM_SEED", "42") or "42")
LLM_TEMPERATURE = float(env("LLM_TEMPERATURE", "0.2") or "0.2")