mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
89 lines
2.1 KiB
JSON
89 lines
2.1 KiB
JSON
{
|
|
"id": "xiaomi",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["xiaomi"],
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"xiaomi": {
|
|
"baseUrl": "https://api.xiaomimimo.com/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "mimo-v2-flash",
|
|
"name": "Xiaomi MiMo V2 Flash",
|
|
"input": ["text"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mimo-v2-pro",
|
|
"name": "Xiaomi MiMo V2 Pro",
|
|
"input": ["text"],
|
|
"reasoning": true,
|
|
"contextWindow": 1048576,
|
|
"maxTokens": 32000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mimo-v2-omni",
|
|
"name": "Xiaomi MiMo V2 Omni",
|
|
"input": ["text", "image"],
|
|
"reasoning": true,
|
|
"contextWindow": 262144,
|
|
"maxTokens": 32000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"xiaomi": "static"
|
|
}
|
|
},
|
|
"contracts": {
|
|
"speechProviders": ["xiaomi"]
|
|
},
|
|
"providerAuthEnvVars": {
|
|
"xiaomi": ["XIAOMI_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "xiaomi",
|
|
"method": "api-key",
|
|
"choiceId": "xiaomi-api-key",
|
|
"choiceLabel": "Xiaomi API key",
|
|
"groupId": "xiaomi",
|
|
"groupLabel": "Xiaomi",
|
|
"groupHint": "API key",
|
|
"optionKey": "xiaomiApiKey",
|
|
"cliFlag": "--xiaomi-api-key",
|
|
"cliOption": "--xiaomi-api-key <key>",
|
|
"cliDescription": "Xiaomi API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|