Skip to content

Add MiniMax provider#40

Open
octo-patch wants to merge 2 commits into
e2b-dev:masterfrom
octo-patch:octo/20260707-add-minimax-m3-recvoGXG3q7gpJ
Open

Add MiniMax provider#40
octo-patch wants to merge 2 commits into
e2b-dev:masterfrom
octo-patch:octo/20260707-add-minimax-m3-recvoGXG3q7gpJ

Conversation

@octo-patch

@octo-patch octo-patch commented Jul 9, 2026

Copy link
Copy Markdown

Reason: add MiniMax-M3 and MiniMax-M2.7 to the provider/model registry.

Summary

  • Added both target model aliases to the MiniMax provider registry.
  • Added compatible API providers with global defaults and optional China endpoints.
  • Fixed image payload encoding for the compatible message client.
  • Documented provider selection and added offline endpoint/payload tests.

Checks

  • python -m unittest tests/test_minimax_provider.py
  • python -m compileall -q os_computer_use tests/test_minimax_provider.py
  • uvx --from poetry==2.1.3 poetry check
  • git diff --check

Expose MiniMax-M3 through the existing OpenAI-compatible provider registry so users can select it with a MiniMax API key.
@cla-bot

cla-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @octo-patch on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'

@cla-bot

cla-bot Bot commented Jul 12, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @octo-patch on file. You can sign our CLA at https://e2b.dev/docs/cla . Once you've signed, post a comment here that says '@cla-bot check'

@octo-patch

Copy link
Copy Markdown
Author

Updated this PR to register MiniMax-M3 and MiniMax-M2.7 across both compatible API paths, with selectable global and China endpoints. I added offline request-path and image-payload coverage and ran the focused unit tests, compile checks, Poetry validation, and diff checks.

@octo-patch

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Jul 14, 2026
@cla-bot

cla-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant