Skip to content

feat(minimax): add minimax-cn-oauth provider for China-region OAuth - #36286

Closed
goingforstudying-ctrl wants to merge 0 commit into
NousResearch:mainfrom
goingforstudying-ctrl:feat/minimax-cn-oauth
Closed

feat(minimax): add minimax-cn-oauth provider for China-region OAuth#36286
goingforstudying-ctrl wants to merge 0 commit into
NousResearch:mainfrom
goingforstudying-ctrl:feat/minimax-cn-oauth

Conversation

@goingforstudying-ctrl

Copy link
Copy Markdown

Summary

Add a separate minimax-cn-oauth provider mirroring the existing minimax-oauth, but pointing at China-region endpoints.

Fixes #25542

Changes

plugins/model-providers/minimax/init.py

hermes_cli/auth.py

  • New PROVIDER_REGISTRY entry: minimax-cn-oauth
  • portal_base_url: MINIMAX_OAUTH_CN_BASE
  • inference_base_url: MINIMAX_OAUTH_CN_INFERENCE
  • auth_type: oauth_minimax

hermes_cli/models.py

  • Add minimax-cn-oauth to PROVIDER_GROUPS[minimax]
  • Add curated model list for minimax-cn-oauth: MiniMax-M3, MiniMax-M2.7, MiniMax-M2.7-highspeed

Motivation

The _minimax_oauth_login helper already accepts region=cn and swaps China URLs. But no separate minimax-cn-oauth provider was registered, so China users had no OAuth path.

Testing

  • hermes model picker should show 4 MiniMax entries including MiniMax China OAuth
  • hermes auth add minimax-cn-oauth should trigger OAuth flow

Checklist

@alt-glitch alt-glitch added type/feature New feature or request provider/minimax MiniMax (Anthropic transport) comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins area/auth Authentication, OAuth, credential pools P3 Low — cosmetic, nice to have labels Jun 1, 2026
@goingforstudying-ctrl

Copy link
Copy Markdown
Author

Hi, just checking in on this PR. It has been a few days since the last update. Please let me know if there is anything else needed from my side to move this forward. Thanks for your time.

@goingforstudying-ctrl
goingforstudying-ctrl force-pushed the feat/minimax-cn-oauth branch 22 times, most recently from 4197dcf to cc9081a Compare June 11, 2026 04:50
@goingforstudying-ctrl
goingforstudying-ctrl force-pushed the feat/minimax-cn-oauth branch 29 times, most recently from 8ac026f to 3eb9060 Compare June 16, 2026 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/auth Authentication, OAuth, credential pools comp/cli CLI entry point, hermes_cli/, setup wizard comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have provider/minimax MiniMax (Anthropic transport) type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add China-region (minimax-cn) OAuth provider — code already supports it, but not exposed

2 participants