openclaw - ✅(Solved) Fix [Bug]: Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again. [1 pull requests, 7 comments, 8 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#57430Fetched 2026-04-08 01:49:47
View on GitHub
Comments
7
Participants
8
Timeline
16
Reactions
9
Author
Timeline (top)
commented ×7subscribed ×5labeled ×2cross-referenced ×1

after upgarding to v2026.3.28 for every call i'm seeing the error Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again.

It was working as is without issues before upgrade. No change after reonboarding.

Error Message

v2026.3.28 for every call i'm seeing the error Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again. 3. for every message sent the error listed shows up

Root Cause

after upgarding to v2026.3.28 for every call i'm seeing the error Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again.

It was working as is without issues before upgrade. No change after reonboarding.

PR fix notes

PR #60969: fix(openrouter): add resolveDefaultThinkingLevel hook

Description (problem / solution / changelog)

Summary

v2026.3.28 refactored thinking level resolution into per-provider plugin hooks but missed the OpenRouter provider. Without the hook, the core fallback injects reasoning: { effort: "none" } into every non-reasoning OpenRouter model request, causing "Reasoning is required for this model endpoint" errors.

Adds resolveDefaultThinkingLevel to the OpenRouter provider registration:

  • auto / openrouter/auto"minimal"
  • reasoning-capable models (per cached capabilities) → "low"
  • everything else → undefined (no reasoning params injected)

Fixes #57430.

Validation

  • pnpm tsgo extensions/openrouter/ — no type errors
  • pnpm test extensions/openrouter/index.test.ts — 6/6 pass (3 new)
  • pnpm build — clean, no ineffective dynamic import warnings

Changed files

  • extensions/openrouter/index.test.ts (modified, +55/-1)
  • extensions/openrouter/index.ts (modified, +14/-0)
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

after upgarding to v2026.3.28 for every call i'm seeing the error Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again.

It was working as is without issues before upgrade. No change after reonboarding.

Steps to reproduce

  1. Do an upgrade from previous version to v2026.3.28
  2. Use openrouter with following models set in routing settings google/gemini-2.5-flash-lite openai/gpt-5-mini openai/gpt-5-nano openai/gpt-5.4-mini google/gemini-3-flash-preview
  3. for every message sent the error listed shows up

Expected behavior

To answer basic questions

Actual behavior

<img width="1512" height="951" alt="Image" src="https://github.com/user-attachments/assets/64ad0ac6-f7fb-4655-a7a2-871d7db9f5d6" />

OpenClaw version

v2026.3.28

Operating system

Tahoe 26.3.1

Install method

npm global

Model

openrouter/auto

Provider / routing chain

openclaw - openrouter -> any model in the list

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

Fix Plan

To resolve the "Reasoning is required for this model endpoint" error after upgrading to v2026.3.28, you need to adjust the routing settings to include a reasoning level. Here are the steps:

  • Update the openrouter configuration to specify a non-off reasoning level, such as minimal.
  • Ensure that the models used (e.g., google/gemini-2.5-flash-lite, openai/gpt-5-mini) support the specified reasoning level.

Example configuration update:

{
  "routing": {
    "models": [
      {
        "name": "google/gemini-2.5-flash-lite",
        "reasoning": "minimal"
      },
      {
        "name": "openai/gpt-5-mini",
        "reasoning": "minimal"
      }
    ]
  }
}

Alternatively, you can use the /think endpoint with a specified reasoning level, as suggested in the error message:

/think minimal

Verification

After applying the fix, verify that the error no longer occurs by sending a message through the openrouter with the updated configuration. Check the response to ensure that it answers basic questions as expected.

Extra Tips

  • Review the documentation for the openrouter and models used to ensure compatibility with the specified reasoning level.
  • If issues persist, try adjusting the reasoning level or exploring other configuration options to find a suitable solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

To answer basic questions

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - ✅(Solved) Fix [Bug]: Reasoning is required for this model endpoint. Use /think minimal (or any non-off level) and try again. [1 pull requests, 7 comments, 8 participants]