Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

o1 throwing exceptions #2841

Open
bingyuyap opened this issue Jan 12, 2025 · 0 comments
Open

o1 throwing exceptions #2841

bingyuyap opened this issue Jan 12, 2025 · 0 comments

Comments

@bingyuyap
Copy link

Issue

Using o1 in aider gives me this OpenAIException:

litellm.BadRequestError: OpenAIException - Error code: 400 - {'error': {'message': "Unsupported value: 'stream' does not support true with
this model. Supported values are: false.", 'type': 'invalid_request_error', 'param': 'stream', 'code': 'unsupported_value'}}

By printing the model settings:

Model settings: {'name': 'o1', 'max_chat_history_tokens': 2048, 'weak_model': Model(name='gpt-4o-mini', edit_format='whole', weak_model_name=None, use_repo_map=False, send_undo_reply=False, lazy=True, reminder='sys', examples_as_sys_msg=False, extra_params=None, cache_control=False, caches_by_default=False, use_system_prompt=True, use_temperature=True, streaming=True, editor_model_name=None, editor_edit_format='whole'), 'editor_model': Model(name='gpt-4o', edit_format='diff', weak_model_name='gpt-4o-mini', use_repo_map=True, send_undo_reply=False, lazy=True, reminder='sys', examples_as_sys_msg=False, extra_params=None, cache_control=False, caches_by_default=False, use_system_prompt=True, use_temperature=True, streaming=True, editor_model_name=None, editor_edit_format='editor-diff'), 'extra_model_settings': None, 'info': {'max_tokens': 100000, 'max_input_tokens': 200000, 'max_output_tokens': 100000, 'input_cost_per_token': 1.5e-05, 'output_cost_per_token': 6e-05, 'cache_read_input_token_cost': 7.5e-06, 'litellm_provider': 'openai', 'mode': 'chat', 'supports_function_calling': True, 'supports_parallel_function_calling': True, 'supports_vision': True, 'supports_prompt_caching': True, 'supports_system_messages': True, 'supports_response_schema': True}, 'missing_keys': [], 'keys_in_environment': True, 'edit_format': 'diff', 'weak_model_name': 'gpt-4o-mini', 'use_repo_map': True, 'send_undo_reply': False, 'lazy': False, 'reminder': 'user', 'examples_as_sys_msg': False, 'extra_params': None, 'cache_control': False, 'caches_by_default': False, 'use_system_prompt': True, 'use_temperature': False, 'streaming': False, 'editor_model_name': 'gpt-4o', 'editor_edit_format': 'editor-diff'}

Version and model info

aider 0.71.2.dev0
Main model: o1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant