feat: add minimax-api-key-cn option for China API endpoint

- Add 'minimax-api-key-cn' auth choice for Chinese users
- Reuse existing --minimax-api-key CLI option
- Use MINIMAX_CN_API_BASE_URL (https://api.minimaxi.com/anthropic)
- Similar to how moonshot supports moonshot-api-key-cn

Tested: build , check , test 
This commit is contained in:
Liu Yuan
2026-02-13 09:32:12 +08:00
committed by Peter Steinberger
parent 586176730c
commit 9bb099736b
5 changed files with 87 additions and 5 deletions

View File

@@ -37,6 +37,7 @@ export type AuthChoice =
| "minimax-cloud"
| "minimax"
| "minimax-api"
| "minimax-api-key-cn"
| "minimax-api-lightning"
| "minimax-portal"
| "opencode-zen"