fix(agent): register Ollama with api: openai-completions #117

Merged
jason.woltje merged 1 commits from fix/ollama-api-field into main 2026-03-15 17:10:33 +00:00

1 Commits

Author SHA1 Message Date
15bf9475fb fix(agent): register Ollama directly with api: openai-completions
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Pi SDK requires an api field on provider/model registration. Ollama
uses the OpenAI-compatible completions API. Register directly via
registry.registerProvider instead of the generic wrapper to pass the
correct api type.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 12:10:13 -05:00