mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-21 10:01:37 -06:00
6aa27d6ecd
* refactor(plugin-sdk): retire embedded Pi aliases * refactor(channels): retire explicit target compatibility * refactor(plugins): retire subagent spawning hook * refactor(plugin-sdk): retire shipped channel setup exports * refactor(whatsapp): retire inbound callback aliases Proof: focused build and WhatsApp E2E green; broad WhatsApp suite 188/189 files green. extensions/whatsapp/src/monitor-inbox.policy.test.ts flakes only in the parallel batch and passes isolated (10/10). * refactor(plugin-sdk): retire memory embedding registrar Migrate every bundled provider and manifest to registerEmbeddingProvider and contracts.embeddingProviders. Preserve memory-specific batching, local-service acquisition, index identity, and auto-selection through the canonical generic registry adapter, then remove the parallel registrar, registry, diagnostics, contracts, tests, and docs. * chore(plugin-sdk): tighten retired surface budgets Pin the post-retirement public SDK surface to 144 entrypoints, 4,312 exports, 2,564 callable exports, and 1,133 deprecated exports; agent-harness-runtime now permits exactly nine deprecated exports.
180 lines
4.5 KiB
JSON
180 lines
4.5 KiB
JSON
{
|
|
"id": "mistral",
|
|
"icon": "https://cdn.simpleicons.org/mistralai",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["mistral"],
|
|
"providerEndpoints": [
|
|
{
|
|
"endpointClass": "mistral-public",
|
|
"hosts": ["api.mistral.ai"]
|
|
}
|
|
],
|
|
"providerRequest": {
|
|
"providers": {
|
|
"mistral": {
|
|
"family": "mistral"
|
|
}
|
|
}
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"mistral": {
|
|
"baseUrl": "https://api.mistral.ai/v1",
|
|
"api": "openai-completions",
|
|
"defaultModel": "mistral-large-latest",
|
|
"models": [
|
|
{
|
|
"id": "codestral-latest",
|
|
"name": "Codestral (latest)",
|
|
"input": ["text"],
|
|
"contextWindow": 128000,
|
|
"maxTokens": 4096,
|
|
"cost": {
|
|
"input": 0.3,
|
|
"output": 0.9,
|
|
"cacheRead": 0.03,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "devstral-medium-latest",
|
|
"name": "Devstral 2 (latest)",
|
|
"status": "deprecated",
|
|
"replacedBy": "mistral-medium-3-5",
|
|
"input": ["text"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 32768,
|
|
"cost": {
|
|
"input": 0.4,
|
|
"output": 2,
|
|
"cacheRead": 0.04,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mistral-large-latest",
|
|
"name": "Mistral Large 3 (latest)",
|
|
"input": ["text", "image"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 16384,
|
|
"cost": {
|
|
"input": 0.5,
|
|
"output": 1.5,
|
|
"cacheRead": 0.05,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mistral-medium-2508",
|
|
"name": "Mistral Medium 3.1",
|
|
"status": "deprecated",
|
|
"replacedBy": "mistral-medium-3-5",
|
|
"input": ["text", "image"],
|
|
"contextWindow": 128000,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0.4,
|
|
"output": 2,
|
|
"cacheRead": 0.04,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mistral-medium-3-5",
|
|
"name": "Mistral Medium 3.5",
|
|
"input": ["text", "image"],
|
|
"reasoning": true,
|
|
"contextWindow": 262144,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 1.5,
|
|
"output": 7.5,
|
|
"cacheRead": 0.15,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mistral-small-latest",
|
|
"name": "Mistral Small 4 (latest)",
|
|
"input": ["text", "image"],
|
|
"reasoning": true,
|
|
"contextWindow": 262144,
|
|
"maxTokens": 16384,
|
|
"cost": {
|
|
"input": 0.15,
|
|
"output": 0.6,
|
|
"cacheRead": 0.015,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "mistral-small-2603",
|
|
"name": "Mistral Small 4 (26.03)",
|
|
"input": ["text", "image"],
|
|
"reasoning": true,
|
|
"contextWindow": 262144,
|
|
"maxTokens": 16384,
|
|
"cost": {
|
|
"input": 0.15,
|
|
"output": 0.6,
|
|
"cacheRead": 0.015,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"mistral": "refreshable"
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "mistral",
|
|
"envVars": ["MISTRAL_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "mistral",
|
|
"method": "api-key",
|
|
"choiceId": "mistral-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Mistral API key",
|
|
"groupId": "mistral",
|
|
"groupLabel": "Mistral AI",
|
|
"groupHint": "API key",
|
|
"optionKey": "mistralApiKey",
|
|
"cliFlag": "--mistral-api-key",
|
|
"cliOption": "--mistral-api-key <key>",
|
|
"cliDescription": "Mistral API key"
|
|
}
|
|
],
|
|
"contracts": {
|
|
"embeddingProviders": ["mistral"],
|
|
"mediaUnderstandingProviders": ["mistral"],
|
|
"realtimeTranscriptionProviders": ["mistral"]
|
|
},
|
|
"mediaUnderstandingProviderMetadata": {
|
|
"mistral": {
|
|
"capabilities": ["audio"],
|
|
"defaultModels": {
|
|
"audio": "voxtral-mini-latest"
|
|
},
|
|
"autoPriority": {
|
|
"audio": 50
|
|
}
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|