hey,
I need help, I'm facing a very strange behavior. I'm expecting a json response Format (structured output) through AgentRunOptions.ResponseFormat. It works perfectly for some Gemini models (3.1 flash lite, 2.5 flash lite for ex) but fail for literally all Chinese ones
deepseek v4 pro and flash
mimo pro
minimax 3
etc...
Gemini models call successfully the tools and return the structured output. The failing ones above mostly return an empty structured output right away !
I'm using a ChatclientAgent with Openrouter.
Is that a bug from Agent Framework or a model behavior ? Hard to believe so many models fail at a basic task. Important to note that of course if structured output is not used, all modes are able to call multi turn tools successfully. It's only for structured output.
thanks a lot
hey,
I need help, I'm facing a very strange behavior. I'm expecting a json response Format (structured output) through AgentRunOptions.ResponseFormat. It works perfectly for some Gemini models (3.1 flash lite, 2.5 flash lite for ex) but fail for literally all Chinese ones
deepseek v4 pro and flash
mimo pro
minimax 3
etc...
Gemini models call successfully the tools and return the structured output. The failing ones above mostly return an empty structured output right away !
I'm using a ChatclientAgent with Openrouter.
Is that a bug from Agent Framework or a model behavior ? Hard to believe so many models fail at a basic task. Important to note that of course if structured output is not used, all modes are able to call multi turn tools successfully. It's only for structured output.
thanks a lot