-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
openai-python/src/openai/types/responses/response_create_params.py
Lines 52 to 68 in 4756247
Currently supported values are: | |
- `web_search_call.action.sources`: Include the sources of the web search tool | |
call. | |
- `code_interpreter_call.outputs`: Includes the outputs of python code execution | |
in code interpreter tool call items. | |
- `computer_call_output.output.image_url`: Include image urls from the computer | |
call output. | |
- `file_search_call.results`: Include the search results of the file search tool | |
call. | |
- `message.input_image.image_url`: Include image urls from the input message. | |
- `message.output_text.logprobs`: Include logprobs with assistant messages. | |
- `reasoning.encrypted_content`: Includes an encrypted version of reasoning | |
tokens in reasoning item outputs. This enables reasoning items to be used in | |
multi-turn conversations when using the Responses API statelessly (like when | |
the `store` parameter is set to `false`, or when an organization is enrolled | |
in the zero data retention program). |
vs
openai-python/src/openai/types/responses/response_includable.py
Lines 7 to 14 in 4756247
ResponseIncludable: TypeAlias = Literal[ | |
"code_interpreter_call.outputs", | |
"computer_call_output.output.image_url", | |
"file_search_call.results", | |
"message.input_image.image_url", | |
"message.output_text.logprobs", | |
"reasoning.encrypted_content", | |
] |
To Reproduce
Try to pass ['web_search_call.action.sources']
to include
on client.responses.create
Code snippets
OS
Linux
Python version
3.13
Library version
latest
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working