Skip to content

o1-preview changed api to use max_completion_tokens instead of max_tokens #367

@sheldonhull

Description

@sheldonhull

Describe the bug
This is a schema change that causes invoking against o1-preview and o1-mini to fail.

This page describes. It is causing tooling that doesn't handle this mapping to fail due to invalid request.

I just experienced this when trying to use mods with an o1-preview model in azure openai.

related work from continue team related compatibility change

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions