Fixes 2343 CSV error with no text splitter (#2344)

This commit is contained in:
automaton82 2024-05-06 20:43:42 -04:00 committed by GitHub
parent d4a5474f48
commit 43b22476e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class Csv_DocumentLoaders implements INode {
if (textSplitter) {
docs.push(...(await loader.loadAndSplit(textSplitter)))
} else {
docs.push(...(await loader.loadAndSplit(textSplitter)))
docs.push(...(await loader.load()))
}
}
} else {