Clear Session Cache in OpenClaw

From the OpenClaw cheat sheet · Session Cache · verified Nov 2026

Clear Session Cache

Reset a session or its model pin the supported way; there is no cache to clear.

bash
# No files to delete. In chat:
/model default -s      Follow the configured default model again
/new                   Archive this session, start a fresh one
/reset                 Reset the current session in place

# From the terminal
openclaw sessions
openclaw sessions delete "agent:main:scratch-1"
💡 A changed default model applies to new and unpinned sessions on their next run; there is no session cache to clear
⚡ "/model default -s" is the fix for "I changed the model but it's still using the old one"
📌 Sessions live in a per-agent SQLite database next to auth profiles and the memory index, so never delete files under ~/.openclaw/agents by hand
🟢 /reset or /new gets you out of a stuck conversation loop
sessionscachemodel

Continue with OpenClaw

Save the full cheat sheet or work through every related task.

Back to the full OpenClaw cheat sheet