Skip to content

fix: cases where content is a `str` we still need to wrap

86019f7
Select commit
Loading
Failed to load commit list.
Merged

fix(integrations): openai-agents fixing the input messages structure which was wrapped too much in some cases #5203

fix: cases where content is a `str` we still need to wrap
86019f7
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 9, 2025 in 1s

84.20% (+0.00%) compared to 3eac23c

View this Pull Request on Codecov

84.20% (+0.00%) compared to 3eac23c

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.20%. Comparing base (3eac23c) to head (86019f7).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5203   +/-   ##
=======================================
  Coverage   84.19%   84.20%           
=======================================
  Files         181      181           
  Lines       18442    18443    +1     
  Branches     3283     3283           
=======================================
+ Hits        15528    15530    +2     
  Misses       1899     1899           
+ Partials     1015     1014    -1     
Files with missing lines Coverage Δ
sentry_sdk/integrations/openai_agents/utils.py 87.75% <100.00%> (+0.12%) ⬆️

... and 1 file with indirect coverage changes