update zai models and sidebar divider (#819)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user