feat: Jon Snow Phase 2 — FastAPI orchestrator with LiteLLM brain
OpenAI-compatible API at :8900. Intent classifier routes status queries to FAST_MODEL (Ollama), task submissions to Plane, planning to SMART_MODEL. Reads agent-os logs for status context. Phase 3: approval gate + execution. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
services:
|
||||
jon-snow:
|
||||
build: .
|
||||
container_name: jon-snow
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8900:8900"
|
||||
volumes:
|
||||
- /opt/agent-os:/opt/agent-os:rw
|
||||
- /opt/sites:/opt/sites:rw
|
||||
environment:
|
||||
FAST_MODEL: ${FAST_MODEL:-ollama/gemma4}
|
||||
SMART_MODEL: ${SMART_MODEL:-ollama/gemma4}
|
||||
OLLAMA_BASE_URL: ${OLLAMA_BASE_URL:-http://172.27.40.20:11434}
|
||||
ANTHROPIC_API_KEY: ${ANTHROPIC_API_KEY:-}
|
||||
PLANE_URL: ${PLANE_URL:-http://172.27.40.3:8095}
|
||||
PLANE_WORKSPACE: ${PLANE_WORKSPACE:-nxm}
|
||||
PLANE_API_KEY: ${PLANE_API_KEY}
|
||||
AGENT_OS_DIR: /opt/agent-os
|
||||
SITES_DIR: /opt/sites
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user