Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

interface ImportMetaEnv {
readonly VITE_SSO_LOGIN_URL?: string
readonly VITE_MODEL_REGISTRY_URL?: string
readonly VITE_DEV_API_PROXY_TARGET?: string
}

Expand Down
2 changes: 1 addition & 1 deletion src/views/CronJobsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const fallbackModels: ModelOption[] = [
{ id: 'kimi-k2-5-thinking', label: 'kimi-k2-5-thinking', brand: 'kimi' },
]

const modelRegistryApi = import.meta.env.VITE_MODEL_REGISTRY_URL || '/api/v1/models'
const modelRegistryApi = '/api/v1/models'

const inferModelBrand = (modelId: string): string => {
const normalized = modelId.toLowerCase()
Expand Down
4 changes: 1 addition & 3 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ const fallbackModels: ModelOption[] = [
{ id: 'kimi-k2-5-thinking', name: 'kimi-k2-5-thinking', brand: 'kimi', enabled: true }
]

const modelRegistryApi =
import.meta.env.VITE_MODEL_REGISTRY_URL ||
'/api/v1/models'
const modelRegistryApi = '/api/v1/models'

const splitCsv = (raw: unknown): string[] =>
String(raw ?? '')
Expand Down