mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-15 08:33:48 +00:00
Improved the resource handling when loading models.
This commit is contained in:
10 files changed
+17
-16
No files matched your search
@@ -23,7 +23,7 @@ public partial class Changelog : ComponentBase
|
||||
|
||||
private async Task ReadLogAsync()
|
||||
{
|
||||
var response = await this.HttpClient.GetAsync($"changelog/{this.SelectedLog.Filename}");
|
||||
using var response = await this.HttpClient.GetAsync($"changelog/{this.SelectedLog.Filename}");
|
||||
this.LogContent = await response.Content.ReadAsStringAsync();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user