fix: optional custom header

This commit is contained in:
Vanalite 2025-10-03 22:05:52 +07:00
parent 7fd83e0bf8
commit 9046927bf3
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ function ModelProviders() {
toast.error(t('providerAlreadyExists', { name })) toast.error(t('providerAlreadyExists', { name }))
return return
} }
const newProvider = { const newProvider: ProviderObject = {
provider: name, provider: name,
active: true, active: true,
models: [], models: [],

View File

@ -48,7 +48,7 @@ type ProviderObject = {
settings: ProviderSetting[] settings: ProviderSetting[]
models: Model[] models: Model[]
persist?: boolean persist?: boolean
custom_header: ProviderCustomHeader[] | null custom_header?: ProviderCustomHeader[] | null
} }
/** /**