mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-23 15:18:09 +00:00
Resolve bundled Fireworks manifest models through core's static catalog so Kimi K2.6 keeps its 262,144-token context limit and nested model compatibility metadata. Keep the existing dynamic fallback for uncataloged Fireworks IDs and align bundled Kimi reasoning metadata with existing runtime behavior. Verified with focused tests, extension/core type checks, lint/format, full build, fresh autoreview, required CI, and a live Fireworks Kimi K2.6 embedded run using a real key. Co-authored-by: Evgeni Obuchowski <evgeni@obukhovski.com>
81 lines
2.0 KiB
JSON
81 lines
2.0 KiB
JSON
{
|
|
"id": "fireworks",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["fireworks"],
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "fireworks",
|
|
"envVars": ["FIREWORKS_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "fireworks",
|
|
"method": "api-key",
|
|
"choiceId": "fireworks-api-key",
|
|
"choiceLabel": "Fireworks API key",
|
|
"groupId": "fireworks",
|
|
"groupLabel": "Fireworks",
|
|
"groupHint": "API key",
|
|
"optionKey": "fireworksApiKey",
|
|
"cliFlag": "--fireworks-api-key",
|
|
"cliOption": "--fireworks-api-key <key>",
|
|
"cliDescription": "Fireworks API key"
|
|
}
|
|
],
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"fireworks": {
|
|
"baseUrl": "https://api.fireworks.ai/inference/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "accounts/fireworks/models/kimi-k2p6",
|
|
"name": "Kimi K2.6",
|
|
"reasoning": false,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 262144,
|
|
"cost": {
|
|
"input": 0.95,
|
|
"output": 4,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "accounts/fireworks/routers/kimi-k2p5-turbo",
|
|
"name": "Kimi K2.5 Turbo (Fire Pass)",
|
|
"reasoning": false,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 256000,
|
|
"compat": {
|
|
"unsupportedToolSchemaKeywords": ["not"]
|
|
},
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"fireworks": "static"
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|