#client time out

1 messages · Page 1 of 1 (latest)

uncut coyote
#

i use llms locally with lmstudio. sometimes the client disconnects from lm server due to time out, because it takes too long to respond, whixh is normally for local llms running on consumer hardware. i need to extend the waiting time of the openclw client. i know that this can be done config. please help me how to instroduce the snippet into config. i have not edit config in the past, i dont know the correct syntax

zealous roverBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

tiny yachtBOT
#

This is controlled by agents.defaults.timeoutSeconds (default is 600s = 10 minutes). For slow local LM Studio models, bump it up.

Before anything: what version are you on? Please paste:

openclaw --version

Easiest way (no manual config editing)

Run:

openclaw config set agents.defaults.timeoutSeconds 1800 --json

(1800 = 30 minutes. If you need 1 hour, use 3600.)

Verify it stuck:

#
openclaw config get agents.defaults.timeoutSeconds

Then restart the Gateway (safest):

openclaw gateway restart

Manual config file edit (JSON5)

Config is JSON5 at ~/.openclaw/openclaw.json (unless OPENCLAW_CONFIG_PATH is set).

Add/adjust:

{
  agents: {
uncut coyote
#

i am on version 2026.2.17 . shall i continue with the provided solution?

tiny yachtBOT
#

Yes — on 2026.2.17 you can go ahead with that solution.

Set the agent turn timeout higher:

openclaw config set agents.defaults.timeoutSeconds 1800 --json

Verify:

openclaw config get agents.defaults.timeoutSeconds

Then restart the Gateway:

#
openclaw gateway restart

If it still disconnects after increasing this, paste the exact error text you see in the logs/UI (the wording matters). At that point it may be LM Studio / upstream proxy timing out the HTTP connection rather than OpenClaw’s agent timeout.