feat: store model configs in the database
This commit is contained in:
@@ -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