Skip to content

fix: always `copy()` the model we get from `get_model()` to avoid wro…

4dbf22a
Select commit
Loading
Failed to load commit list.
Merged

fix(integrations): openai-agents fix multi-patching of get_model function #5195

fix: always `copy()` the model we get from `get_model()` to avoid wro…
4dbf22a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 9, 2025 in 0s

83.85% (-0.39%) compared to 05e1bff

View this Pull Request on Codecov

83.85% (-0.39%) compared to 05e1bff

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.85%. Comparing base (05e1bff) to head (4dbf22a).
⚠️ Report is 5 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5195      +/-   ##
==========================================
- Coverage   84.24%   83.85%   -0.39%     
==========================================
  Files         181      181              
  Lines       18441    18442       +1     
  Branches     3283     3283              
==========================================
- Hits        15535    15465      -70     
- Misses       1892     1960      +68     
- Partials     1014     1017       +3     
Files with missing lines Coverage Δ
...y_sdk/integrations/openai_agents/patches/models.py 87.17% <100.00%> (+0.33%) ⬆️

... and 11 files with indirect coverage changes