Skip to content

Add MiniMax provider configuration - #10

Open
octo-patch wants to merge 1 commit into
anbeime:mainfrom
octo-patch:octo/20260802-provider-add-recvqjzKEt9V28
Open

Add MiniMax provider configuration#10
octo-patch wants to merge 1 commit into
anbeime:mainfrom
octo-patch:octo/20260802-provider-add-recvqjzKEt9V28

Conversation

@octo-patch

Copy link
Copy Markdown

Reason: Add a configurable MiniMax provider with the current text models and regional endpoints.

  • Added a shared MiniMax chat helper with the current text model metadata and global/CN OpenAI-compatible endpoints.
  • Switched the three Xiaoyue server entry points to the MiniMax chat helper and health reporting.
  • Updated the main browser status text and the sample environment file for MiniMax configuration.

Checks:

  • node --check projects/xiaoyue-web/lib/minimax-chat.js
  • node --check projects/xiaoyue-web/server.js
  • node --check projects/xiaoyue-web/server-with-openclaw.js
  • node --check projects/xiaoyue-web/server-openclaw.js
  • npm ci --ignore-scripts
  • MINIMAX_REGION=cn_zh MINIMAX_MODEL=MiniMax-M2.7 MINIMAX_API_KEY=test-key node - <<'NODE'
    const { resolveMiniMaxConfig } = require('./lib/minimax-chat');
    const config = resolveMiniMaxConfig();
    console.log(JSON.stringify({
    provider: config.providerName,
    region: config.region,
    base: config.apiBaseUrl,
    model: config.modelId,
    models: config.modelIds,
    }, null, 2));
    NODE

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the zw7000727-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

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