mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-06 03:31:36 +00:00
Improved reading and writing large Office files without copying them into memory (#1243)
This commit is contained in:
1 parent
918572c158
commit
dbe609a9a7
37 files changed
+1161
-471
No files matched your search
@@ -70,7 +70,7 @@ public abstract partial class DocumentAssistantBase<TSettings>
|
||||
IReadOnlyList<DocumentSegment> segments;
|
||||
try
|
||||
{
|
||||
segments = await format.ReadAsync(sourcePath, token);
|
||||
segments = await format.ReadAsync(sourcePath, this.Logger, token);
|
||||
}
|
||||
catch (UnsupportedTextEncodingException e)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user