Files
openclaw/extensions/byteplus/openclaw.plugin.json
2026-04-28 06:21:24 +01:00

163 lines
4.2 KiB
JSON

{
"id": "byteplus",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providerDiscoveryEntry": "./provider-discovery.ts",
"providers": ["byteplus", "byteplus-plan"],
"providerAuthEnvVars": {
"byteplus": ["BYTEPLUS_API_KEY"]
},
"providerAuthAliases": {
"byteplus-plan": "byteplus"
},
"modelCatalog": {
"providers": {
"byteplus": {
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/v3",
"api": "openai-completions",
"models": [
{
"id": "seed-1-8-251228",
"name": "Seed 1.8",
"input": ["text", "image"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "kimi-k2-5-260127",
"name": "Kimi K2.5",
"input": ["text", "image"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "glm-4-7-251222",
"name": "GLM 4.7",
"input": ["text", "image"],
"contextWindow": 200000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
},
"byteplus-plan": {
"baseUrl": "https://ark.ap-southeast.bytepluses.com/api/coding/v3",
"api": "openai-completions",
"models": [
{
"id": "ark-code-latest",
"name": "Ark Coding Plan",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "doubao-seed-code",
"name": "Doubao Seed Code",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "glm-4.7",
"name": "GLM 4.7 Coding",
"input": ["text"],
"contextWindow": 200000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "kimi-k2-thinking",
"name": "Kimi K2 Thinking",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5 Coding",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.0001,
"output": 0.0002,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"byteplus": "static",
"byteplus-plan": "static"
}
},
"providerAuthChoices": [
{
"provider": "byteplus",
"method": "api-key",
"choiceId": "byteplus-api-key",
"choiceLabel": "BytePlus API key",
"groupId": "byteplus",
"groupLabel": "BytePlus",
"groupHint": "API key",
"optionKey": "byteplusApiKey",
"cliFlag": "--byteplus-api-key",
"cliOption": "--byteplus-api-key <key>",
"cliDescription": "BytePlus API key"
}
],
"contracts": {
"videoGenerationProviders": ["byteplus"]
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}