sharween commited on
Commit
6f5d08a
·
verified ·
1 Parent(s): 96b5600

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +2 -14
start-openclaw.sh CHANGED
@@ -136,21 +136,9 @@ echo "🔧 执行 openclaw doctor --fix ..."
136
  openclaw doctor --fix || true
137
 
138
  # ================================================
139
- # 7. 强制微信使用独立 Agent(当前最有效方式)
140
  # ================================================
141
- echo "🔧 强制设置微信使用独立 Agent (wechat-agent) ..."
142
-
143
- # 创建独立 Agent
144
- openclaw agents add wechat-agent --workspace /root/.openclaw/agents/wechat-agent --non-interactive || true
145
-
146
- # 关键:把默认 Agent 改为 wechat-agent(这是目前最有效的做法)
147
- openclaw config set agents.defaults.model.primary "nvidia/$MODEL" || true
148
- openclaw config set channels.openclaw-weixin.defaultAgent "wechat-agent" || true
149
-
150
- # 再执行一次 doctor 让配置生效
151
- openclaw doctor --fix || true
152
-
153
- echo "✅ 已强制设置 wechat-agent 为微信默认会话"
154
 
155
  # ================================================
156
  # 8. 启动定时备份
 
136
  openclaw doctor --fix || true
137
 
138
  # ================================================
139
+ # 7. 安装飞书
140
  # ================================================
141
+ npx -y @larksuite/openclaw-lark install
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
  # ================================================
144
  # 8. 启动定时备份