Files
vibn-agent-runner/.env.example
mawkone 419af40ca2 feat(agent): POST timeline events to vibn-frontend ingest API
- vibn-events-ingest.ts + emit() dual-write with session PATCH
- .env.example: VIBN_API_URL, AGENT_RUNNER_SECRET

Made-with: Cursor
2026-04-01 11:48:57 -07:00

57 lines
2.2 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
# Base URL of the vibn-frontend Next app (runner PATCHes sessions + POSTs timeline events)
# Production: https://vibnai.com (must be reachable from this container)
VIBN_API_URL=http://localhost:3000
# Same value as AGENT_RUNNER_SECRET on the Next app (ingest + session PATCH)
AGENT_RUNNER_SECRET=
# Optional: shared secret for validating Gitea webhook POSTs
WEBHOOK_SECRET=