feat: allow model config via config.json

This commit is contained in:
Jun Siang Cheah committed 2024-05-09 20:25:30 +08:00
1 parent df3675aaf7
commit e76a444ed9
21 files changed
+364 -119

No files matched your search

+2 -1
View File
@@ -33,7 +33,8 @@ export const getLiteLLMModels = async (token: string = '') => {
id: model.id,
name: model.name ?? model.id,
external: true,
source: 'LiteLLM'
source: 'LiteLLM',
custom_info: model.custom_info ?? {}
}))
.sort((a, b) => {
return a.name.localeCompare(b.name);