Add AtlasCloud partner provider presets

This commit is contained in:
Jason
2026-05-29 09:46:00 +08:00
parent 9ef141902e
commit 32b30e43c0
18 changed files with 184 additions and 0 deletions
+28
View File
@@ -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",