mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 14:13:48 +00:00
Improved enterprise IT (#497)
This commit is contained in:
1 parent
7a498d524e
commit
32e1ab977d
9 files changed
+200
-21
No files matched your search
@@ -42,6 +42,7 @@ public static partial class PluginFactory
|
||||
var tempDownloadFile = Path.GetTempFileName();
|
||||
try
|
||||
{
|
||||
await LockHotReloadAsync();
|
||||
using var httpClient = new HttpClient();
|
||||
var response = await httpClient.GetAsync(downloadUrl, cancellationToken);
|
||||
if (response.IsSuccessStatusCode)
|
||||
@@ -80,6 +81,8 @@ public static partial class PluginFactory
|
||||
LOG.LogError(e, "Failed to delete the temporary download file.");
|
||||
}
|
||||
}
|
||||
|
||||
UnlockHotReload();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user