「討論:OpenClaw/施采邑」修訂間的差異
跳至導覽
跳至搜尋
(→安裝) |
|||
| (未顯示同一使用者於中間所作的 2 次修訂) | |||
| 行 8: | 行 8: | ||
#*Channel secret:在「Basic settings」頁面。 | #*Channel secret:在「Basic settings」頁面。 | ||
#*Channel access token:在「Messaging API」頁面底部產生,建議使用長效 token。 | #*Channel access token:在「Messaging API」頁面底部產生,建議使用長效 token。 | ||
| + | #*Webhook網址 <= 由 Cloudflare Quick Tunnel 免費服務提供 | ||
==安裝== | ==安裝== | ||
先備知識: | 先備知識: | ||
openclaw 有數個內建助手(助理) | openclaw 有數個內建助手(助理) | ||
| − | # | + | # main:預設進行一般對話的助理,用 talk to agent 可以叫出。 |
# crestodian:負責安裝、修復、模型選擇和路由設定,而不是平常對話。 | # crestodian:負責安裝、修復、模型選擇和路由設定,而不是平常對話。 | ||
| 行 20: | 行 21: | ||
# 允許程式變更電腦 | # 允許程式變更電腦 | ||
# 選用 openai-codex 模型 | # 選用 openai-codex 模型 | ||
| − | # | + | # 安裝外掛:openclaw plugins install @openclaw/line |
| + | # 加入 line 通訊渠道:openclaw channels add --channel line<br/>互動如下: | ||
| + | #*Channel access token:貼上 LINE 的 Channel access token | ||
| + | #*Channel secret:貼上 LINE 的 Channel secret | ||
| + | #*DM policy:建議選 pairing | ||
| + | #*Route to agent:選 main | ||
| + | #*Webhook path:使用預設的 /line/webhook | ||
於 2026年8月23日 (日) 15:52 的最新修訂
準備 line channel
用 Cloudflare Quick Tunnel 讓筆電中的 openClaw 擁有 URL
- 有此 URL , Line 公司的官方帳號才有辦法與筆電中的 OpenClaw 溝通
- 到「LINE Developers Console → 選擇你的 Provider → Messaging API Channel」
需要取得:- Channel secret:在「Basic settings」頁面。
- Channel access token:在「Messaging API」頁面底部產生,建議使用長效 token。
- Webhook網址 <= 由 Cloudflare Quick Tunnel 免費服務提供
安裝
先備知識: openclaw 有數個內建助手(助理)
- main:預設進行一般對話的助理,用 talk to agent 可以叫出。
- crestodian:負責安裝、修復、模型選擇和路由設定,而不是平常對話。
以下操作均在有完整權限之 powerShell 中操作:
- 執行「iwr -useb https://openclaw.ai/install.ps1 | iex」
- 允許程式變更電腦
- 選用 openai-codex 模型
- 安裝外掛:openclaw plugins install @openclaw/line
- 加入 line 通訊渠道:openclaw channels add --channel line
互動如下:- Channel access token:貼上 LINE 的 Channel access token
- Channel secret:貼上 LINE 的 Channel secret
- DM policy:建議選 pairing
- Route to agent:選 main
- Webhook path:使用預設的 /line/webhook