feat(searchAgent): handle empty fileIds

This commit is contained in:
ItzCrazyKns 2024-11-27 15:13:46 +05:30
parent 64ee19c70a
commit ecad065577
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ const basicWebSearch = (
llm: BaseChatModel,
embeddings: Embeddings,
optimizationMode: 'speed' | 'balanced' | 'quality',
fileIds: string[],
fileIds: string[] = [],
) => {
const emitter = new eventEmitter();