Skip to content

BUG: The gpt oss generated format cannot be processed correctly #1694

@whfeLingYu

Description

@whfeLingYu

I use OpenAIServerModel and ToolCallingAgent as the base. The model uses OpenAI's open source gpt oss. The extra parameters generated cannot be processed and the error is as follows

Error while generating output:
Error code: 400 - {'object': 'error', 'message': 'Expected 2 output messages (reasoning and final), but got 12.', 'type': 'BadRequestError', 'param': None, 'code': 400}

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