Ollama has supported the OpenAI Responses API since v0.6+. The Completions
stream is prone to stalling errors ("OpenAI completions stream stalled while
waiting for the next event"), especially with tool calls. The Responses API
is more robust and supports the same features.
Changes:
- pi-ai/openai-compat.ts: Changed ollamaModelManagerOptions() and
fetchOllamaNativeModels() to use api: "openai-responses" instead
of "openai-completions"
- coding-agent/model-registry.ts: Changed implicit ollama discovery
provider from "openai-completions" to "openai-responses"
Users with existing model caches should clear them after upgrading
(e.g. delete the ollama entry from ~/.omp/agent/models.db).
@oh-my-pi/pi-coding-agent
Core implementation package for the omp coding agent in the oh-my-pi monorepo.
For installation, setup, provider configuration, model roles, slash commands, and full CLI reference, see:
Package-specific references: