File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
MaIN.Services/Services/LLMService/Memory Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 22<package >
33 <metadata >
44 <id >MaIN.NET</id >
5- <version >0.7.3 </version >
5+ <version >0.7.4 </version >
66 <authors >Wisedev</authors >
77 <owners >Wisedev</owners >
88 <icon >favicon.png</icon >
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public static async Task<string[]> ConvertToFilesContent(ChatMemoryOptions optio
4242 foreach ( var sData in options . StreamData )
4343 {
4444 var path = Path . GetTempPath ( ) + $ ".{ sData . Key } ";
45- var fileStream = new FileStream ( path , FileMode . Create , FileAccess . Write ) ;
45+ await using var fileStream = new FileStream ( path , FileMode . Create , FileAccess . Write ) ;
4646 await sData . Value . CopyToAsync ( fileStream ) ;
4747 files . Add ( path ) ;
4848 }
You can’t perform that action at this time.
0 commit comments