Fixed a streaming bug (#250)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-01-04 12:30:05 +01:00
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}");