清除个人信息和敏感令牌

- test.py: 2198972886 → your_admin_qq
- README.md: jianf/qqrebot 链接 → 通用描述
- README.md: 示例配置 2198972886 → your_admin_qq
This commit is contained in:
Claw
2026-05-04 16:15:26 +08:00
parent 8c4c5074f2
commit d7d33c39a4
2 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ QQ 用户 ──→ NapCat (go-cqhttp)
需要以下系统已部署运行:
1. **[qqrebot](https://github.com/jianf/qqrebot)** — QQ 机器人框架,加载本插件
1. **qqrebot** — QQ 机器人框架,加载本插件(参考 [chatrebot_plugen_support SDK](https://github.com/your-org/chat_rebot_plugen_support)
2. **NapCat / go-cqhttp** — QQ 协议实现,转发消息给 qqrebot
3. **OpenClaw** — AI agent 网关
4. **qq-agent (或其他 agent)** — 在 OpenClaw 中配置,负责实际处理消息
@ -43,7 +43,7 @@ QQ 用户 ──→ NapCat (go-cqhttp)
[openclaw]
gateway_url = "http://127.0.0.1:18789" # OpenClaw Gateway 地址
gateway_token = "你的gateway token" # 从 OpenClaw 配置获取
allowed_sender = "2198972886" # 管理员 QQ 号
allowed_sender = "your_admin_qq" # 管理员 QQ 号替换为你自己的QQ号
model = "openclaw/qq-agent" # 使用的 agent 模型
agent_id = "qq-agent" # Agent ID
```

View File

@ -31,7 +31,7 @@ class OpenclawBridgeTest:
# 模拟群聊消息上下文
mock_ctx = MessageContext(
uid="2198972886",
uid="your_admin_qq",
gid="12345678",
raw_message="你好",
id="123456789",