feat: store model configs in the database
This commit is contained in:
1 parent
1bacd5d93f
commit
4002ead6af
50 files changed
+434
-194
No files matched your search
@@ -234,7 +234,7 @@ export const getOpenAIModels = async (token: string = '') => {
|
||||
id: model.id,
|
||||
name: model.name ?? model.id,
|
||||
external: true,
|
||||
custom_info: model.custom_info ?? {}
|
||||
custom_info: model.custom_info
|
||||
}))
|
||||
.sort((a, b) => {
|
||||
return a.name.localeCompare(b.name);
|
||||
|
||||
Reference in new issue
Block a user