feat(xiaomi-tokenplan): add Claude-native MiMo V2.5 Pro alias via dedicated executor

Add mimo-v2.5-pro-claude alias routing to the Xiaomi TokenPlan Anthropic-compatible
/anthropic/v1/messages endpoint. Logic lives in a dedicated XiaomiTokenplanExecutor
(config-driven via targetFormat) instead of the shared DefaultExecutor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Mr_NoboDy
2026-06-06 10:36:03 +07:00
committed by decolua
co-authored by Cursor
parent 3dda651bad
commit 40cfa63eb8
5 changed files with 29 additions and 8 deletions
+1
View File
@@ -549,6 +549,7 @@ export const PROVIDER_MODELS = {
],
"xiaomi-tokenplan": [
{ id: "mimo-v2.5-pro", name: "MiMo V2.5 Pro" },
{ id: "mimo-v2.5-pro-claude", name: "MiMo V2.5 Pro (Claude Native)", targetFormat: "claude", upstreamModelId: "mimo-v2.5-pro" },
{ id: "mimo-v2.5", name: "MiMo V2.5" },
{ id: "mimo-v2-pro", name: "MiMo V2 Pro" },
{ id: "mimo-v2-omni", name: "MiMo V2 Omni" },