mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-30 20:49:21 +08:00
## Summary - StepFun serves domestic (China) and international markets from different domains. - Add a `china` region URL (`api.stepfun.com`) alongside the existing `default` (`api.stepfun.ai`) so tenants in China can route correctly. ## Change - `conf/models/stepfun.json`: add `"china": "https://api.stepfun.com/v1"` to the `url` map. ## Why - Chinese AI/LLM providers commonly maintain separate URLs for domestic vs. international markets. Keeping both options available matches the existing pattern used by other providers (e.g. GiteeAI). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
150 lines
2.4 KiB
JSON
150 lines
2.4 KiB
JSON
{
|
|
"name": "StepFun",
|
|
"url": {
|
|
"default": "https://api.stepfun.ai/v1",
|
|
"china": "https://api.stepfun.com/v1"
|
|
},
|
|
"url_suffix": {
|
|
"chat": "chat/completions",
|
|
"models": "models",
|
|
"tts": "audio/speech"
|
|
},
|
|
"class": "step",
|
|
"models": [
|
|
{
|
|
"name": "step-3.5-flash",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-3.5-flash-paid",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-2-16k",
|
|
"max_tokens": 16384,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1-256k",
|
|
"max_tokens": 262144,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1-128k",
|
|
"max_tokens": 131072,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1-32k",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1-8k",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1-flash",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"chat"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1v-32k",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1v-8k",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-1o-vision-32k",
|
|
"max_tokens": 32768,
|
|
"model_types": [
|
|
"chat",
|
|
"vision"
|
|
],
|
|
"tools": {
|
|
"support": true
|
|
}
|
|
},
|
|
{
|
|
"name": "step-tts-2",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"tts"
|
|
]
|
|
},
|
|
{
|
|
"name": "stepaudio-2.5-tts",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"tts"
|
|
]
|
|
},
|
|
{
|
|
"name": "step-tts-mini",
|
|
"max_tokens": 8192,
|
|
"model_types": [
|
|
"tts"
|
|
]
|
|
}
|
|
]
|
|
}
|