Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.", 'type': 'invalid_request_error', 'param': 'max_tokens', 'code': 'unsupported_parameter'}}
This occurred when using o1
To Reproduce
Try to use o1 with Autogen
Code snippets
OS
Windows
Python version
Python 3.11
Library version
Current