You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/09/27 04:00:03 UTC

(maka) branch main updated: fix(core): add MiniMax-M2.7 to regional fallback lists (#5426)

This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maka.git


The following commit(s) were added to refs/heads/main by this push:
     new d89ccce01a fix(core): add MiniMax-M2.7 to regional fallback lists (#5426)
d89ccce01a is described below

commit d89ccce01ab631d63de2a8986fc76a1960af8dc2
Author: Octopus <je...@gmail.com>
AuthorDate: Sun Sep 27 11:59:58 2026 +0800

    fix(core): add MiniMax-M2.7 to regional fallback lists (#5426)
    
    MiniMax's global and China regional fallback model lists did not include
    MiniMax-M2.7, so it could not be used as a fallback even though the model
    catalog already knows it. Add it to both lists; MiniMax-M3 stays the default.
    
    Generated-by: Codex
---
 packages/core/src/provider-registry.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/core/src/provider-registry.ts b/packages/core/src/provider-registry.ts
index 4efff54eb2..41441941ac 100644
--- a/packages/core/src/provider-registry.ts
+++ b/packages/core/src/provider-registry.ts
@@ -941,7 +941,7 @@ const providerRegistry = {
     label: 'MiniMax',
     baseUrl: 'https://api.minimax.io/anthropic/v1',
     authKind: 'api_key',
-    fallbackModels: ['MiniMax-M3'],
+    fallbackModels: ['MiniMax-M3', 'MiniMax-M2.7'],
     status: 'ready',
     runtimeAdapter: { kind: 'anthropic', auth: 'bearer', normalizeBaseUrl: false },
     modelDiscovery: { kind: 'protocol' },
@@ -954,7 +954,7 @@ const providerRegistry = {
     label: 'MiniMax 中国站',
     baseUrl: 'https://api.minimaxi.com/anthropic/v1',
     authKind: 'api_key',
-    fallbackModels: ['MiniMax-M3'],
+    fallbackModels: ['MiniMax-M3', 'MiniMax-M2.7'],
     status: 'ready',
     runtimeAdapter: { kind: 'anthropic', auth: 'bearer', normalizeBaseUrl: false },
     modelDiscovery: { kind: 'protocol' },


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org