Skip to content

feat: add MiniMax M3 provider#1540

Open
Octopus (octo-patch) wants to merge 3 commits into
browseros-ai:mainfrom
octo-patch:octo/minimax-m3-provider
Open

feat: add MiniMax M3 provider#1540
Octopus (octo-patch) wants to merge 3 commits into
browseros-ai:mainfrom
octo-patch:octo/minimax-m3-provider

Conversation

@octo-patch

@octo-patch Octopus (octo-patch) commented Jul 3, 2026

Copy link
Copy Markdown

Summary

Add MiniMax as an LLM provider option, defaulting to MiniMax-M3 on the international OpenAI-compatible endpoint while supporting editable OpenAI-compatible and Anthropic-compatible endpoints.

Changes

  • Register minimax across the shared schema, provider UI, and server factories
  • Add MiniMax-M3 and MiniMax-M2.7 with their current context windows and supported capabilities
  • Support the global and China OpenAI-compatible and Anthropic-compatible endpoints through the editable base URL
  • Route /anthropic base URLs through the Anthropic SDK while keeping the documented base URL unchanged
  • Link the official API overview from the provider form
  • Add unit coverage for provider creation, templates, the model catalog, and endpoint request routing

Testing

  • bun test apps/app/screens/ai-settings/models.test.ts apps/app/lib/llm-providers/providerTemplates.test.ts apps/server/tests/lib/clients/llm/provider.test.ts
  • bun test scripts/generate-models.test.ts
  • bun run --filter @browseros/app test
  • bun run --filter @browseros/server test:lib
  • bun run --filter @browseros/server test:agent
  • bun run check

@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. Thank you!
Posted by the CLA Assistant Lite bot.

@octo-patch

Copy link
Copy Markdown
Author

#1540

@octo-patch

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@octo-patch

Copy link
Copy Markdown
Author

Updated the MiniMax adapter to route /anthropic base URLs through the Anthropic SDK while preserving /anthropic as the user-facing base URL. I added request-capture coverage for the global and China OpenAI-compatible and Anthropic-compatible endpoints, and ran the app, server lib, server agent, model generation, and root check suites.

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