eptevember

Results 1 comments of eptevember

From another issue (https://github.com/OkGoDoIt/OpenAI-API-dotnet/issues/80#issuecomment-1469465862), the following can be used instead: await foreach (var token in api.Chat.StreamChatEnumerableAsync(chatreq)) { if (token?.Choices[0]?.Delta?.Content != null) { response += token.Choices[0].Delta.Content; } }