From 4258e4ea336410b2405611203ff7793476f96557 Mon Sep 17 00:00:00 2001 From: jay77721 <164177721+jay77721@users.noreply.github.com> Date: Wed, 29 Jul 2026 19:05:38 +0800 Subject: [PATCH] Fix: add StepFun china region base URL (api.stepfun.com) (#17528) ## 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 --- conf/models/stepfun.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/models/stepfun.json b/conf/models/stepfun.json index 4e0abdcea5..af7e3893e7 100644 --- a/conf/models/stepfun.json +++ b/conf/models/stepfun.json @@ -1,7 +1,8 @@ { "name": "StepFun", "url": { - "default": "https://api.stepfun.ai/v1" + "default": "https://api.stepfun.ai/v1", + "china": "https://api.stepfun.com/v1" }, "url_suffix": { "chat": "chat/completions",