soul: OpenAI-compatible provider path for chat (Ollama/OpenAI/Grok/Gemini) — v1 #65
Reference in New Issue
Block a user
Delete Branch "feat/openai-format-providers"
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?
Additive OpenAI-format chat path so the brain can serve non-Anthropic providers (Ollama/OpenAI/Grok/Gemini), not just Anthropic. Anthropic path untouched + default.
Scope (v1): plain chat completion only — NO tools/agentic loop in OpenAI format yet (follow-up).
Rung: SOURCE-WRITTEN + PARSES (elc --target=c chat.el exits 0). NOT built/tested — needs dist/soul.c rebuild + E2E. Full handoff (build, env-wiring, test plan) in docs/specs/SPEC-soul-openai-providers.md.
When NEURON_LLM_0_FORMAT=openai and NEURON_LLM_0_URL set, basic chat builds an OpenAI chat/completions request and parses choices[0].message.content; else the Anthropic agentic_loop runs (default).
Generated with Claude Code