feat(searchAgent): handle empty fileIds
This commit is contained in:
parent
64ee19c70a
commit
ecad065577
|
@ -485,7 +485,7 @@ const basicWebSearch = (
|
|||
llm: BaseChatModel,
|
||||
embeddings: Embeddings,
|
||||
optimizationMode: 'speed' | 'balanced' | 'quality',
|
||||
fileIds: string[],
|
||||
fileIds: string[] = [],
|
||||
) => {
|
||||
const emitter = new eventEmitter();
|
||||
|
||||
|
|
Loading…
Reference in New Issue