feat: declare stepfun model catalogs

This commit is contained in:
Shakker
2026-04-28 04:38:20 +01:00
parent b3dce79af1
commit c242f0c35f
2 changed files with 73 additions and 44 deletions

View File

@@ -6,6 +6,68 @@
"enabledByDefault": true,
"providers": ["stepfun", "stepfun-plan"],
"autoEnableWhenConfiguredProviders": ["stepfun", "stepfun-plan"],
"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"
}
},
"providerAuthEnvVars": {
"stepfun": ["STEPFUN_API_KEY"],
"stepfun-plan": ["STEPFUN_API_KEY"]