mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 00:02:44 +00:00
feat(searchAgent): handle empty fileIds
This commit is contained in:
@ -485,7 +485,7 @@ const basicWebSearch = (
|
||||
llm: BaseChatModel,
|
||||
embeddings: Embeddings,
|
||||
optimizationMode: 'speed' | 'balanced' | 'quality',
|
||||
fileIds: string[],
|
||||
fileIds: string[] = [],
|
||||
) => {
|
||||
const emitter = new eventEmitter();
|
||||
|
||||
|
Reference in New Issue
Block a user