openclaw_qq

配置参考(分组版)

目标:先理解“必须配什么”,再看“按需开启什么”。

A. 必需项

B. 基础触发与访问控制

C. 稳定性与容错

D. 并发与打断

E. 上下文增强

F. 输出与风控

G. 多媒体与频道

H. 当前上下文注入补充

推荐最小生产配置

{
  "channels": {
    "qq": {
      "wsUrl": "ws://127.0.0.1:3001",
      "accessToken": "your_token",
      "requireMention": true,
      "keywordTriggers": "椰子",
      "admins": "10000001",
      "adminOnlyChat": true,
      "allowedGroups": "20000001",
      "rateLimitMs": 1000,
      "maxRetries": 0,
      "retryDelayMs": 3000,
      "fastFailErrors": [],
      "queueDebounceMs": 0,
      "injectGatewayMeta": false,
      "interruptOnNewMessage": false,
      "allowBareGroupCommands": false,
      "blockStreaming": true,
      "blockStreamingBreak": "message_end",
      "cacheInboundImagesToLocal": true,
      "forwardLongReplyThreshold": 300,
      "forwardNodeCharLimit": 0,
      "enableDynamicModelCatalog": false
    }
  }
}

当前默认输出策略

恢复旧体验示例

如果你更喜欢之前更激进的打断/拆分方式,可以手动配置:

{
  "channels": {
    "qq": {
      "interruptOnNewMessage": true,
      "allowBareGroupCommands": true,
      "enableDynamicModelCatalog": true,
      "blockStreamingBreak": "text_end",
      "forwardLongReplyThreshold": 800,
      "forwardNodeCharLimit": 1000
    }
  }
}

进一步阅读