# ollama/release
Ollama v0.40.14
importance: mediumfeature
This release improves Claude Code and Codex launch behavior, fixes cloud web search response decoding, and makes OpenAI-compatible endpoints honor packaged sampler defaults when clients omit sampling parameters. It also preserves readable input content in `/v1/responses`, adds retry handling for ChatGPT disconnects, and speeds up MLX top-k sampling for large vocabularies.
affected
Ollama users of Claude Code, Codex, cloud web search, OpenAI-compatible endpoints, `/v1/responses`, and MLX may notice more reliable behavior or improved sampling performance.
release_signals
+Faster top-k sampling on MLX for large vocabularies.
+`ollama launch claude` applies the model's output token limit for Claude Code.
+The app can retry ChatGPT disconnect failures.
+`ollama launch codex` verifies ChatGPT routing before configuration and reports a clear error when routing is unavailable.
# community_signal
How useful is this release to your stack?
—
net score
Sign in with GitHub to cast your vote.
Sign in with GitHub to vote
You’ll return to this release, then choose your vote.