From 9ca2723043c8cfa4edf737d6de91e48f8fd1fc69 Mon Sep 17 00:00:00 2001
From: TevinClaw <510129976@qq.com>
Date: Tue, 17 Mar 2026 18:18:17 +0800
Subject: [PATCH] [HUMAN] 添加agent日记,记忆系统升级过错,更新部分系统配置

---
 openclaw.json |   51 +++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 45 insertions(+), 6 deletions(-)

diff --git a/openclaw.json b/openclaw.json
index 3ce4a53..a410426 100644
--- a/openclaw.json
+++ b/openclaw.json
@@ -74,7 +74,7 @@
         "workspace": "/home/tevin/.openclaw/workspace",
         "agentDir": "/home/tevin/.openclaw/agents/main/agent",
         "model": {
-          "primary": "custom-api-siliconflow-cn/Pro/moonshotai/Kimi-K2.5"
+          "primary": "custom-api-siliconflow-cn/Pro/zai-org/GLM-5"
         },
         "tools": {
           "deny": [
@@ -135,6 +135,7 @@
   "channels": {
     "feishu": {
       "enabled": true,
+      "domain": "feishu",
       "accounts": {
         "main": {
           "appId": "cli_a93baf57e9badbce",
@@ -147,12 +148,9 @@
         "default": {
           "groupPolicy": "open",
           "dmPolicy": "open",
-          "allowFrom": [
-            "*"
-          ]
+          "allowFrom": ["*"]
         }
       },
-      "domain": "feishu",
       "connectionMode": "websocket",
       "streaming": true,
       "timeout": 2000,
@@ -203,12 +201,53 @@
     ],
     "load": {
       "paths": [
-        "/home/tevin/.nvm/versions/node/v24.14.0/lib/node_modules/@openclaw/feishu"
+        "/home/tevin/.nvm/versions/node/v24.14.0/lib/node_modules/@openclaw/feishu",
+        "/home/tevin/.openclaw/extensions/memory-lancedb-pro"
       ]
+    },
+    "slots": {
+      "memory": "memory-lancedb-pro"
     },
     "entries": {
       "feishu": {
         "enabled": true
+      },
+      "memory-lancedb-pro": {
+        "enabled": true,
+        "config": {
+          "embedding": {
+            "provider": "openai-compatible",
+            "apiKey": "${SILICONFLOW_API_KEY}",
+            "baseURL": "https://api.siliconflow.cn/v1",
+            "model": "BAAI/bge-large-zh-v1.5",
+            "dimensions": 1024
+          },
+          "retrieval": {
+            "mode": "hybrid",
+            "vectorWeight": 0.7,
+            "bm25Weight": 0.3,
+            "rerank": "cross-encoder",
+            "rerankProvider": "siliconflow",
+            "rerankEndpoint": "https://api.siliconflow.cn/v1/rerank",
+            "rerankModel": "BAAI/bge-reranker-v2-m3",
+            "rerankApiKey": "${SILICONFLOW_API_KEY}"
+          },
+          "autoCapture": true,
+          "autoRecall": true,
+          "smartExtraction": true,
+          "extractMinMessages": 2,
+          "extractMaxChars": 8000,
+          "sessionMemory": {
+            "enabled": false
+          },
+          "scopes": {
+            "default": "global",
+            "agentAccess": {
+              "main": ["global", "agent:main"],
+              "lifehelper": ["global", "agent:lifehelper"]
+            }
+          }
+        }
       }
     }
   }

--
Gitblit v1.9.1