mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-11-26 06:48:15 +00:00
feat(providers): add displayName property
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user