Skip to content

Commit 93bd618

Browse files
Regenerate modelparams package for MiMo V2.5-pro
1 parent 90dfd0e commit 93bd618

4 files changed

Lines changed: 130 additions & 0 deletions

File tree

packages/modelparams/src/generated/data.ts

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13347,6 +13347,116 @@ export const CATALOG = [
1334713347
}
1334813348
]
1334913349
},
13350+
{
13351+
"provider": "xiaomi",
13352+
"authType": "api_key",
13353+
"model": "mimo-v2.5-pro",
13354+
"params": [
13355+
{
13356+
"path": "max_completion_tokens",
13357+
"label": "Max tokens",
13358+
"description": "Maximum number of tokens to generate, covering both the thinking trace and the final answer.",
13359+
"group": "generation_length",
13360+
"type": "integer",
13361+
"range": {
13362+
"min": 1
13363+
}
13364+
},
13365+
{
13366+
"path": "thinking.type",
13367+
"label": "Thinking mode",
13368+
"description": "Controls whether MiMo reasons step by step before answering. Enabled by default; set disabled to respond directly.",
13369+
"group": "reasoning",
13370+
"type": "enum",
13371+
"default": "enabled",
13372+
"values": [
13373+
"enabled",
13374+
"disabled"
13375+
]
13376+
},
13377+
{
13378+
"path": "temperature",
13379+
"label": "Temperature",
13380+
"description": "Controls randomness. Lower values are more focused; higher values are more varied. Ignored while thinking is enabled, where it is forced to 1.0.",
13381+
"group": "sampling",
13382+
"applicability": {
13383+
"except": {
13384+
"thinking.type": "enabled"
13385+
}
13386+
},
13387+
"type": "number",
13388+
"default": 1,
13389+
"range": {
13390+
"min": 0,
13391+
"max": 2,
13392+
"step": 0.1
13393+
}
13394+
},
13395+
{
13396+
"path": "top_p",
13397+
"label": "Top P",
13398+
"description": "Nucleus sampling cutoff. Ignored while thinking is enabled, where it is forced to 0.95.",
13399+
"group": "sampling",
13400+
"applicability": {
13401+
"except": {
13402+
"thinking.type": "enabled"
13403+
}
13404+
},
13405+
"type": "number",
13406+
"default": 0.95,
13407+
"range": {
13408+
"min": 0,
13409+
"max": 1,
13410+
"step": 0.01
13411+
}
13412+
},
13413+
{
13414+
"path": "presence_penalty",
13415+
"label": "Presence penalty",
13416+
"description": "Penalizes tokens that have already appeared, encouraging the model to introduce new topics.",
13417+
"group": "sampling",
13418+
"type": "number",
13419+
"default": 0,
13420+
"range": {
13421+
"min": -2,
13422+
"max": 2,
13423+
"step": 0.1
13424+
}
13425+
},
13426+
{
13427+
"path": "frequency_penalty",
13428+
"label": "Frequency penalty",
13429+
"description": "Penalizes tokens in proportion to how often they have appeared, reducing verbatim repetition.",
13430+
"group": "sampling",
13431+
"type": "number",
13432+
"default": 0,
13433+
"range": {
13434+
"min": -2,
13435+
"max": 2,
13436+
"step": 0.1
13437+
}
13438+
},
13439+
{
13440+
"path": "stop",
13441+
"label": "Stop sequences",
13442+
"description": "Up to a few sequences where generation stops; the stop text is not included in the output.",
13443+
"group": "generation_length",
13444+
"type": "string"
13445+
},
13446+
{
13447+
"path": "response_format.type",
13448+
"label": "Response format",
13449+
"description": "Forces the response into plain text or a JSON object.",
13450+
"group": "output_format",
13451+
"type": "enum",
13452+
"default": "text",
13453+
"values": [
13454+
"text",
13455+
"json_object"
13456+
]
13457+
}
13458+
]
13459+
},
1335013460
{
1335113461
"provider": "z-ai",
1335213462
"authType": "api_key",

packages/modelparams/src/generated/defaults.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,14 @@ export const DEFAULTS = {
10561056
top_p: 1,
10571057
"response_format.type": "text",
10581058
},
1059+
"xiaomi/mimo-v2.5-pro": {
1060+
"thinking.type": "enabled",
1061+
temperature: 1,
1062+
top_p: 0.95,
1063+
presence_penalty: 0,
1064+
frequency_penalty: 0,
1065+
"response_format.type": "text",
1066+
},
10591067
"z-ai/glm-4.5": {
10601068
temperature: 0.6,
10611069
top_p: 0.95,

packages/modelparams/src/generated/model-ids.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ export const MODEL_IDS = [
174174
"xai/grok-4.20-multi-agent-0309",
175175
"xai/grok-4.3",
176176
"xai/grok-build-0.1",
177+
"xiaomi/mimo-v2.5-pro",
177178
"z-ai/glm-4.5",
178179
"z-ai/glm-4.5-air",
179180
"z-ai/glm-4.5-air-subscription",
@@ -211,6 +212,7 @@ export const PROVIDERS = [
211212
"openai",
212213
"perplexity",
213214
"xai",
215+
"xiaomi",
214216
"z-ai"
215217
] as const;
216218

packages/modelparams/src/generated/params-by-id.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,16 @@ export type ParamsById = {
12981298
seed: number;
12991299
"response_format.type": "text" | "json_object" | "json_schema";
13001300
};
1301+
"xiaomi/mimo-v2.5-pro": {
1302+
max_completion_tokens: number;
1303+
"thinking.type": "enabled" | "disabled";
1304+
temperature: number;
1305+
top_p: number;
1306+
presence_penalty: number;
1307+
frequency_penalty: number;
1308+
stop: string;
1309+
"response_format.type": "text" | "json_object";
1310+
};
13011311
"z-ai/glm-4.5": {
13021312
max_tokens: number;
13031313
temperature: number;

0 commit comments

Comments
 (0)