mirror of
https://github.com/openclaw/openclaw.git
synced 2026-02-08 21:09:23 +08:00
chore: oxfmt fixes
This commit is contained in:
committed by
clawdinator[bot]
parent
395810a60b
commit
443ee26af3
@@ -24,7 +24,7 @@ services:
|
||||
"--bind",
|
||||
"${OPENCLAW_GATEWAY_BIND:-lan}",
|
||||
"--port",
|
||||
"18789"
|
||||
"18789",
|
||||
]
|
||||
|
||||
openclaw-cli:
|
||||
|
||||
@@ -10,6 +10,7 @@ title: "Telegram"
|
||||
Status: production-ready for bot DMs + groups via grammY. Long-polling by default; webhook optional.
|
||||
|
||||
## Quick setup (beginner)
|
||||
|
||||
1. Create a bot with **@BotFather** ([direct link](https://t.me/BotFather)). Confirm the handle is exactly `@BotFather`, then copy the token.
|
||||
2. Set the token:
|
||||
- Env: `TELEGRAM_BOT_TOKEN=...`
|
||||
@@ -41,6 +42,7 @@ Minimal config:
|
||||
## Setup (fast path)
|
||||
|
||||
### 1) Create a bot token (BotFather)
|
||||
|
||||
1. Open Telegram and chat with **@BotFather** ([direct link](https://t.me/BotFather)). Confirm the handle is exactly `@BotFather`.
|
||||
2. Run `/newbot`, then follow the prompts (name + username ending in `bot`).
|
||||
3. Copy the token and store it safely.
|
||||
|
||||
@@ -134,13 +134,13 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
|
||||
- Auth: `MOONSHOT_API_KEY`
|
||||
- Example model: `moonshot/kimi-k2.5`
|
||||
- Kimi K2 model IDs:
|
||||
{/* moonshot-kimi-k2-model-refs:start */}
|
||||
{/_ moonshot-kimi-k2-model-refs:start _/}
|
||||
- `moonshot/kimi-k2.5`
|
||||
- `moonshot/kimi-k2-0905-preview`
|
||||
- `moonshot/kimi-k2-turbo-preview`
|
||||
- `moonshot/kimi-k2-thinking`
|
||||
- `moonshot/kimi-k2-thinking-turbo`
|
||||
{/* moonshot-kimi-k2-model-refs:end */}
|
||||
{/_ moonshot-kimi-k2-model-refs:end _/}
|
||||
|
||||
```json5
|
||||
{
|
||||
|
||||
@@ -865,11 +865,7 @@
|
||||
},
|
||||
{
|
||||
"group": "Help",
|
||||
"pages": [
|
||||
"help/index",
|
||||
"help/troubleshooting",
|
||||
"help/faq"
|
||||
]
|
||||
"pages": ["help/index", "help/troubleshooting", "help/faq"]
|
||||
},
|
||||
{
|
||||
"group": "Install & Updates",
|
||||
@@ -1002,13 +998,7 @@
|
||||
},
|
||||
{
|
||||
"group": "Web & Interfaces",
|
||||
"pages": [
|
||||
"web/index",
|
||||
"web/control-ui",
|
||||
"web/dashboard",
|
||||
"web/webchat",
|
||||
"tui"
|
||||
]
|
||||
"pages": ["web/index", "web/control-ui", "web/dashboard", "web/webchat", "tui"]
|
||||
},
|
||||
{
|
||||
"group": "Channels",
|
||||
@@ -1171,11 +1161,7 @@
|
||||
"groups": [
|
||||
{
|
||||
"group": "开始",
|
||||
"pages": [
|
||||
"zh-CN/index",
|
||||
"zh-CN/start/getting-started",
|
||||
"zh-CN/start/wizard"
|
||||
]
|
||||
"pages": ["zh-CN/index", "zh-CN/start/getting-started", "zh-CN/start/wizard"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -14,14 +14,14 @@ provider and set the default model to `moonshot/kimi-k2.5`, or use
|
||||
Kimi Coding with `kimi-coding/k2p5`.
|
||||
|
||||
Current Kimi K2 model IDs:
|
||||
{/* moonshot-kimi-k2-ids:start */}
|
||||
{/_ moonshot-kimi-k2-ids:start _/}
|
||||
|
||||
- `kimi-k2.5`
|
||||
- `kimi-k2-0905-preview`
|
||||
- `kimi-k2-turbo-preview`
|
||||
- `kimi-k2-thinking`
|
||||
- `kimi-k2-thinking-turbo`
|
||||
{/* moonshot-kimi-k2-ids:end */}
|
||||
{/_ moonshot-kimi-k2-ids:end _/}
|
||||
|
||||
```bash
|
||||
openclaw onboard --auth-choice moonshot-api-key
|
||||
|
||||
@@ -24,6 +24,7 @@ wizard, and let the agent bootstrap itself.
|
||||
8. Ready
|
||||
|
||||
## 1) Welcome + security notice
|
||||
|
||||
Read the security notice displayed and decide accordingly.
|
||||
|
||||
## 2) Local vs Remote
|
||||
|
||||
@@ -54,6 +54,7 @@ you revoke it with `openclaw devices revoke --device <id> --role <role>`. See
|
||||
[Devices CLI](/cli/devices) for token rotation and revocation.
|
||||
|
||||
**Notes:**
|
||||
|
||||
- Local connections (`127.0.0.1`) are auto-approved.
|
||||
- Remote connections (LAN, Tailnet, etc.) require explicit approval.
|
||||
- Each browser profile generates a unique device ID, so switching browsers or
|
||||
|
||||
@@ -110,6 +110,7 @@ cat ~/.openclaw/openclaw.json | jq '.gateway.bind'
|
||||
```
|
||||
|
||||
Then construct the URL:
|
||||
|
||||
- **loopback**: `http://127.0.0.1:18793/__openclaw__/canvas/<file>.html`
|
||||
- **lan/tailnet/auto**: `http://<hostname>:18793/__openclaw__/canvas/<file>.html`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user