mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 11:43:57 +08:00
Add StepFun and StepFun en Step Plan presets (#2155)
* Add StepFun CN and EN presets * Add StepFun 2603 model presets * Make StepFun 2603 the default model * Revert StepFun branding assets
This commit is contained in:
@@ -234,23 +234,41 @@ export const providerPresets: ProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "StepFun",
|
||||
websiteUrl: "https://platform.stepfun.ai",
|
||||
apiKeyUrl: "https://platform.stepfun.ai/interface-key",
|
||||
websiteUrl: "https://platform.stepfun.com/step-plan",
|
||||
apiKeyUrl: "https://platform.stepfun.com/interface-key",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.stepfun.ai/v1",
|
||||
ANTHROPIC_BASE_URL: "https://api.stepfun.com/step_plan",
|
||||
ANTHROPIC_AUTH_TOKEN: "",
|
||||
ANTHROPIC_MODEL: "step-3.5-flash",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "step-3.5-flash",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "step-3.5-flash",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "step-3.5-flash",
|
||||
ANTHROPIC_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "step-3.5-flash-2603",
|
||||
},
|
||||
},
|
||||
category: "cn_official",
|
||||
endpointCandidates: ["https://api.stepfun.ai/v1"],
|
||||
apiFormat: "openai_chat",
|
||||
endpointCandidates: ["https://api.stepfun.com/step_plan"],
|
||||
icon: "stepfun",
|
||||
iconColor: "#005AFF",
|
||||
iconColor: "#16D6D2",
|
||||
},
|
||||
{
|
||||
name: "StepFun en",
|
||||
websiteUrl: "https://platform.stepfun.ai/step-plan",
|
||||
apiKeyUrl: "https://platform.stepfun.ai/interface-key",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.stepfun.ai/step_plan",
|
||||
ANTHROPIC_AUTH_TOKEN: "",
|
||||
ANTHROPIC_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_HAIKU_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_SONNET_MODEL: "step-3.5-flash-2603",
|
||||
ANTHROPIC_DEFAULT_OPUS_MODEL: "step-3.5-flash-2603",
|
||||
},
|
||||
},
|
||||
category: "cn_official",
|
||||
endpointCandidates: ["https://api.stepfun.ai/step_plan"],
|
||||
icon: "stepfun",
|
||||
iconColor: "#16D6D2",
|
||||
},
|
||||
{
|
||||
name: "ModelScope",
|
||||
|
||||
Reference in New Issue
Block a user