feat: external model info

This commit is contained in:
Timothy J. Baek 2024-03-25 13:46:06 -07:00
parent eb004ccfc2
commit 32cb5f3ceb
3 changed files with 27 additions and 21 deletions

View file

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