-
Notifications
You must be signed in to change notification settings - Fork 855
Open
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-aiMicrosoft.Extensions.AI librariesMicrosoft.Extensions.AI libraries
Milestone
Description
With the growth of reasoning models and the presence of TextReasoningContent would be desirable to have a easier way to extract all the thinking content from ChatResponse.
ChatResponse response = chatClient.GetResponseAsync(...);
string? text = response.Text;
string? thinking = response.ReasoningText; // GGThis would avoid the complexity of combining multiple message thinking together like below:
string assistantThinking = string.Join("\n", result.Messages
.SelectMany(m => m.Contents)
.OfType<TextReasoningContent>()
.Select(trc => trc.Text));Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-suggestionEarly API idea and discussion, it is NOT ready for implementationEarly API idea and discussion, it is NOT ready for implementationarea-aiMicrosoft.Extensions.AI librariesMicrosoft.Extensions.AI libraries