soul: OpenAI-compatible provider path for chat (Ollama/OpenAI/Grok/Gemini) — v1 #65

Manually merged
will.anderson merged 0 commits from feat/openai-format-providers into main 2026-07-13 16:21:00 +00:00
Member

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

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
tim.lingo added 1 commit 2026-06-30 23:59:53 +00:00
Additive, Anthropic path untouched + default. When NEURON_LLM_0_FORMAT=openai and NEURON_LLM_0_URL
set, basic chat turns build an OpenAI chat/completions request and parse choices[0].message.content.
v1 = plain completion, NO tools/agentic loop yet (follow-up). Unblocks all OpenAI-format providers
at once. PARSES (elc chat.el exit 0); NOT yet built/tested — needs the soul rebuild (dist/soul.c) + E2E.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
will.anderson manually merged commit 71bb0820ce into main 2026-07-13 16:21:00 +00:00
Sign in to join this conversation.