Sessions and multiple chats
How do I start a fresh conversation?
How do I start a fresh conversation?
/new or /reset as a standalone message. See Session management.Do sessions reset automatically if I never send /new?
Do sessions reset automatically if I never send /new?
sessionId, and compaction bounds the active model context as conversations grow. /new and /reset remain available, or you can opt into automatic resets with mode: "daily" or mode: "idle". Daily mode rolls over at session.reset.atHour (default 4, 0-23) on the gateway host; idle mode uses session.reset.idleMinutes since the last real interaction, not heartbeat/cron/exec system events.resetByType supports direct, group, and thread. Doctor migrates legacy dm entries to direct; the schema rejects dm. Legacy top-level session.idleMinutes still works as a compatibility alias for an idle-mode default when no session.reset/resetByType block is set. See Session management for the full lifecycle.Is there a way to make a team of OpenClaw instances (one CEO and many agents)?
Is there a way to make a team of OpenClaw instances (one CEO and many agents)?
Why did context get truncated mid-task? How do I prevent it?
Why did context get truncated mid-task? How do I prevent it?
- Ask the bot to summarize current state and write it to a file.
- Use
/compactbefore long tasks,/newwhen switching topics. - Keep important context in the workspace and ask the bot to read it back.
- Use sub-agents for long or parallel work so the main chat stays smaller.
- Pick a model with a larger context window if this happens often.
How do I completely reset OpenClaw but keep it installed?
How do I completely reset OpenClaw but keep it installed?
openclaw onboard --reset; reset is a command flag, not a Setup mode menu choice. See Onboarding (CLI). If you used profiles (--profile / OPENCLAW_PROFILE), reset each state dir (default ~/.openclaw-<profile>). Dev-only reset: openclaw gateway --dev --reset wipes dev config, credentials, sessions, and workspace.I am getting "context too large" errors - how do I reset or compact?
I am getting "context too large" errors - how do I reset or compact?
- Compact (keeps the conversation, summarizes older turns):
/compactor/compact <instructions>to guide the summary. - Reset (fresh session ID for the same chat key):
/newor/reset.
agents.defaults.contextPruning) to trim old tool output, or use a model with a larger context window.Docs: Compaction, Session pruning, Session management.Why am I seeing "LLM request rejected: messages.content.tool_use.input field required"?
Why am I seeing "LLM request rejected: messages.content.tool_use.input field required"?
tool_use block without the required input. Usually means the session history is stale or corrupted (often after long threads or a tool/schema change).Fix: start a fresh session with /new (standalone message).Why am I getting heartbeat messages every 30 minutes?
Why am I getting heartbeat messages every 30 minutes?
heartbeat.every is unset. Tune or disable:0m does not block targeted event-driven wakes, such as a background exec completion follow-up; those can still run one agent turn without enabling recurring cadence.Per-agent overrides use agents.entries.*.heartbeat. Docs: Heartbeat.Do I need to add a "bot account" to a WhatsApp group?
Do I need to add a "bot account" to a WhatsApp group?
groupPolicy: "allowlist").To restrict group replies to only you:How do I get the JID of a WhatsApp group?
How do I get the JID of a WhatsApp group?
Why does OpenClaw not reply in a group?
Why does OpenClaw not reply in a group?
mentionPatterns), or you configured channels.whatsapp.groups without "*" and the group is not allowlisted.See Groups and Group messages.How many workspaces and agents can I create?
How many workspaces and agents can I create?
- Disk growth: active sessions and transcripts live in the per-agent SQLite database; legacy/archive artifacts can still accumulate under
~/.openclaw/agents/<agentId>/sessions/. - Token cost: more agents means more concurrent model usage.
- Ops overhead: per-agent auth profiles, workspaces, and channel routing.
agents.defaults.workspace), prune old sessions with openclaw sessions cleanup if disk grows (do not edit active SQLite state by hand), and use openclaw doctor to spot stray workspaces and profile mismatches.Can I run multiple bots or chats at the same time (Slack), and how should I set that up?
Can I run multiple bots or chats at the same time (Slack), and how should I set that up?