mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:20:43 +00:00
149 lines
4.2 KiB
JSON
149 lines
4.2 KiB
JSON
{
|
|
"id": "stepfun",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["stepfun", "stepfun-plan"],
|
|
"autoEnableWhenConfiguredProviders": ["stepfun", "stepfun-plan"],
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "stepfun",
|
|
"authMethods": ["api-key"],
|
|
"envVars": ["STEPFUN_API_KEY"]
|
|
},
|
|
{
|
|
"id": "stepfun-plan",
|
|
"authMethods": ["api-key"],
|
|
"envVars": ["STEPFUN_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"stepfun": {
|
|
"baseUrl": "https://api.stepfun.ai/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "step-3.5-flash",
|
|
"name": "Step 3.5 Flash",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"stepfun-plan": {
|
|
"baseUrl": "https://api.stepfun.ai/step_plan/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "step-3.5-flash",
|
|
"name": "Step 3.5 Flash",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "step-3.5-flash-2603",
|
|
"name": "Step 3.5 Flash 2603",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"stepfun": "static",
|
|
"stepfun-plan": "static"
|
|
}
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "stepfun",
|
|
"method": "standard-api-key-cn",
|
|
"choiceId": "stepfun-standard-api-key-cn",
|
|
"choiceLabel": "StepFun Standard API key (China)",
|
|
"choiceHint": "Endpoint: api.stepfun.com/v1",
|
|
"groupId": "stepfun",
|
|
"groupLabel": "StepFun",
|
|
"groupHint": "Standard / Step Plan (China / Global)",
|
|
"optionKey": "stepfunApiKey",
|
|
"cliFlag": "--stepfun-api-key",
|
|
"cliOption": "--stepfun-api-key <key>",
|
|
"cliDescription": "StepFun API key"
|
|
},
|
|
{
|
|
"provider": "stepfun",
|
|
"method": "standard-api-key-intl",
|
|
"choiceId": "stepfun-standard-api-key-intl",
|
|
"choiceLabel": "StepFun Standard API key (Global/Intl)",
|
|
"choiceHint": "Endpoint: api.stepfun.ai/v1",
|
|
"groupId": "stepfun",
|
|
"groupLabel": "StepFun",
|
|
"groupHint": "Standard / Step Plan (China / Global)",
|
|
"optionKey": "stepfunApiKey",
|
|
"cliFlag": "--stepfun-api-key",
|
|
"cliOption": "--stepfun-api-key <key>",
|
|
"cliDescription": "StepFun API key"
|
|
},
|
|
{
|
|
"provider": "stepfun-plan",
|
|
"method": "plan-api-key-cn",
|
|
"choiceId": "stepfun-plan-api-key-cn",
|
|
"choiceLabel": "StepFun Step Plan API key (China)",
|
|
"choiceHint": "Endpoint: api.stepfun.com/step_plan/v1",
|
|
"groupId": "stepfun",
|
|
"groupLabel": "StepFun",
|
|
"groupHint": "Standard / Step Plan (China / Global)",
|
|
"optionKey": "stepfunApiKey",
|
|
"cliFlag": "--stepfun-api-key",
|
|
"cliOption": "--stepfun-api-key <key>",
|
|
"cliDescription": "StepFun API key"
|
|
},
|
|
{
|
|
"provider": "stepfun-plan",
|
|
"method": "plan-api-key-intl",
|
|
"choiceId": "stepfun-plan-api-key-intl",
|
|
"choiceLabel": "StepFun Step Plan API key (Global/Intl)",
|
|
"choiceHint": "Endpoint: api.stepfun.ai/step_plan/v1",
|
|
"groupId": "stepfun",
|
|
"groupLabel": "StepFun",
|
|
"groupHint": "Standard / Step Plan (China / Global)",
|
|
"optionKey": "stepfunApiKey",
|
|
"cliFlag": "--stepfun-api-key",
|
|
"cliOption": "--stepfun-api-key <key>",
|
|
"cliDescription": "StepFun API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|