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

openai o1(preview) error #433

Open
lukehinds opened this issue Dec 20, 2024 · 1 comment
Open

openai o1(preview) error #433

lukehinds opened this issue Dec 20, 2024 · 1 comment
Labels

Comments

@lukehinds
Copy link
Contributor

Describe the issue

</prompt>): litellm.UnsupportedParamsError: openai does not support parameters: {'response_format': {'type': 'json_object'}}, for model=o1. To drop these, set `litellm.drop_params=True` or for proxy:

`litellm_settings:
 drop_params: true`

Steps to Reproduce

Reference a file in Edit with CoPilot and select the o1(preview) model

Operating System

MacOS (Arm)

IDE and Version

Version: 1.96.2

Extension and Version

1.253.0

Provider

GitHub Copilot

Model

o1(preview)

Logs

No response

Additional Context

No response

@jhrozek
Copy link
Contributor

jhrozek commented Dec 20, 2024

we might want to use use a different model for the JSON reply then.

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

No branches or pull requests

2 participants