feat(providers): add displayName
property
This commit is contained in:
parent
40f551c426
commit
1589f16d5a
12 changed files with 277 additions and 183 deletions
|
@ -26,7 +26,7 @@ router.post('/', async (req, res) => {
|
|||
let llm: BaseChatModel | undefined;
|
||||
|
||||
if (chatModels[provider] && chatModels[provider][chatModel]) {
|
||||
llm = chatModels[provider][chatModel] as BaseChatModel | undefined;
|
||||
llm = chatModels[provider][chatModel].model as BaseChatModel | undefined;
|
||||
}
|
||||
|
||||
if (!llm) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue