update zai models and sidebar divider (#819)

This commit is contained in:
ekko
2026-05-17 20:47:52 +08:00
committed by GitHub
parent aff3546677
commit bbfd818106
2 changed files with 27 additions and 2 deletions
@@ -406,6 +406,11 @@ function openChangelog() {
}
}
:deep(.profile-selector) {
padding-top: 12px;
border-top: 1px solid $border-color;
}
.nav-group {
display: flex;
flex-direction: column;
+22 -2
View File
@@ -80,14 +80,34 @@ export const PROVIDER_PRESETS: ProviderPreset[] = [
value: 'zai',
builtin: true,
base_url: 'https://api.z.ai/api/paas/v4',
models: ['glm-5.1', 'glm-5', 'glm-5v-turbo', 'glm-5-turbo', 'glm-4.7', 'glm-4.5', 'glm-4.5-flash'],
models: [
'glm-5.1',
'glm-5v-turbo',
'glm-4.7-flashx',
'glm-4.5-air',
'glm-4.5v',
'glm-4.7-flash',
'glm-4.6',
'glm-4.5',
'glm-4.5-flash',
'glm-5-turbo',
'glm-4.7',
'glm-5',
'glm-4.6v',
],
},
{
label: 'GLM-Coding-Plan',
value: 'glm-coding-plan',
builtin: true,
base_url: 'https://api.z.ai/api/anthropic',
models: ['glm-5.1', 'glm-5', 'glm-5v-turbo', 'glm-5-turbo', 'glm-4.7', 'glm-4.5', 'glm-4.5-flash'],
models: [
'glm-5.1',
'glm-4.5-air',
'glm-5-turbo',
'glm-4.7',
'glm-5v-turbo',
],
},
{
label: 'Kimi for Coding',