Repository navigation
Description
What
Register minimax-m3.1-flash in the SDK's verified-model tables so it is offered by self-hosted deployments and through the openhands/ provider allowlist.
Desired Behavior
The SDK's verified-model tables include minimax-m3.1-flash so that:
- it appears in the curated provider/model pickers, and
- the
openhands/minimax-m3.1-flashroute resolves to a verified entry.
Acceptance Criteria
-
minimax-m3.1-flashis present inVERIFIED_MINIMAX_MODELS. -
minimax-m3.1-flashis present inVERIFIED_OPENHANDS_MODELS. - Existing
minimax-m3andminimax-m2.7entries are retained.
minimax-m3.1-flash is a flash variant of the kept MiniMax M3 line.
This issue was created by an AI agent (OpenHands) on behalf of the requester.
OpenHands AI triage
The following comments and acceptance criteria were added by the OpenHands AI agent.
Triage
The authoritative mechanism already exists and is the only place this belongs: openhands-sdk/openhands/sdk/llm/utils/verified_models.py. It feeds both GET /api/llm/models/verified (via VERIFIED_MODELS) and the openhands/ allowlist used by openhands.sdk.llm.utils.openhands_provider._is_verified_openhands_model_name, so registering the id there satisfies both halves of the requested behavior with no new plumbing. This matches the merged precedent for the same shape of request (deepseek-v4.1-flash, issue #4941 / PR #4940), including keeping the older entries in the line.
The curation rule in the module docstring and openhands-sdk/openhands/sdk/llm/utils/AGENTS.md resolves the only apparent ambiguity: for each model line keep the two latest versions, and variants of a kept version (-flash, -pro, -mini, -codex) stay with that version. minimax-m3.1-flash is a -flash variant of the kept minimax-m3 line, so it is added alongside minimax-m3 and minimax-m2.7 is retained; nothing is removed. No design question remains open, so ready-for-dev stays.
Bounded scope: add the id to VERIFIED_MINIMAX_MODELS and VERIFIED_OPENHANDS_MODELS, and update the curation comments in that module so they still describe the kept versions.
Explicit non-goals:
- Do not add
minimax/minimax-m3.1-flashtoVERIFIED_OPENROUTER_MODELSorVERIFIED_DIGITALOCEAN_MODELS, or touch the unverified catalog (unverified_models.py); the issue requests the MiniMax provider list and theopenhands/list only. - Do not change capability tables in
model_features.py(e.g.SEND_REASONING_CONTENT_MODELS,FORCE_STRING_SERIALIZER_MODELS) without demonstrated behavior that differs fromminimax-m3. - No change to the
litellmpin, the TypeScript client, or Agent Canvas; those layers consume the curated list as-is.
Acceptance Criteria
-
minimax-m3.1-flashis a member ofVERIFIED_MINIMAX_MODELS. -
minimax-m3.1-flashis a member ofVERIFIED_OPENHANDS_MODELS. -
minimax-m3andminimax-m2.7remain members of bothVERIFIED_MINIMAX_MODELSandVERIFIED_OPENHANDS_MODELS. - The per-provider curation comments above the affected lists describe the versions actually kept, so they still state the two-latest-versions rule accurately.
-
GET /api/llm/models/verifiedreturns a non-emptyminimaxgroup containingminimax-m3,minimax-m2.7, andminimax-m3.1-flashwith no duplicates, andminimax-m3.1-flashappears in theopenhandsgroup. - Canonicalization resolves the route: a payload with
model="litellm_proxy/minimax-m3.1-flash"and the OpenHands proxybase_urlbecomesmodel="openhands/minimax-m3.1-flash"withbase_urlremoved, andopenhands/minimax-m3.1-flashis recognized as a verified OpenHands model name. -
uv run pytest tests/sdk/llm/test_model_list.py tests/agent_server/test_llm_router.pypasses on the change, including the two-latest-versions curation check forminimax.
Activity
abhi-bhavsar commentedon Oct 20, 2026
Hi maintainers! I’d like to work on this issue. I'm picking it up now.