src/llm.ts was never committed — this caused the Docker build to fail with "Cannot find module './llm'". Also commit updated agent-runner.ts, agents.ts, and .env.example that reference the new LLM client. Made-with: Cursor
50 lines
1.9 KiB
Plaintext
50 lines
1.9 KiB
Plaintext
# ---------------------------------------------------------------------------
|
|
# AI Models — 3-tier routing
|
|
# ---------------------------------------------------------------------------
|
|
|
|
# Tier A — fast/cheap: routing, summaries, log parsing (Gemini Flash)
|
|
TIER_A_MODEL=gemini-2.5-flash
|
|
|
|
# Tier B — workhorse coder: features, diffs, standard bug fixes (GLM-5 on Vertex)
|
|
TIER_B_MODEL=zai-org/glm-5-maas
|
|
|
|
# Tier C — premium escalation: architecture decisions, complex debugging
|
|
# Options: zai-org/glm-5-maas | anthropic/claude-sonnet-4-6
|
|
TIER_C_MODEL=zai-org/glm-5-maas
|
|
|
|
# Orchestrator model (defaults to Tier B if not set)
|
|
ORCHESTRATOR_MODEL=B
|
|
|
|
# Tier A fallback — Gemini API key (required if using gemini-* models)
|
|
GOOGLE_API_KEY=your-gemini-api-key
|
|
|
|
# GCP project for Vertex AI (GLM-5, Claude Sonnet via Vertex)
|
|
GCP_PROJECT_ID=master-ai-484822
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Gitea — required for git push and issue management
|
|
# ---------------------------------------------------------------------------
|
|
GITEA_API_URL=https://git.vibnai.com
|
|
GITEA_API_TOKEN=your-gitea-token
|
|
GITEA_USERNAME=your-gitea-username
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Coolify — required for deployment tools
|
|
# ---------------------------------------------------------------------------
|
|
COOLIFY_API_URL=https://coolify.vibnai.com
|
|
COOLIFY_API_TOKEN=your-coolify-token
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Server config
|
|
# ---------------------------------------------------------------------------
|
|
PORT=3333
|
|
|
|
# Base path where agent workspaces are cloned (owner_reponame subdirs)
|
|
WORKSPACE_BASE=/workspaces
|
|
|
|
# Internal URL of this service (used by spawn_agent to self-call)
|
|
AGENT_RUNNER_URL=http://localhost:3333
|
|
|
|
# Optional: shared secret for validating Gitea webhook POSTs
|
|
WEBHOOK_SECRET=
|