fix: add all missing source files (llm.ts, updated agent-runner/agents)

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
This commit is contained in:
2026-02-27 19:33:59 -08:00
parent f2fc976637
commit 59fe313963
4 changed files with 426 additions and 166 deletions

View File

@@ -1,23 +1,48 @@
# Google AI — required for all agents
# ---------------------------------------------------------------------------
# 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
# Gitea — required for git push, issue management
# 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
# Each repo gets a subfolder: /workspaces/owner_reponame
# Base path where agent workspaces are cloned (owner_reponame subdirs)
WORKSPACE_BASE=/workspaces
# Optional: internal URL of this service (used by spawn_agent to self-call)
# 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