Files
oh-my-pi/packages/coding-agent
bobags2andcan1357 ff3cf964e8 fix: use OpenAI Responses API for Ollama instead of Completions
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).
2026-04-09 18:47:09 +02:00
..
2026-01-03 14:53:38 +01:00
2026-04-09 02:35:59 +02:00
2026-04-09 02:35:59 +02:00

@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: