fix(minimax): prevent double-resolve race condition and align placeholder

- Add resolved flag + safeResolve() wrapper to prevent timeout/response race
- Align apiKeyPlaceholder to YOUR_MINIMAX_API_KEY_HERE across presets
This commit is contained in:
kaitranntt committed 2026-01-02 20:06:17 -05:00
1 parent a00cf3691e
commit a59ad0e8c6
3 files changed
+14 -7

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ export const PROVIDER_PRESETS: ProviderPreset[] = [
baseUrl: 'https://api.minimax.io/anthropic',
defaultProfileName: 'mm',
defaultModel: 'MiniMax-M2.1',
apiKeyPlaceholder: 'YOUR_MINIMAX_API_KEY',
apiKeyPlaceholder: 'YOUR_MINIMAX_API_KEY_HERE',
apiKeyHint: 'Get your API key at platform.minimax.io',
category: 'alternative',
},