Skip to content

Commit f4c086c

Browse files
nagkumar91Copilot
andcommitted
fix(openai-agents): properly serialize tool calls in output messages (open-telemetry#4185)
ResponseFunctionToolCall objects in response.output were being stringified as text parts. Now detects tool call items by type attribute and emits them as type:tool_call with id, name, and arguments per GenAI semantic conventions. Also handles ResponseOutputMessage objects whose content is a list of sub-items rather than a plain string. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5560324 commit f4c086c

0 file changed

File tree

    0 commit comments

    Comments
     (0)