Release · Oh My Pi · can1357

Oh My Pi v19.4.0

What's new in Oh My Pi v19.4.0, released Nov 30, 2026 (). Newer: v19.4.4 (Dec 4, 2026)

Release notes

Oh My Pi v19.4.0

@oh-my-pi/pi-agent-core

Changed
  • Improved context size estimates by using model-specific tokenizers instead of the OpenAI fallback for supported Gemini models, Gemini 4 Argon, Hydrogen, Carbon and Neon (with conservative hard budget checks), Xiaomi MiMo, MiniMax, Meta Muse and Llama 4.
Fixed
  • Fixed token counters for sessions and subagents staying in memory after the session ended (#21089 by @sjawhar).
  • Fixed OpenAI remote compaction failing when reused conversation history contained images or results from an earlier compaction, including on Azure (#20903, #20906 by @koeria, #20617 by @sjawhar).
  • Fixed Cursor counting tool results twice when sizing requests, which could shrink the model's output budget to its minimum (#20510).
  • Fixed compaction dropping turns the model could still see when an earlier compaction had kept turns from before /clear (#20993 by @sjawhar).

@oh-my-pi/pi-ai

Added
  • Added POST /v1/spotlight to omp auth-gateway, forwarding Stencil Spotlight ranking to Stencil Cloud under the gateway's stencil.so credential so credential-free omp can rank through it. Scoped clients need stencil/* in models to call it.
Fixed
  • Compaction and other one-shot requests now retry transient network failures such as ETIMEDOUT instead of stopping (#21111 by @Maziar123).
  • A Devin per-model rate limit now blocks only that model until its stated reset, instead of marking every Devin model as out of usage while the account still has quota (#21057 by @Xytronix).
  • Devin sessions now switch to another stored login when the current one has used up its weekly quota and has no on-demand balance (#20524 by @will-bogusz).
  • Fixed Devin Gemini models (e.g. devin/gemini-4-neon) losing their thought signatures during tool loops, which often caused empty stops (#19840).
  • OAuth credentials formatted by other tools no longer cause refresh timeouts or lost tokens. Failed saves no longer retry for 60 seconds when no other process is refreshing (#20601, #20602 by @noahgaertner).
  • Sessions now recover on their own when the auth broker URL returns an error, such as a proxy's 403 during a DNS outage, instead of failing until restart (#19236).
  • Opening the credential store at startup no longer fails with database is locked while another process is writing to the agent database (#17968 by @sjawhar).
  • <think> or </think> inside inline code or code blocks is no longer mistaken for the start or end of a thinking block.
  • Thinking-loop detection now catches real loops in languages written without spaces between words, such as Chinese, Japanese, and Thai. It no longer interrupts valid reasoning that repeats English tool or metric names (#20096).
  • Anthropic requests now use HTTPS_PROXY, https_proxy, and ALL_PROXY without requiring PI_PROXY (#21006).
  • Anthropic sessions no longer rebuild the whole prompt cache when a tool-heavy turn follows a pause of more than about 4.5 minutes (#20606 by @Phantasma98).
  • Requests now switch to another account or a fallback model when a provider rejects them for insufficient credit (#20403 by @JamieJ5926).
  • Context-window overflow errors now trigger compaction and a retry whenever the provider's error code identifies the overflow, even if the error message wording is unfamiliar (#20401 by @JamieJ5926).
  • Image references that can't be resolved are now replaced with text placeholders instead of causing invalid image requests in OpenAI Responses, Chat Completions, and Cursor (#20903, #20906 by @koeria).
  • OpenAI Chat Completions now keeps declared tool calls and their results when replaying history, including tools with dotted names such as power.state (#20633 by @joshuaswarren).
  • Replaying stored OpenAI Responses output no longer fails with an unknown-parameter error for created_by on OpenAI, Azure, Codex, or WebSocket routes (#20617 by @sjawhar).
  • Claude usage reports now label premium Team seats as "Team 5x" instead of "Max 5x" (#20677 by @ndecool).
  • Z.AI account ranking now handles usage reports that have multiple quota meters or no absolute credit values (#9979 by @aleister1102).
  • Pi-native streaming now honors a configured Authorization header regardless of capitalization and falls back to the API key when the header is missing or empty (#20472 by @enieuwy).
  • Requests canceled while they are being prepared are no longer sent, even when a custom fetch ignores abort signals (#20673 by @sjawhar).

@oh-my-pi/browser-relay

Added
  • Added a session switcher to the side panel that lists your previous chats so you can pick one and continue it.
Fixed
  • Fixed starting a new chat showing "omp is working in another tab" for the chat you just left. The new chat now takes over the tab, and a tab already in use by another chat offers both "New chat here" and "Open chat".
  • Fixed the side panel repeating a running step's label in the working row below it.

@oh-my-pi/pi-catalog

Added
  • Added the Verda Inference provider with Kimi K3.1 Pro and DeepSeek V4.1 Flash 1017. Sign in with /login verda or set VERDA_INFERENCE_API_KEY (#19496 by @EzgiTastan).
  • Local token counts now use each model's own published tokenizer instead of the OpenAI fallback. This covers Gemini 2.0–3.5, Gemma 3 (270M/1B/4B/12B/27B), Gemma 4 E4B, Xiaomi MiMo V2.x, MiniMax M1–M3.x, Meta Muse Spark, Wonder, Ember, Glimmer and Llama 4. Gemini 4 Argon, Hydrogen, Carbon and Neon, including their effort variants, now use a local gemini4 tokenizer. The -fast variants still use the fallback.
Fixed
  • Fixed LiteLLM models that are missing from LiteLLM's cost map losing native tool calling. With tools.format: auto, these models now keep receiving native tools (#21061

…