fix: tran list issue (#7009)

Co-authored-by: libing <libing@healink.cn>
This commit is contained in:
Bryan 2024-08-06 21:01:38 +08:00 committed by GitHub
parent 28d4e5b045
commit eece50acec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ class FixedRecursiveCharacterTextSplitter(EnhanceRecursiveCharacterTextSplitter)
if self._fixed_separator:
chunks = text.split(self._fixed_separator)
else:
chunks = list(text)
chunks = [text]
final_chunks = []
for chunk in chunks: