88ddc21e64
tests / pytest (push) Has been cancelled
LiteLLM requires openrouter/ prefix to route through openrouter API. Without it, deepseek/* models route to Deepseek native API and fail with the openrouter API key.
28 lines
719 B
Bash
28 lines
719 B
Bash
# --- Server ---
|
|
HOST=0.0.0.0
|
|
PORT=8000
|
|
LOG_LEVEL=info
|
|
|
|
# --- LLM (LiteLLM provider/model) ---
|
|
LLM_PROVIDER=openrouter
|
|
LLM_API_KEY=sk-or-v1-PLACEHOLDER-replace-before-deploy
|
|
LLM_MODEL=openrouter/deepseek/deepseek-v4-flash
|
|
LLM_API_BASE=
|
|
|
|
# --- MCP Tool Server ---
|
|
# URL MUST include the /mcp path (FastMCP HTTP transport).
|
|
MCP_SERVER_URL=http://mcp-tools:8501/mcp
|
|
MCP_TIMEOUT=10
|
|
|
|
# --- Auth (B1 Boot Guard: must be >=32 chars, NOT 'change-me-in-production') ---
|
|
# Generate one with: python -c "import secrets;print(secrets.token_urlsafe(32))"
|
|
AUTH_TOKEN=change-me-in-production
|
|
|
|
# --- Storage ---
|
|
DB_PATH=/data/agent-platform.db
|
|
|
|
# --- Limits ---
|
|
MAX_HISTORY_MESSAGES=10
|
|
MAX_PARALLEL_AGENTS=5
|
|
AGENT_IDLE_TIMEOUT_SEC=300
|