openclaw - 💡(How to fix) Fix [Bug]: New version 2026.5.12 openrouter model tool calls results in http 500 error [1 comments, 2 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#84065Fetched 2026-05-20 03:44:32
View on GitHub
Comments
1
Participants
2
Timeline
9
Reactions
1
Author
Timeline (top)
labeled ×5closed ×2commented ×1reopened ×1

2026.5.12, after updating, tool calls regardless of how heavy the task, if the models is set to a single model (i.e. deepseek v4 flash, gemini 2.5 flash, etc) tool call will fail and gateway/logs will show http 500 error until it times out completely and fails. only working solution is to use openrouter auto settings in the 2026.5.12 version. Update: Additional information, another fix (the one im on) is to just roll back to 2026.5.7. seems like the new update's tool call something is wrong

Error Message

2026.5.12, after updating, tool calls regardless of how heavy the task, if the models is set to a single model (i.e. deepseek v4 flash, gemini 2.5 flash, etc) tool call will fail and gateway/logs will show http 500 error until it times out completely and fails. only working solution is to use openrouter auto settings in the 2026.5.12 version. I dont know if this is a specific error with this provider only or not. ai first gives brief description of its process, for me it was one sentence of what its first going to do, tool calls, tool call fails, error is reflected in logs, http 500 error.

Root Cause

2026.5.12, after updating, tool calls regardless of how heavy the task, if the models is set to a single model (i.e. deepseek v4 flash, gemini 2.5 flash, etc) tool call will fail and gateway/logs will show http 500 error until it times out completely and fails. only working solution is to use openrouter auto settings in the 2026.5.12 version. Update: Additional information, another fix (the one im on) is to just roll back to 2026.5.7. seems like the new update's tool call something is wrong

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

2026.5.12, after updating, tool calls regardless of how heavy the task, if the models is set to a single model (i.e. deepseek v4 flash, gemini 2.5 flash, etc) tool call will fail and gateway/logs will show http 500 error until it times out completely and fails. only working solution is to use openrouter auto settings in the 2026.5.12 version. Update: Additional information, another fix (the one im on) is to just roll back to 2026.5.7. seems like the new update's tool call something is wrong

Steps to reproduce

I dont know if this is a specific error with this provider only or not.

  1. openrouter api key
  2. create folders and files on local system and ask openclaw to read
  3. wait to fail.

Expected behavior

ai first gives brief description of its process, for me it was one sentence of what its first going to do, tool calls, tool call fails, error is reflected in logs, http 500 error.

Actual behavior

response ends at tool call. after tool call fails, dashboard becomes unresponsive. context compression also fails, only dashboard reload (webpage reload) works, but original issue remains. webpage reload only unstucks the dashbopard.

OpenClaw version

2026.5.12

Operating system

windows 11

Install method

npm

Model

deepseek v4 flash, gemini 2.5 flash, hy 4 preview, etc.

Provider / routing chain

openrouter

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

2026.5.12 regression: OpenRouter DeepSeek v4 Flash fails with HTTP 500 after tool call, older OpenClaw works

Additional information

No response

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

ai first gives brief description of its process, for me it was one sentence of what its first going to do, tool calls, tool call fails, error is reflected in logs, http 500 error.

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 - 💡(How to fix) Fix [Bug]: New version 2026.5.12 openrouter model tool calls results in http 500 error [1 comments, 2 participants]