mirror of
https://github.com/openai/codex.git
synced 2026-09-17 12:23:33 +00:00
In Ollama v0.13.4 `/v1/responses` support was added. When Ollama is used via `--oss`, it now defaults to Responses. At runtime we do a version check and if the version is older than when Responses support was added, we fall back to `/v1/chat/completions`.