Skip to content

Conversation

@alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Oct 31, 2025

Description

Instances of MagicMock cannot be serialized, but model responses are serialized during the truncation proposed in #5049.

The model ResponseFunctionToolCall does not declare a function field: https://github.com/openai/openai-python/blob/main/src/openai/types/responses/response_function_tool_call.py

Issues

Reminders

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.94%. Comparing base (2397b15) to head (a5c0591).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5053      +/-   ##
==========================================
+ Coverage   83.93%   83.94%   +0.01%     
==========================================
  Files         179      179              
  Lines       17887    17887              
  Branches     3179     3179              
==========================================
+ Hits        15013    15015       +2     
+ Misses       1906     1904       -2     
  Partials      968      968              

see 3 files with indirect coverage changes

@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review October 31, 2025 13:27
@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner October 31, 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.

2 participants