Skip to content

[Bug]: WARNING DEBUG display #85

@magicbrighter

Description

@magicbrighter

set
model = OpenAIChatModel(model="qwen3-235b-a22b-instruct-2507", extra_body={"enable_thinking": False})

but

2026-01-26 14:29:32.709 | WARNING | openjudge.models.openai_chat_model:achat:200 - Qwen models do not support Pydantic structured output via response_format. Update the unstructured JSON mode with response_format={'type': 'json_object'}.
2026-01-26 14:29:32.710 | WARNING | openjudge.graders.agent.trajectory.trajectory_comprehensive:aevaluate:603 - Empty user query or trajectory, returning zero score
2026-01-26 14:29:32.710 | DEBUG | openjudge.models.openai_chat_model:achat:181 - Set enable_thinking=False in extra_body for qwen model
2026-01-26 14:29:32.710 | WARNING | openjudge.models.openai_chat_model:achat:200 - Qwen models do not support Pydantic structured output via response_format. Update the unstructured JSON mode with response_format={'type': 'json_object'}.

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions