Skip to content

Commit fd23bfb

Browse files
fix
1 parent b314161 commit fd23bfb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/openai_agents/test_openai_agents.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2724,7 +2724,7 @@ def simple_test_tool(message: str) -> str:
27242724
}
27252725

27262726
parsed_tool_calls = json.loads(
2727-
ai_client_span1["attributes"]["gen_ai.response.tool_calls"]
2727+
ai_client_span1["data"]["gen_ai.response.tool_calls"]
27282728
)
27292729
assert len(parsed_tool_calls) == 1
27302730
assert tool_call.items() <= parsed_tool_calls[0].items()

0 commit comments

Comments
 (0)