Add fox as primary AI summarizer with cube fallback #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summaries run through a single Ollama backend (cube/qwen3 via OLLAMA_URL). We want fox (gemma4:26b) as the primary summarizer with cube as automatic fallback when fox is unreachable.
fox is served by llama-swap and speaks only the OpenAI-compatible /v1/chat/completions API (it 404s on Ollama's /api/chat), so this needs an analyzer abstraction over both protocols plus per-request fallback. To avoid a config trap, the existing OLLAMA_URL/OLLAMA_MODEL keep defining the fallback backend (cube, already set in the deployed unit); a new AI_URL/AI_MODEL/AI_API configures the fox primary.
This re-ports work that was originally written against an orphaned repo line (old PR #4, preserved on branch orbit-main-archive) onto the canonical codebase. Scope: Analyzer interface, OpenAIClient, FallbackAnalyzer, config + wiring, tests. Not deployed until separately approved.
Done — landed on
mainin06d456b(bundled into PR #8 due to a branching slip; PR #6 closed unmerged). fox is the default primary summarizer, cube the fallback via OLLAMA_URL.