feat: update Ucloud presets and add OpenClaw defaults for Ucloud/Micu

- Update Ucloud links to coding-plan page across READMEs
- Remove hardcoded model overrides from Claude preset
- Switch Codex model from zai-org/glm-5 to gpt-5.4
- Replace GLM-5/MiniMax models with claude-opus-4-6 in OpenClaw preset
- Add templateValues and suggestedDefaults for Ucloud and Micu OpenClaw presets
This commit is contained in:
Jason
2026-03-09 11:37:23 +08:00
parent cc15d7b1e3
commit e5838e0a10
6 changed files with 43 additions and 18 deletions
+2 -5
View File
@@ -555,15 +555,12 @@ export const providerPresets: ProviderPreset[] = [
{
name: "Ucloud",
websiteUrl: "https://www.compshare.cn",
apiKeyUrl: "https://api.modelverse.cn",
apiKeyUrl:
"https://www.compshare.cn/coding-plan?ytag=GPU_YY_YX_git_cc-switch",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://api.modelverse.cn",
ANTHROPIC_AUTH_TOKEN: "",
ANTHROPIC_MODEL: "zai-org/glm-5",
ANTHROPIC_DEFAULT_HAIKU_MODEL: "zai-org/glm-5",
ANTHROPIC_DEFAULT_SONNET_MODEL: "zai-org/glm-5",
ANTHROPIC_DEFAULT_OPUS_MODEL: "zai-org/glm-5",
},
},
category: "aggregator",
+3 -2
View File
@@ -283,12 +283,13 @@ requires_openai_auth = true`,
{
name: "Ucloud",
websiteUrl: "https://www.compshare.cn",
apiKeyUrl: "https://api.modelverse.cn/v1",
apiKeyUrl:
"https://www.compshare.cn/coding-plan?ytag=GPU_YY_YX_git_cc-switch",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"ucloud",
"https://api.modelverse.cn/v1",
"zai-org/glm-5",
"gpt-5.4",
),
endpointCandidates: ["https://api.modelverse.cn/v1"],
category: "aggregator",
+35 -8
View File
@@ -1228,21 +1228,18 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
{
name: "Ucloud",
websiteUrl: "https://www.compshare.cn",
apiKeyUrl: "https://api.modelverse.cn/v1",
apiKeyUrl:
"https://www.compshare.cn/docs/modelverse/best_practice/openclaw",
settingsConfig: {
baseUrl: "https://api.modelverse.cn/v1",
apiKey: "",
api: "anthropic-messages",
models: [
{
id: "zai-org/glm-5",
name: "GLM-5",
contextWindow: 200000,
},
{
id: "MiniMax-M2.5",
name: "MiniMax-M2.5",
id: "claude-opus-4-6",
name: "Claude Opus 4.6",
contextWindow: 200000,
cost: { input: 5, output: 25 },
},
],
},
@@ -1251,6 +1248,21 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
partnerPromotionKey: "ucloud", // 促销信息 i18n key
icon: "ucloud",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
suggestedDefaults: {
model: {
primary: "ucloud/claude-opus-4-6",
},
modelCatalog: {
"ucloud/claude-opus-4-6": { alias: "Opus" },
},
},
},
{
name: "Micu",
@@ -1274,6 +1286,21 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
partnerPromotionKey: "micu",
icon: "micu",
iconColor: "#000000",
templateValues: {
apiKey: {
label: "API Key",
placeholder: "",
editorValue: "",
},
},
suggestedDefaults: {
model: {
primary: "micu/claude-opus-4-6",
},
modelCatalog: {
"micu/claude-opus-4-6": { alias: "Opus" },
},
},
},
// ========== Cloud Providers ==========
{