Skip to content

feat(providers): update the model catalog for November 2026 - #549

Closed
RasulOs wants to merge 5 commits into
developfrom
feat/model-catalog-nov
Closed

RasulOs wants to merge 5 commits into
developfrom
feat/model-catalog-nov

Conversation

@RasulOs

@RasulOs RasulOs commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

What

Brings the provider model catalog in line with what each vendor serves as of 2026-11-17, and fixes three model-handling bugs the live checks turned up. Defaults are unchanged.

Provider Added Removed from the picker
Anthropic (API key and Claude sign-in) claude-fable-5-2, claude-haiku-5-5 claude-fable-5-1 (superseded by 5.2)
OpenAI (API key and ChatGPT sign-in) gpt-6.1-terra, gpt-6-luna none
Gemini API key gemini-4-hydrogen, gemini-4-argon, gemini-4-carbon gemini-3.7-flash (deprecated; the API routes it to gemini-3.8-flash)
Gemini sign-in (Antigravity) none gemini-3.7-flash-tiered
MiniMax MiniMax-M3.1-Flash MiniMax-M2.7, MiniMax-M2.7-highspeed (retired by MiniMax on 2026-11-18)
Z.AI (API and coding plan) glm-5.3, glm-5.3-flash none

Picker removals still load from saved configs and can be typed as a custom model, except the retired Gemini sign-in ids below.

Fixes

  • Claude thinking blocks. claude-fable-5-2 ties each thinking block to the conversation that produced it and returns a 400 once an earlier turn changes. The agents rebuild earlier turns on every step, so an API-key run failed on its third step. The Anthropic loader now leaves stored thinking blocks out for the models that bind them: Fable 5.2 and 5.1, Opus 5.5, Sonnet 5.5, Haiku 5.5. The Claude sign-in path never sent them.
  • Gemini coordinate space. gemini-3.5-flash-lite and gemini-3.1-pro-preview answer screenshot positions on a 0-1000 grid whatever space is declared, so vision-only taps landed on the wrong element. They now get the normalized contract, like gemini-3.8-flash. The Gemini 4 models follow the declared pixel space and stay on it.
  • Retired Gemini sign-in ids. gemini-3.7-flash-tiered, the gemini-3.6-flash-* tiers, gemini-3.1-pro-low and gemini-pro-agent return 404 from Antigravity. They are now rejected locally with the retired-model message. The same check covers a custom_model override, which used to skip it.

Capability entries

  • claude-fable-5-2 and claude-haiku-5-5: 1M context, sampling parameters omitted, high-resolution image budget. claude-fable-5-2 rejects forced tool_choice, so structured output uses the text program; claude-haiku-5-5 accepts it.
  • gpt-6.1-terra: GPT-6 context window, reasoning efforts none to max, sampling parameters omitted.
  • gpt-6-luna is listed again. It was dropped when it did not emit XML tool calls; with native tool calling it drives the agent.
  • MiniMax-M3.1-Flash: 1M context window. The MiniMax-M2, M2.1 and M2.7 context rows are removed: M2 and M2.1 return "no longer available", M2.7 retires on 2026-11-18.
  • The Gemini 4 Developer API ids are rejected locally on the Antigravity sign-in path, with the list of ids that path serves.
  • Gemini sign-in preset pro now resolves to the default model. The consumer entitlement serves its pro tier with that model.

Claude sign-in

  • Claude Code version raised from 2.1.281 to 2.1.325. The server rejects claude-fable-5-2 below 2.1.290.
  • The billing marker is now skipped only for Haiku 4.x. claude-haiku-5-5 returns 429 without it; claude-haiku-4-5 works either way.

Testing

  • pytest: 2,957 passed. black --check clean.
  • Every id in the provider code was called live for chat, streaming and one image prompt, with an API key (OpenAI, Anthropic, Gemini, MiniMax, DeepSeek) and on each sign-in path (ChatGPT, Claude, Antigravity, Grok). Every picker model answers on every path tested.
  • Agent runs on an Android 16 emulator, a11y + vision, "open Settings, open search, type battery", checked by reading the search field afterwards. Every picker entry passes on the API-key paths (Gemini, OpenAI, Anthropic, MiniMax, DeepSeek) and on the Claude, Antigravity and Grok sign-in paths; on the ChatGPT sign-in, four of the seven were run and pass. claude-fable-5-2 on an API key failed before the thinking-block fix and passes after it.
  • Vision-only tap check on a fixture app with three known targets:
    • Gemini 4 Hydrogen, Argon and Carbon hit 3/3 on the pixel contract.
    • Gemini 3.5 Flash Lite hit 1/3 on the pixel contract and 3/3 once normalized.
    • Gemini 3.1 Pro hit 2/3 on the pixel contract and 3/3 normalized.

Not run:

  • The xAI API-key path: the test key has no credits. Grok was tested on the sign-in path only.
  • Z.AI: no key. The GLM ids and limits come from the vendor's model pages.

Not changed

  • grok-4.7 stays off the xAI API-key list until its tool calling is retested with an API key.
  • No Gemini 4 model is added to the Gemini sign-in list: Antigravity returns 404 for them.

🤖 Generated with Claude Code

Add claude-fable-5-2 and claude-haiku-5-5, gpt-6.1-terra and gpt-6-luna,
gemini-4-hydrogen and gemini-4-carbon, MiniMax-M3.1-Flash, and glm-5.3 and
glm-5.3-flash, with their context windows, sampling, tool-choice,
reasoning-effort and image-budget entries.

