mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-29 09:37:37 +08:00
Add AtlasCloud partner provider presets
This commit is contained in:
@@ -1264,6 +1264,34 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "AtlasCloud",
|
||||
websiteUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
apiKeyUrl: "https://www.atlascloud.ai/console/coding-plan",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "AtlasCloud",
|
||||
options: {
|
||||
baseURL: "https://api.atlascloud.ai/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
models: {
|
||||
"zai-org/glm-5.1": { name: "GLM 5.1" },
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "atlascloud",
|
||||
icon: "atlascloud",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Cubence",
|
||||
websiteUrl: "https://cubence.com",
|
||||
|
||||
Reference in New Issue
Block a user