From 90812e7f3a486cb92b69c8a352e62cc042df4582 Mon Sep 17 00:00:00 2001 From: Sky Date: Wed, 25 Mar 2026 21:22:05 +0800 Subject: [PATCH] feat(opencode): add StepFun Step Plan provider preset (#1668) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add StepFun Step Plan (阶跃星辰编程计划) as an OpenCode provider preset. StepFun Step Plan is a subscription-based coding AI service that uses a dedicated API endpoint separate from the standard StepFun provider. - Base URL: https://api.stepfun.com/step_plan/v1 - Model: step-3.5-flash (196B MoE, optimized for agent and coding tasks) - Category: cn_official - Supports tool_call, reasoning, temperature control Ref: https://platform.stepfun.com/docs/zh/step-plan/overview Made-with: Cursor Co-authored-by: sky-wang-salvation --- src/config/opencodeProviderPresets.ts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/config/opencodeProviderPresets.ts b/src/config/opencodeProviderPresets.ts index 1882010b9..f88804a6a 100644 --- a/src/config/opencodeProviderPresets.ts +++ b/src/config/opencodeProviderPresets.ts @@ -514,6 +514,33 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [ }, }, }, + { + name: "StepFun Step Plan", + websiteUrl: "https://platform.stepfun.com/docs/zh/step-plan/overview", + apiKeyUrl: "https://platform.stepfun.com/interface-key", + settingsConfig: { + npm: "@ai-sdk/openai-compatible", + name: "StepFun Step Plan", + options: { + baseURL: "https://api.stepfun.com/step_plan/v1", + apiKey: "", + setCacheKey: true, + }, + models: { + "step-3.5-flash": { name: "Step 3.5 Flash" }, + }, + }, + category: "cn_official", + icon: "stepfun", + iconColor: "#005AFF", + templateValues: { + apiKey: { + label: "API Key", + placeholder: "step-...", + editorValue: "", + }, + }, + }, { name: "ModelScope", websiteUrl: "https://modelscope.cn",