From c7962fe340004dafd7c841ae6860bb99103e3913 Mon Sep 17 00:00:00 2001
From: TevinClaw <510129976@qq.com>
Date: Mon, 16 Mar 2026 18:18:58 +0800
Subject: [PATCH] 修复ai创建技能造成的问题
---
openclaw.json | 47 ++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 42 insertions(+), 5 deletions(-)
diff --git a/openclaw.json b/openclaw.json
index d9d4c0d..cdba716 100644
--- a/openclaw.json
+++ b/openclaw.json
@@ -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,14 +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