Files
Kokorone/.env.example
T

15 lines
803 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 複製為 .env 後依需要調整。
# R-2 階段會改為 postgresql 連線字串(例如 postgresql://user:password@localhost:5432/kokorone)。
DATABASE_URL="file:./prisma/dev.db"
# R-2:情緒狀態即時讀寫/session 快取的加速層;連不到時自動退回原本行為(DB/行程記憶體),不是必要依賴。
REDIS_URL=redis://127.0.0.1:6379
# R-3:LLM_PROVIDER=mock(預設,冒煙測試固定用這個)|claude(真的呼叫 API)
LLM_PROVIDER=mock
# 這個部署走 CLIProxy(OpenAI 相容的分散式派工代理)而不是直連 api.anthropic.com,
# 底層仍是 Claude;若改直連官方 API,把 CLAUDE_BASE_URL 換成 https://api.anthropic.com/v1 即可。
CLAUDE_BASE_URL=http://localhost:3000/api/v1
CLAUDE_API_KEY=
CLAUDE_MODEL=claude-sonnet-4-5