Skip to content

feat(minimax): expose global OpenAI-compatible endpoint and M3 vision capability - #614

Open
octo-patch wants to merge 1 commit into
Cmochance:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqd4mnXR35Q
Open

feat(minimax): expose global OpenAI-compatible endpoint and M3 vision capability#614
octo-patch wants to merge 1 commit into
Cmochance:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqd4mnXR35Q

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: parameter-refresh — MiniMax preset exposes only the China OpenAI-compatible endpoint and lacks explicit M3 input-capability metadata.

Changes

  • Add the global OpenAI-compatible endpoint https://api.minimax.io/v1 to the MiniMax builtin preset baseUrlOptions, alongside the existing China endpoint https://api.minimaxi.com/v1 (China stays the default baseUrl).
  • Mark supports_vision: true on MiniMax-M3 (accepts text/image/video input) and supports_vision: false on the text-only MiniMax-M2.7 in modelCapabilities, so the adapter's vision gate routes image input correctly per model.
  • Add a notice documenting the global/China endpoint choice and the M3 image/video input capability.
  • Regenerate the builtin_presets.json fixture from the updated preset source so the byte-identical round-trip contract stays green.

Checks

  • cargo fmt --all -- --check
  • cargo run -p xtask --release -- gen-fixtures + git diff --exit-code -- tests/replay/fixtures/registry/
  • cargo test -p codex-app-transfer-registry (lib + integration / golden round-trip)
  • cargo test -p codex-app-transfer-adapters --lib (vision + MiniMax sanitize/M3 suites)

The adapter already supports an Anthropic-compatible path via anthropic_messages and an M3 thinking wire (thinking:{type:disabled|adaptive}), so no routing change is required; this change only refreshes the preset's endpoint and capability metadata.

… capability

Add the global api.minimax.io/v1 OpenAI-compatible endpoint alongside the
existing China api.minimaxi.com/v1 endpoint as baseUrlOptions (China stays
the default baseUrl). MiniMax-M3 accepts text/image/video input, so mark
supports_vision=true on M3 and supports_vision=false on the text-only M2.7.
The preset data source and regenerated builtin_presets fixture are kept in
sync, and the preset test anchors the new endpoint and capability metadata.
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