From 753b5070530fb7f94d2a3a41a544feaa8aba41e4 Mon Sep 17 00:00:00 2001
From: TevinClaw <510129976@qq.com>
Date: Mon, 16 Mar 2026 07:18:29 +0800
Subject: [PATCH] 修复飞书消息重投机制触发的问题,开启 idempotent 去重

---
 openclaw.json |   31 +++++--------------------------
 1 files changed, 5 insertions(+), 26 deletions(-)

diff --git a/openclaw.json b/openclaw.json
index 6928b52..925f8db 100644
--- a/openclaw.json
+++ b/openclaw.json
@@ -153,7 +153,10 @@
         }
       },
       "connectionMode": "websocket",
-      "domain": "feishu"
+      "domain": "feishu",
+      "timeout": 2000,
+      "idempotent": true,
+      "sessionMode": "per-chat"
     }
   },
   "gateway": {
@@ -180,31 +183,7 @@
       ]
     }
   },
-  "memory": {
-    "backend": "qmd",
-    "citations": "auto",
-    "qmd": {
-      "command": "qmd",
-      "searchMode": "query",
-      "includeDefaultMemory": true,
-      "update": {
-        "interval": "5m",
-        "debounceMs": 15000,
-        "onBoot": true,
-        "waitForBootSync": false
-      },
-      "limits": {
-        "maxResults": 6,
-        "maxSnippetChars": 500,
-        "maxInjectedChars": 2000,
-        "timeoutMs": 12000
-      },
-      "scope": {
-        "default": "allow",
-        "rules": []
-      }
-    }
-  },
+
   "skills": {
     "entries": {
       "1password": {

--
Gitblit v1.9.1