openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

`ResponseFunctionToolCallParam.id` should be optional

Open Shulyaka opened this issue 9 months ago • 0 comments

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • [x] 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: Image I haven't tested it without the id yet but 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

Shulyaka avatar Mar 14 '25 21:03 Shulyaka