mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-09-22 17:21:32 +00:00
feat(backend): fix type errors
This commit is contained in:
@@ -47,7 +47,7 @@ const generateSuggestions = (
|
||||
input: SuggestionGeneratorInput,
|
||||
llm: BaseChatModel,
|
||||
) => {
|
||||
(llm as ChatOpenAI).temperature = 0;
|
||||
(llm as unknown as ChatOpenAI).temperature = 0;
|
||||
const suggestionGeneratorChain = createSuggestionGeneratorChain(llm);
|
||||
return suggestionGeneratorChain.invoke(input);
|
||||
};
|
||||
|
Reference in New Issue
Block a user