Fix Stream Issues ...

This commit is contained in:
2026-04-16 23:06:02 +03:30
parent 509acc1488
commit 43d0433a8e
+3 -1
View File
@@ -89,6 +89,8 @@ namespace xAiApi.Controllers.V1
prompt: prompt,
cancellationToken: cancellationToken
);
//
await foreach (var message in stream)
{
//
@@ -108,7 +110,7 @@ namespace xAiApi.Controllers.V1
// Closing Connection ...
await Response.Body.FlushAsync();
}
catch
catch (Exception)
{ }
}
#endregion