Allow returning thought in the tool call responses #5192
Labels
api-break-change
Will break existing api and needs an migration for previous code to work
needs-triage
proj-agentchat
proj-core
proj-extensions
Milestone
What feature would you like to be added?
Some models include an additional text message in the tool call response. for example:
We need to allow including that message in the response, so that it can be properly surfaced to agent and users.
The proposal in #5173 is to change the
content
field toUnion[str, FunctionCalls]
instead ofUnion[str, List[FunctionCall]]
so that additional fields could be included inFunctionCalls
:Why is this needed?
to include model response properly
The text was updated successfully, but these errors were encountered: