Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Hi!
The model for https://github.com/openai/openai-python/blob/main/src/openai/types/responses/response_input_item.py#L99 seems to be inconsistent with what is listed in https://platform.openai.com/docs/api-reference/responses/list.
The documentation lists output value for FunctionCallOutput as a string or list of objects (see https://platform.openai.com/docs/api-reference/responses/list#responses/list-data-function-tool-call-output-output).
However, Pydantic model in Python library types that field as string only: https://github.com/openai/openai-python/blob/main/src/openai/types/responses/response_input_item.py#L103.
To Reproduce
N/A
Code snippets
OS
Any
Python version
Python v3.x
Library version
openai v1.109.1
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Hi!
The model for https://github.com/openai/openai-python/blob/main/src/openai/types/responses/response_input_item.py#L99 seems to be inconsistent with what is listed in https://platform.openai.com/docs/api-reference/responses/list.
The documentation lists output value for
FunctionCallOutputas astringorlistof objects (see https://platform.openai.com/docs/api-reference/responses/list#responses/list-data-function-tool-call-output-output).However, Pydantic model in Python library types that field as
stringonly: https://github.com/openai/openai-python/blob/main/src/openai/types/responses/response_input_item.py#L103.To Reproduce
N/A
Code snippets
OS
Any
Python version
Python v3.x
Library version
openai v1.109.1