diff --git a/.env.example b/.env.example index 1bc2026..9fad03b 100644 --- a/.env.example +++ b/.env.example @@ -30,7 +30,7 @@ LLM_FALLBACK_MODEL=fyn-qwen35-chat #LLM_STAGE5_MODALITY=thinking # Max tokens for LLM responses (OpenWebUI defaults to 1000 — pipeline needs much more) -LLM_MAX_TOKENS=16384 +LLM_MAX_TOKENS=32768 # Embedding endpoint (Ollama container in the compose stack) EMBEDDING_API_URL=http://chrysopedia-ollama:11434/v1 diff --git a/backend/config.py b/backend/config.py index db37b87..5ba5446 100644 --- a/backend/config.py +++ b/backend/config.py @@ -44,7 +44,7 @@ class Settings(BaseSettings): llm_stage5_modality: str = "chat" # Max tokens for LLM responses (OpenWebUI defaults to 1000 which truncates pipeline JSON) - llm_max_tokens: int = 16384 + llm_max_tokens: int = 32768 # Embedding endpoint embedding_api_url: str = "http://localhost:11434/v1"