-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Description
Bug Description
When using MiniMax with the China mainland (platform.minimaxi.com) region selected, the "Open Coding Plan" button still opens the global URL (platform.minimax.io) instead of the CN domain.
This happens in two places:
- API token settings - "Open Coding Plan" button
- Cookie settings - "Open Coding Plan" button
Both buttons are hardcoded to open:
https://platform.minimax.io/user-center/payment/coding-plan?cycle_type=3
Fix
Change both buttons to use the region-aware URL that already exists in MiniMaxAPIRegion.codingPlanURL:
// Before (hardcoded):
if let url = URL(string: "https://platform.minimax.io/user-center/payment/coding-plan?cycle_type=3") {
NSWorkspace.shared.open(url)
}
// After (region-aware):
NSWorkspace.shared.open(context.settings.minimaxAPIRegion.codingPlanURL)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels