Model backend for the Adolf gateway. OpenAI-compatible (model 'adolf'), real SSE streaming, chat_id session-keying (parsed from OpenClaw's untrusted-metadata block per SPIKE gate 2) -> 1:1 kimi -r resume, media persistence for the CLI's ReadMediaFile, per-session project-root .mcp.json (gate 1; no --mcp-config-file). Cognee auto-memory hooks and shared-MCP server list are non-blocking stubs with TODO(P4/P5) markers. New service + workspace/home volumes in compose. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LeqyaxJF2nbRXJtae2kNB2
21 lines
733 B
YAML
21 lines
733 B
YAML
# adolf-llm — conversational Kimi-CLI wrapper (P2, :8010). OpenAI-compatible,
|
|
# model id "adolf". Real streaming, chat_id session mapping (1:1 kimi -r resume),
|
|
# media persistence, shared .mcp.json per session. cognee/MCP wiring is stubbed
|
|
# until P4/P5. Needs `kimi login` credentials seeded into its own home volume.
|
|
# Orchestrator: merge this `adolf-llm` service + the two named volumes into
|
|
# openai/docker-compose.yml (do NOT edit that file here).
|
|
services:
|
|
adolf-llm:
|
|
build: ./adolf-llm
|
|
container_name: adolf-llm
|
|
ports:
|
|
- "8010:8010"
|
|
volumes:
|
|
- adolf-llm-workspace:/workspace
|
|
- adolf-llm-home:/root/.kimi-code
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
adolf-llm-workspace:
|
|
adolf-llm-home:
|