Skip to content

[Bug]: 400 Reasoning is mandatory for this endpoint and cannot be disabled. With OpenRouter #24851

@DevSecTim

Description

@DevSecTim

Summary

I followed all the docs but when I try and use OpenRouter openrouter/auto model I get this error. If I go and manually remove the reasoning: false from models.json, on the next request it gets added back to the file.

Steps to reproduce

Configure OpenRouter per the docs here: http://openrouter.ai/docs/guides/guides/openclaw-integration

Expected behavior

No 400 error

Actual behavior

I get the 400 Reasoning is mandatory for this endpoint and cannot be disabled error

OpenClaw version

2026.2.22-2

Operating system

macOS 26.3 (Tahoe)

Install method

brew

Logs, screenshots, and evidence

Image

Impact and severity

No response

Additional information

No response

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