© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Friends of the Crustacean 🦞🤝FotC�
Friends of the Crustacean 🦞🤝•2w ago•
5 replies
Hard Nut

Recommended LLM timeout setting

✅Solved
I ran into an issue when Openclaw would take 15-30 minutes to respond. My sysadmin AI gave me this diagnosis and proposed solution: lower the timeout from 600 seconds to 120 seconds. Is that a good idea? Can OpenClaw tell the difference between an LLM query that is working and taking a long time, versus a query that is simply not responding / hung?

---
The permanent-memories agent experienced 15-30 minute delays last night due to a combination of an API outage and a high default timeout.

The logs from last night show: [agent/embedded] embedded run timeout: ... timeoutMs=600000 [diagnostic] lane task error: lane=session:agent:permanent-memories:telegram:group:-5169748248 durationMs=600078 error="FailoverError: LLM request timed out."

Root Cause:

At around 1:30 AM local time, requests to the primary google:default profile started hanging (likely an API outage or extreme rate-limiting on Google's end).
OpenClaw's default LLM request timeout (agents.defaults.timeoutSeconds) is 600 seconds (10 minutes).
Every single request waited 10 entire minutes before giving up.
After giving up, it failed over to the next model in your 6-item fallbacks list.
As the sequence progressed, you experienced 15-30+ minutes of waiting before the agent could successfully reply (or definitively fail).
It resolved on its own this morning because the primary Google API recovered and the group's massive context window was automatically flushed by the idleMinutes: 30 setting.
Proposed Changes
We should lower the global timeoutSeconds so OpenClaw fails over much faster when an API hangs.

openclaw.json
Will modify the agents.defaults block to explicitly set timeoutSeconds to 120 (2 minutes). 2 minutes is a healthy balance—long enough to process massive Second Brain contexts (550k+ tokens), but short enough to quickly fail over if the API genuinely hangs.
Solution
- Do reduce the timeout if you care about responsiveness during outages (120–300s depending on how “big” your typical turns are).
- Reduce/reorder fallbacks so you don’t have 6 long waits in a row (especially if multiple fallbacks share the same upstream failure mode).
- If you want, paste:
-
openclaw --version
openclaw --version

- the relevant
agents.defaults.timeoutSeconds
agents.defaults.timeoutSeconds
/ agent override snippet (no secrets)

…and I’ll suggest a concrete value + a safer per-agent split.
Jump to solution
Friends of the Crustacean 🦞🤝 banner
Friends of the Crustacean 🦞🤝Join
The AI that actually does things. Emails, calendar, home automation - all from your favorite chat app. New shell, ready to help. The lobster way.
129,194Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements
Recent Announcements
Krill 🦐

Stats: +442 / -147 (files changed: 71)

Krill 🦐 · 1h ago

Krill 🦐

## Freshbits — release prep + Gemini tweaks ### Fixes - [#39508](https://github.com/openclaw/openclaw/pull/39508) [c381034](https://github.com/openclaw/openclaw/commit/c3810346f) CLI: avoid false update restart failures without listener attribution - [e0f80cf](https://github.com/openclaw/openclaw/commit/e0f80cf0e) fix(ui): align control-ui device auth token signing - [06ffef8](https://github.com/openclaw/openclaw/commit/06ffef846) fix(ci): repair zalouser CI failures ### Features - [59102a1](https://github.com/openclaw/openclaw/commit/59102a1ff) fix: add gemini 3.1 flash-lite support - [5d22bd0](https://github.com/openclaw/openclaw/commit/5d22bd029) fix: add google flash-lite forward compat ### Chore - [0521784](https://github.com/openclaw/openclaw/commit/05217845a) build: bump version to 2026.3.8 - [3896471](https://github.com/openclaw/openclaw/commit/389647157) build: update stable appcast release URL - [c217237](https://github.com/openclaw/openclaw/commit/c217237a3) style(daemon-cli): format lifecycle test - [42a1394](https://github.com/openclaw/openclaw/commit/42a1394c5) build: prepare 2026.3.7 release

Krill 🦐 · 1h ago

Shadow

<@&1471741366311583785> https://x.com/openclaw/status/2030522386894946620 https://x.com/openclaw/status/2030522692147830966

Shadow · 1h ago

Similar Threads

Openclaw error LLM timeout
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
this hour
LLM request timed out. When setting up VLLM
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
4d ago
LLM
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2mo ago
LLM
Friends of the Crustacean 🦞🤝FotC�Friends of the Crustacean 🦞🤝 / help
2mo ago