diff --git a/Controllers/V1/AIController.cs b/Controllers/V1/AIController.cs index 73c9377..ce09c0e 100644 --- a/Controllers/V1/AIController.cs +++ b/Controllers/V1/AIController.cs @@ -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