openinterpreter icon indicating copy to clipboard operation
openinterpreter copied to clipboard

Open Interpreter - OpenAI `o1-preview-2024-09-12` model

Open MorphSeur opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Hello,

Encountering the same issue using Open Interpreter as the one of this Stackoverflow post (Link).
Open Interpreter enforces some parameters such as the system role and the context_window.

Encountered error is below:

Error: BadRequestError: OpenAIException - Error code: 400 - {'error': 
{'message': "Unsupported value: 'messages[0].role' does not support 
'system' with this model.", 'type': 'invalid_request_error', 'param': 
'messages[0].role', 'code': 'unsupported_value'}}

Describe the solution you'd like

Seamless integration of Open Interpreter with OpenAI latest models.

Describe alternatives you've considered

No response

Additional context

No response

MorphSeur avatar Sep 16 '24 12:09 MorphSeur

Any expectation of fixing this now that o1 has added developer messages? This is their stand-in for system messages. Hoping to use o1 for my interpreter work!

Thank you, @KillianLucas

mdpatrick avatar Dec 17 '24 18:12 mdpatrick

Thank you for reporting this and for helping build the classic Python version of Open Interpreter. This issue concerns the earlier Python/LiteLLM/Jupyter product; this repository now tracks the Rust Open Interpreter built on Codex. We are closing the legacy report here so current product tracking starts clean. If you still want to pursue it, the community-maintained classic fork is https://github.com/endolith/open-interpreter. If the same problem affects the current Interpreter release, please open a new issue with the current template and include the version, provider, model, wire API, harness, platform, and reproduction.

interpreterwork avatar Jul 28 '26 04:07 interpreterwork