Replies: 1 comment
-
Tagging @SergeyMenshykh |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When processing the
ChatMessageContent
response from an agent, I attempt to detect function calls using themessage.Items
collection. Specifically, I check if an item is of typeFunctionCallContent
using the following code:However, the detection of function calls does not work as expected. Even when the agent is configured to invoke functions automatically (FunctionChoiceBehavior.Auto()), the message.Items collection does not reliably contain FunctionCallContent items for function calls made by the agent
I can see that function got called though before I receive the response from agent.InvokeAsync(message, thread).
How can I tell the calls happened or not ?
Beta Was this translation helpful? Give feedback.
All reactions