diff --git a/src/agents/webSearchAgent.ts b/src/agents/webSearchAgent.ts index 4303762..709d6aa 100644 --- a/src/agents/webSearchAgent.ts +++ b/src/agents/webSearchAgent.ts @@ -485,7 +485,7 @@ const basicWebSearch = ( llm: BaseChatModel, embeddings: Embeddings, optimizationMode: 'speed' | 'balanced' | 'quality', - fileIds: string[], + fileIds: string[] = [], ) => { const emitter = new eventEmitter();