Skip to content

Add MiniMax regional API presets - #78

Open
octo-patch wants to merge 1 commit into
GreenSheep01201:mainfrom
octo-patch:octo/20260801-provider-add-recvqczFJoJA1g
Open

Add MiniMax regional API presets#78
octo-patch wants to merge 1 commit into
GreenSheep01201:mainfrom
octo-patch:octo/20260801-provider-add-recvqczFJoJA1g

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add direct MiniMax API presets for current models and regional endpoints.

Changes:

  • Add global and China presets for both compatible API protocols.
  • Seed MiniMax-M3 and MiniMax-M2.7 as the fallback models for each preset.
  • Add route coverage for the regional endpoints and model defaults.

Checks:

  • git diff --check origin/main...HEAD

@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: 1c3a18f8dd

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

label: "MiniMax Global (Anthropic)",
description: "MiniMax Global API preset using the Anthropic-compatible protocol.",
type: "anthropic",
base_url: "https://api.minimax.io/anthropic",

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 Route MiniMax Anthropic model discovery through /v1

When users choose either MiniMax Anthropic preset and click Test or force-refresh models, the routes call buildModelsUrl(), which currently concatenates the preset base with /models; with this base that becomes https://api.minimax.io/anthropic/models instead of MiniMax's Anthropic-compatible model-list endpoint under /anthropic/v1/models. Generation still works because the runner inserts /v1/messages, but model discovery/test fails for the new Anthropic presets unless the stored base includes /v1 internally or buildModelsUrl() adds it for Anthropic bases.

Useful? React with 👍 / 👎.

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