-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
55 lines (44 loc) · 1.89 KB
/
Copy path.env.example
File metadata and controls
55 lines (44 loc) · 1.89 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
43
44
45
46
47
48
49
50
51
52
53
54
55
# Backend
DATABASE_URL=postgresql://valuation:valuation@localhost:5432/valuation
# For local dev (SQLite)
# DATABASE_URL=sqlite:///./valuation.db
# AI Provider (disabled|deepseek|qwen|kimi|glm|openai)
AI_PROVIDER=disabled
AI_TIMEOUT_SECONDS=20
AI_ENABLE_AUDIT_LOGS=false
# Per-provider config (only the active provider needs keys)
AI_DEEPSEEK_API_KEY=
AI_DEEPSEEK_BASE_URL=https://api.deepseek.com
AI_DEEPSEEK_MODEL=deepseek-chat
AI_QWEN_API_KEY=
AI_QWEN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
AI_QWEN_MODEL=qwen-plus
AI_KIMI_API_KEY=
AI_KIMI_BASE_URL=https://api.moonshot.cn/v1
AI_KIMI_MODEL=kimi-k2.5
AI_GLM_API_KEY=
AI_GLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4
AI_GLM_MODEL=glm-4
AI_OPENAI_API_KEY=
AI_OPENAI_BASE_URL=https://api.openai.com/v1
AI_OPENAI_MODEL=gpt-4o-mini
# Legacy generic fallbacks (used if per-provider keys are empty)
AI_API_KEY=
AI_BASE_URL=
AI_MODEL=
# ── Embedding backend (Phase H5) ─────────────────────────────────
# "" (blank) = auto-detect: use OpenAI embeddings if OPENAI_API_KEY is set,
# otherwise fall back to deterministic hash-based provider.
# "hash" = force offline hash provider (free, no external calls).
# "openai" = force OpenAI text-embedding-3-small (needs OPENAI_API_KEY).
EMBEDDING_BACKEND=
# OpenAI embedding provider reads these (independent from AI chat provider):
OPENAI_API_KEY=
# OPENAI_BASE_URL= # optional, for Azure / proxies
# ── Memory subsystem (Phase H7) ──────────────────────────────────
# When true, the Orchestrator auto-saves conversational facts to memory after
# each successful run (via LLMMemoryExtractor). Per-request override available
# on the /orchestrate API.
AI_AUTO_SAVE_MEMORY=false
# Max memories persisted per run (budget cap).
AI_MEMORY_EXTRACTOR_MAX_ITEMS=3