chore: providers should default on (#5083)
* chore: providers should default on * chore: add emoji image source * chore: correct connect-src
This commit is contained in:
parent
56f4ec3b61
commit
634efb9d9d
@ -42,7 +42,7 @@
|
||||
"font-src": [
|
||||
"https://fonts.gstatic.com blob: data: tauri://localhost http://tauri.localhost"
|
||||
],
|
||||
"img-src": "'self' asset: http://asset.localhost blob: data:",
|
||||
"img-src": "'self' asset: http://asset.localhost blob: data: https://cdn.jsdelivr.net",
|
||||
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
|
||||
"script-src": "'self' asset: $APPDATA/**.* http://asset.localhost"
|
||||
},
|
||||
|
||||
@ -55,7 +55,7 @@ export const useModelProvider = create<ModelProviderState>()(
|
||||
}),
|
||||
api_key: existingProvider?.api_key || provider.api_key,
|
||||
base_url: existingProvider?.base_url || provider.base_url,
|
||||
active: existingProvider ? existingProvider?.active : false,
|
||||
active: existingProvider ? existingProvider?.active : true,
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user