Skip to content

Conversation

@antonpirker
Copy link
Contributor

Add the original input for the agent and the final output of the agent to the invoke_agent span.

fixes #4512
fixes PY-1740

@antonpirker antonpirker requested a review from a team as a code owner September 10, 2025 09:49
@linear
Copy link

linear bot commented Sep 10, 2025

@codecov
Copy link

codecov bot commented Sep 10, 2025

Codecov Report

❌ Patch coverage is 82.60870% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.58%. Comparing base (9001126) to head (224a3da).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...k/integrations/openai_agents/spans/invoke_agent.py 80.00% 0 Missing and 4 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4785      +/-   ##
==========================================
- Coverage   84.60%   84.58%   -0.02%     
==========================================
  Files         158      158              
  Lines       16463    16479      +16     
  Branches     2850     2855       +5     
==========================================
+ Hits        13928    13939      +11     
- Misses       1694     1695       +1     
- Partials      841      845       +4     
Files with missing lines Coverage Δ
...dk/integrations/openai_agents/patches/agent_run.py 82.53% <100.00%> (ø)
...k/integrations/openai_agents/spans/invoke_agent.py 87.09% <80.00%> (-6.24%) ⬇️

... and 2 files with indirect coverage changes

@antonpirker antonpirker merged commit 94a92d8 into master Sep 10, 2025
127 of 128 checks passed
@antonpirker antonpirker deleted the antonpirker/update-openai-agents branch September 10, 2025 13:02
@antonpirker antonpirker restored the antonpirker/update-openai-agents branch September 10, 2025 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add initial input gen_ai.request.messages & final output gen_ai.response.text to agent invocation span.

2 participants