Skip to content

feat: register minimax-m3.1-flash as a verified model #6102

Closed

Description

@juanmichelini

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-flash route resolves to a verified entry.

Acceptance Criteria

  • minimax-m3.1-flash is present in VERIFIED_MINIMAX_MODELS.
  • minimax-m3.1-flash is present in VERIFIED_OPENHANDS_MODELS.
  • Existing minimax-m3 and minimax-m2.7 entries 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-flash to VERIFIED_OPENROUTER_MODELS or VERIFIED_DIGITALOCEAN_MODELS, or touch the unverified catalog (unverified_models.py); the issue requests the MiniMax provider list and the openhands/ 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 from minimax-m3.
  • No change to the litellm pin, the TypeScript client, or Agent Canvas; those layers consume the curated list as-is.

Acceptance Criteria

  • minimax-m3.1-flash is a member of VERIFIED_MINIMAX_MODELS.
  • minimax-m3.1-flash is a member of VERIFIED_OPENHANDS_MODELS.
  • minimax-m3 and minimax-m2.7 remain members of both VERIFIED_MINIMAX_MODELS and VERIFIED_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/verified returns a non-empty minimax group containing minimax-m3, minimax-m2.7, and minimax-m3.1-flash with no duplicates, and minimax-m3.1-flash appears in the openhands group.
  • Canonicalization resolves the route: a payload with model="litellm_proxy/minimax-m3.1-flash" and the OpenHands proxy base_url becomes model="openhands/minimax-m3.1-flash" with base_url removed, and openhands/minimax-m3.1-flash is recognized as a verified OpenHands model name.
  • uv run pytest tests/sdk/llm/test_model_list.py tests/agent_server/test_llm_router.py passes on the change, including the two-latest-versions curation check for minimax.

Activity

  1. added
    ready-for-dev
    on Oct 19, 2026
  2. abhi-bhavsar commented on Oct 20, 2026

    @abhi-bhavsar

    Hi maintainers! I’d like to work on this issue. I'm picking it up now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-dev

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions