mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 12:44:18 +08:00
feat: add E-FlowCode provider preset across all five apps
Multi-protocol provider: Anthropic for Claude, OpenAI Responses for Codex/OpenClaw, OpenAI for OpenCode, custom Gemini config. Includes PNG icon via URL import and provider-specific settings like effortLevel, enabledPlugins, and custom TOML config for Codex.
This commit is contained in:
@@ -1376,6 +1376,36 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "E-FlowCode",
|
||||
websiteUrl: "https://e-flowcode.cc",
|
||||
apiKeyUrl: "https://e-flowcode.cc",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai",
|
||||
options: {
|
||||
apiKey: "",
|
||||
baseURL: "https://e-flowcode.cc/v1",
|
||||
},
|
||||
models: {
|
||||
"gpt-5.2-codex": {
|
||||
name: "gpt-5.2-codex",
|
||||
},
|
||||
"gpt-5.3-codex": {
|
||||
name: "gpt-5.3-codex",
|
||||
},
|
||||
},
|
||||
},
|
||||
category: "third_party",
|
||||
icon: "eflowcode",
|
||||
iconColor: "#000000",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "sk-...",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AWS Bedrock",
|
||||
websiteUrl: "https://aws.amazon.com/bedrock/",
|
||||
|
||||
Reference in New Issue
Block a user