Skip to content

ResponseFunctionToolCallParam.id should be optional #2205

Closed
@Shulyaka

Description

@Shulyaka

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:
Image
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions