Skip to content

Kor OpenAI o-1 compatibility #325

@pinnacle-jitthen

Description

@pinnacle-jitthen

I've been a great fan of Kor so far. I see this as such an important library for entity extractions.
I tried to use Kor with one of OpenAIs reasoning models such as o1 & o1 mini but kept getting the following errors:

BadRequestError:` 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'}}

Will this be rectified soon to make Kor compatible with the reasoning models?

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions