mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-15 11:53:48 +00:00
Fixed a streaming bug (#250)
This commit is contained in:
1 parent
187663bbf2
commit
258bc7a338
9 files changed
+46
-55
No files matched your search
@@ -85,7 +85,7 @@ public sealed class ProviderSelfHosted(ILogger logger, Host host, string hostnam
|
||||
}
|
||||
|
||||
// Send the request using exponential backoff:
|
||||
using var responseData = await this.SendRequest(RequestBuilder, token);
|
||||
var responseData = await this.SendRequest(RequestBuilder, token);
|
||||
if(responseData.IsFailedAfterAllRetries)
|
||||
{
|
||||
this.logger.LogError($"Self-hosted provider's chat completion failed: {responseData.ErrorMessage}");
|
||||
|
||||
Reference in new issue
Block a user