#how to edit this

1 messages Β· Page 1 of 1 (latest)

tired fiber
#

agents.defaults.compaction.reserveTokensFloor

create me a single command to check the value of this number and to set it

autumn sonnetBOT
#

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

clever hollowBOT
turbid forgeBOT
# tired fiber agents.defaults.compaction.reserveTokensFloor create me a single command to che...

Use this one-liner; change 24000 to the value you want:

VALUE=24000; openclaw config get agents.defaults.compaction.reserveTokensFloor; openclaw config set agents.defaults.compaction.reserveTokensFloor "$VALUE"; openclaw config get agents.defaults.compaction.reserveTokensFloor

That prints the current value, sets it, then prints the new value to confirm.

Docs: https://docs.openclaw.ai/gateway/configuration and config reference: https://docs.openclaw.ai/gateway/configuration-reference#agentsdefaultscompaction

If config set errors, first check your version with openclaw --version.

tired fiber
#

make it 100k

turbid forgeBOT
# tired fiber make it 100k
VALUE=100000; openclaw config get agents.defaults.compaction.reserveTokensFloor; openclaw config set agents.defaults.compaction.reserveTokensFloor "$VALUE"; openclaw config get agents.defaults.compaction.reserveTokensFloor

That sets agents.defaults.compaction.reserveTokensFloor to 100000 and confirms it afterward.

tired fiber
#

do i need to restart

turbid forgeBOT