This commit is contained in:
Patrick Wiltrout 2024-11-20 01:39:50 +07:00 committed by GitHub
commit e7c12945df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 7 deletions

View file

@ -281,7 +281,7 @@ const SettingsDialog = ({
? chatModelProvider.map((model) => ({
value: model.name,
label: model.displayName,
}))
})).sort((a, b) => a.label.localeCompare(b.label))
: [
{
value: '',
@ -392,7 +392,7 @@ const SettingsDialog = ({
? embeddingModelProvider.map((model) => ({
label: model.displayName,
value: model.name,
}))
})).sort((a, b) => a.label.localeCompare(b.label))
: [
{
label: 'No embedding models available',