diff --git a/packages/client/src/components/layout/AppSidebar.vue b/packages/client/src/components/layout/AppSidebar.vue index 553edf5..06f03c8 100644 --- a/packages/client/src/components/layout/AppSidebar.vue +++ b/packages/client/src/components/layout/AppSidebar.vue @@ -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; diff --git a/packages/server/src/shared/providers.ts b/packages/server/src/shared/providers.ts index e02417f..a8b244d 100644 --- a/packages/server/src/shared/providers.ts +++ b/packages/server/src/shared/providers.ts @@ -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',