We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd83e0 commit 9046927Copy full SHA for 9046927
web-app/src/routes/settings/providers/index.tsx
@@ -39,7 +39,7 @@ function ModelProviders() {
39
toast.error(t('providerAlreadyExists', { name }))
40
return
41
}
42
- const newProvider = {
+ const newProvider: ProviderObject = {
43
provider: name,
44
active: true,
45
models: [],
web-app/src/types/modelProviders.d.ts
@@ -48,7 +48,7 @@ type ProviderObject = {
48
settings: ProviderSetting[]
49
models: Model[]
50
persist?: boolean
51
- custom_header: ProviderCustomHeader[] | null
+ custom_header?: ProviderCustomHeader[] | null
52
53
54
/**
0 commit comments