-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 1.16 KB
/
Copy path.env.example
File metadata and controls
42 lines (36 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Provider: auto, gemini, openai, or ollama
# auto prefers a configured cloud API key; Ollama is used only when explicitly selected or when no cloud key is configured.
LLM_PROVIDER=litellm
OLLAMA_ENABLED=false
# Optional cloud providers
GEMINI_API_KEY=
GEMINI_MODEL=gemini-3.6-flash
# Optional fallbacks used only if the configured Gemini model is unavailable
GEMINI_FALLBACK_MODELS=gemini-3.5-flash,gemini-3.5-flash-lite,gemini-3.1-flash-lite
OPENAI_API_KEY=
OPENAI_MODEL=portfolio-free
# Optional local Ollama. Use docker-compose.ollama.yml for containerized Ollama.
OLLAMA_BASE_URL=http://host.docker.internal:11434
OLLAMA_MODEL=qwen3:4b
OLLAMA_THINK=false
OLLAMA_KEEP_ALIVE=10m
OLLAMA_NUM_CTX=8192
OLLAMA_NUM_PREDICT=1400
# Optional search
TAVILY_API_KEY=
MAX_FILE_SIZE_MB=50
MAX_DOCUMENT_CHARS=90000
REQUEST_TIMEOUT=120
LLM_MAX_RETRIES=2
OCR_ENABLED=true
CORS_ORIGINS=http://localhost:8501
# LLM Gateway (LiteLLM)
LITELLM_MASTER_KEY=
LITELLM_API_KEY=
LITELLM_BASE_URL=http://litellm:4000/v1
LITELLM_MODEL=portfolio-free
OPENROUTER_API_KEY=
GEMINI_API_KEY=
# LiteLLM upstream model IDs
OPENROUTER_LITELLM_MODEL=openrouter/free
GEMINI_LITELLM_MODEL=gemini/gemini-flash-lite-latest