fix(config): update StepFun API endpoint domain from .ai to .com

This commit is contained in:
YoVinchen
2026-04-01 16:45:59 +08:00
parent 72f3610ac0
commit 60e0263cc0
3 changed files with 8 additions and 8 deletions
+3 -3
View File
@@ -489,7 +489,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
npm: "@ai-sdk/openai-compatible",
name: "StepFun",
options: {
baseURL: "https://api.stepfun.ai/v1",
baseURL: "https://api.stepfun.com/v1",
apiKey: "",
setCacheKey: true,
},
@@ -503,8 +503,8 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
templateValues: {
baseURL: {
label: "Base URL",
placeholder: "https://api.stepfun.ai/v1",
defaultValue: "https://api.stepfun.ai/v1",
placeholder: "https://api.stepfun.com/v1",
defaultValue: "https://api.stepfun.com/v1",
editorValue: "",
},
apiKey: {