Describe the bug
AuthorRole is not assigned to each and every StreamingChatMessageContent produced
To Reproduce
Steps to reproduce the behavior:
- Open concepts sample
OpenAI_ChatCompletionStreaming.StreamTextContentAsync
- Set breakpoint on
Console.Write(chatUpdate.Content);
- Run sample
- Examine:
chatUpdate.Role
Expected behavior
Message has Role property assigned to each StreamingChatMessageContent instance (similiar to ModelId and other properties)
Platform
- Language: C#
- Source: Main
Describe the bug
AuthorRoleis not assigned to each and everyStreamingChatMessageContentproducedTo Reproduce
Steps to reproduce the behavior:
OpenAI_ChatCompletionStreaming.StreamTextContentAsyncConsole.Write(chatUpdate.Content);chatUpdate.RoleExpected behavior
Message has
Roleproperty assigned to eachStreamingChatMessageContentinstance (similiar toModelIdand other properties)Platform