Drop ids that are superseded, deprecated or no longer served from the
pickers: claude-fable-5-1, gemini-3.7-flash, the Antigravity ids
gemini-3.7-flash-tiered, gemini-pro-agent and gemini-3.1-pro-low, and
MiniMax-M2.7 with its highspeed variant. They still load from saved
configs.

Claude sign-in: raise the Claude Code version to 2.1.325, which
claude-fable-5-2 requires, and send the billing marker for Haiku models
after 4.x, which claude-haiku-5-5 requires.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@RasulOs

RasulOs commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T20:26:19.221522Z dcd0c54 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 114eb477fe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

)
GEMINI_API_MODELS: tuple[str, ...] = (
GEMINI_API_DEFAULT_MODEL,
"gemini-4-hydrogen",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Upgrade the locked adapter before listing Gemini 4

When gemini-4-hydrogen runs Mobilerun's normal multi-turn tool loop, the committed lock still installs llama-index-llms-google-genai==0.9.1 (uv.lock:1250-1252). Gemini 4 requires preserving each thought_signature in its original part and can otherwise return HTTP 400 or MALFORMED_FUNCTION_CALL (Google's migration guide), while upstream only fixes “don't overwrite thought signatures” in version 0.10.0 (LlamaIndex releases). Upgrade and relock the adapter before making this model selectable, or locked installations can break after the first tool call.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 52b7dbe: gemini-4-hydrogen and gemini-4-carbon are no longer added to the API-key picker. Neither the tool loop on the locked adapter nor their coordinate space could be run here, so they stay custom ids until that is measured with an API key.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked with a Google API key. For Gemini the agent sends its actions as XML text, not native function calls, so no thought signature is ever replayed. All three Gemini 4 models complete multi-step agent runs on an Android 16 emulator with the locked adapter, so Hydrogen and Carbon are back in the list (67ca7d5).

Comment on lines +85 to +87
"gemini-4-hydrogen",
"gemini-4-argon",
"gemini-3.7-flash",
"gemini-4-carbon",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Normalize coordinates for the new Gemini 4 models

When any newly listed Gemini 4 model is used as the vision action model, model_uses_normalized_coordinates() still recognizes only Gemma and gemini-3.8-flash, so Mobilerun declares pixel coordinates and forwards the model's 0–1000 values as pixels. Google's computer-use documentation lists Hydrogen, Carbon, and Argon as supported models and requires scaling their normalized 0–1000 coordinates to the viewport (Google Cloud documentation); without extending the classifier, taps on typical phone screenshots land at the wrong position.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 52b7dbe: gemini-4-hydrogen and gemini-4-carbon are no longer added to the API-key picker. Neither the tool loop on the locked adapter nor their coordinate space could be run here, so they stay custom ids until that is measured with an API key.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Measured on the emulator with a vision-only tap check on three known targets. Hydrogen, Argon and Carbon answer in the declared pixel space (3/3 each, within a few pixels), so they stay on the pixel contract. The same check showed gemini-3.5-flash-lite and gemini-3.1-pro-preview answering on a 0-1000 grid; those two now get the normalized contract (67ca7d5).

… picker

Their tool loop and coordinate space have not been run against the locked
Gemini adapter, so they stay custom ids for now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@RasulOs

RasulOs commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 52b7dbe4a3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +94 to +96
"gemini-4-hydrogen",
"gemini-4-argon",
"gemini-4-carbon",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate the custom Gemini OAuth override

When a caller or saved profile supplies one of these IDs through custom_model (for example, load_llm("gemini_oauth_code_assist", custom_model="gemini-4-argon")), GeminiOAuthCodeAssistLLM gives that value precedence over model, but load_llm validates only kwargs["model"]. The new unsupported IDs therefore bypass the intended local error and are still sent to Antigravity, where they fail remotely; validate the effective custom_model/model selection before constructing the LLM.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 67ca7d5: the check now uses custom_model when it is set, with a test.

RasulOs and others added 3 commits November 16, 2026 23:02
Every catalog id was called with an API key and, where one exists, the
sign-in path, then the picker models ran agent tasks on an Android 16
emulator.

- Gemini 4 Hydrogen and Carbon are back in the API-key picker. All three
  Gemini 4 models follow the declared pixel space.
- Gemini 3.5 Flash Lite and 3.1 Pro answer on a 0-1000 grid, so they now
  get the normalized coordinate contract like Gemini 3.8 Flash.
- Gemini sign-in ids the catalog stopped serving (3.7 Flash tiered, the
  3.6 Flash tiers, 3.1 Pro Low, Pro Agent) are rejected locally with the
  retired-model message instead of a remote 404.
- The Gemini sign-in check also covers a custom_model override.
- MiniMax M2, M2.1 and M2.7 rows are removed: M2 and M2.1 return "no
  longer available", M2.7 retires on 2026-11-18.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude Fable 5.2 ties each thinking block to the conversation that
produced it and returns a 400 once an earlier turn changes. The agents
rebuild earlier turns on every step, so an API-key run failed on its
third step. The Anthropic loader now leaves stored thinking blocks out
for the models that bind them (Fable 5.2 and 5.1, Opus 5.5, Sonnet 5.5,
Haiku 5.5).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@RasulOs

RasulOs commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

Reviewed commit: dcd0c540ed

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@RasulOs RasulOs closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant