You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is an issue with the Python library and not an underlying OpenAI API
This is an issue with the Python library
Describe the bug
The ResponseFunctionToolCallParam.id is annotated as Required[str], while according to the specs it should be optional:
I have tested it without the id and it works fine. Also we already have one id of the function call tool, which is call_id.
To Reproduce
N/A
Code snippets
OS
Linux
Python version
3.13.2
Library version
1.66.3
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting this issue. I've opened PR #2249 to address it by making the id field in ResponseFunctionToolCallParam optional, as per the API specifications. This change should resolve the errors mentioned in this issue. Let me know if you have any feedback or further questions.
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
The

ResponseFunctionToolCallParam.id
is annotated asRequired[str]
, while according to the specs it should be optional:I have tested it without the
id
and it works fine. Also we already have one id of the function call tool, which iscall_id
.To Reproduce
N/A
Code snippets
OS
Linux
Python version
3.13.2
Library version
1.66.3
The text was updated successfully, but these errors were encountered: