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}