Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

openai o1(preview) error #433

Description

@lukehinds

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

Activity

  1. jhrozek commented on Dec 20, 2024

    @jhrozek
    Contributor

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

  2. self-assigned this
    on Jan 6, 2025
  3. lukehinds commented on Jan 10, 2025

    @lukehinds
    Author

    @ptelang did this get fixed? noted you closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions