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
After some more investigation, I find I get the same error from gpt-3.5-turbo-1106.
I also find that although the models documentation says that gpt-4o points to gpt-4o-2024-08-06, if I point the assistant in the above code explicitly to gpt-4o-2024-08-06 (i.e. model="gpt-4o-2024-08-06"), I get a different error:
BadRequestError: Errorcode: 400- {'error': {'message': 'Invalid tools: all tools must be of type `function` when `response_format` is of type `json_schema`.', ...
Is it possible that in the python library, gpt-4o does not actually point to gpt-4o-2024-08-06?
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
Not sure if this is a bug in the docs or the code. The API reference for the
response_format
parameter ofassistants.create
has:But I am seeing this error message:
To Reproduce
Call
OpenAI().beta.assistants.create()
with aresponse_format
parameterCode snippets
No response
OS
macOS
Python version
Python 3.12.7
Library version
openai v1.52.2
The text was updated successfully, but these errors were encountered: