Access to Tool Call in Chat History #11591
Replies: 2 comments
-
Tagging @SergeyMenshykh |
Beta Was this translation helpful? Give feedback.
-
I see that the tool messages (both tool calls and tool call results) are being added to the I also find this behavior a little odd since the The above semantics are also different from how tool calls are modeled in the Microsoft.Extensions.AI abstractions for .NET. Microsoft.Extensions.AI's |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
in .NET I'm trying to get access to the Tool Call History for a conversation. I would expect to find the message with a role of "Tool" in the response. but the response returned from IChatCompletionService.GetChatMessageContentAsync() does not contain any 'tool' role messages. Also, the ToolCalls collection property is always empty. SK is definetly making several tool calls before arriving at the correct answer. Is this a bug or am I missing something?
Using AzureOpenAI GPT-4o model.
Beta Was this translation helpful? Give feedback.
All reactions