Skip to content

Commit

Permalink
feat(searchAgent): handle empty fileIds
Browse files Browse the repository at this point in the history
  • Loading branch information
ItzCrazyKns committed Nov 27, 2024
1 parent 64ee19c commit ecad065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agents/webSearchAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ const basicWebSearch = (
llm: BaseChatModel,
embeddings: Embeddings,
optimizationMode: 'speed' | 'balanced' | 'quality',
fileIds: string[],
fileIds: string[] = [],
) => {
const emitter = new eventEmitter();

Expand Down

0 comments on commit ecad065

Please sign in to comment.