refine(ui): improve model placeholders and simplify provider hints

- Add dedicated Haiku model placeholder "GLM-4.5-Air"
- Unify API key hints for all non-official providers
- Fix AiHubMix category from cn_official to aggregator
- Standardize GLM model name format (glm-4.6)
This commit is contained in:
Jason
2025-11-02 23:24:49 +08:00
parent 50eb4538ca
commit b4f10d8316
5 changed files with 13 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ export const providerPresets: ProviderPreset[] = [
"https://aihubmix.com",
"https://api.aihubmix.com",
],
category: "cn_official",
category: "aggregator",
},
{
name: "DeepSeek",
@@ -101,7 +101,7 @@ export const providerPresets: ProviderPreset[] = [
env: {
ANTHROPIC_BASE_URL: "https://open.bigmodel.cn/api/anthropic",
ANTHROPIC_AUTH_TOKEN: "",
ANTHROPIC_MODEL: "GLM-4.6",
ANTHROPIC_MODEL: "glm-4.6",
ANTHROPIC_DEFAULT_HAIKU_MODEL: "glm-4.5-air",
ANTHROPIC_DEFAULT_SONNET_MODEL: "glm-4.6",
ANTHROPIC_DEFAULT_OPUS_MODEL: "glm-4.6",