oclaw/openclaw/docs/concepts/typing-indicators.md
oliver dbbe3add6a 重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。

Made-with: Cursor
2026-04-26 08:34:33 +08:00

2 KiB
Raw Blame History

summary read_when title
When OpenClaw shows typing indicators and how to tune them
Changing typing indicator behavior or defaults
Typing Indicators

Typing indicators

Typing indicators are sent to the chat channel while a run is active. Use agents.defaults.typingMode to control when typing starts and typingIntervalSeconds to control how often it refreshes.

Defaults

When agents.defaults.typingMode is unset, OpenClaw keeps the legacy behavior:

  • Direct chats: typing starts immediately once the model loop begins.
  • Group chats with a mention: typing starts immediately.
  • Group chats without a mention: typing starts only when message text begins streaming.
  • Heartbeat runs: typing is disabled.

Modes

Set agents.defaults.typingMode to one of:

  • never — no typing indicator, ever.
  • instant — start typing as soon as the model loop begins, even if the run later returns only the silent reply token.
  • thinking — start typing on the first reasoning delta (requires reasoningLevel: "stream" for the run).
  • message — start typing on the first non-silent text delta (ignores the NO_REPLY silent token).

Order of “how early it fires”: never → message → thinking → instant

Configuration

{
  agent: {
    typingMode: "thinking",
    typingIntervalSeconds: 6,
  },
}

You can override mode or cadence per session:

{
  session: {
    typingMode: "message",
    typingIntervalSeconds: 4,
  },
}

Notes

  • message mode won’t show typing for silent-only replies when the whole payload is the exact silent token (for example NO_REPLY / no_reply, matched case-insensitively).
  • thinking only fires if the run streams reasoning (reasoningLevel: "stream"). If the model doesn’t emit reasoning deltas, typing won’t start.
  • Heartbeats never show typing, regardless of mode.
  • typingIntervalSeconds controls the refresh cadence, not the start time. The default is 6 seconds.