Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit a4dea9e

Browse files
author
astrbot-docs-agent[bot]
committed
docs: update for AstrBotDevs/AstrBot#5352
1 parent 7f682f5 commit a4dea9e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

en/use/webui.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ You can enable or disable trace recording using the switch at the top of the pag
6262
> [!NOTE]
6363
> Currently only recording partial model call paths from AstrBot main Agent. More coverage will be added.
6464
65+
## ChatUI
66+
67+
The admin panel includes a built-in ChatUI for testing conversations with the bot. In ChatUI:
68+
69+
- **Copy Messages**: Click the copy button next to a message to copy the bot's reply. Supports copying composite messages including plain text, image placeholders, and audio placeholders.
70+
- **Copy Code Blocks**: A one-click copy button is available at the top-right corner of code blocks.
71+
72+
The copy function automatically adapts to different browser environments, prioritizing synchronous copy methods for higher success rates. Toast notifications and button state feedback indicate copy success or failure.
73+
6574
## Updating the Admin Panel
6675

6776
When AstrBot starts, it automatically checks if the admin panel needs updating. If it does, the first log entry (in yellow) will prompt you.

zh/use/webui.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看
4343
4444
### 插件加载失败处理
4545

46-
如果插件加载失败,管理面板会显示错误信息,并提供 **尝试一键重载修复** 按钮。这允许你在修复环境(如安装缺失依赖)或修改代码后,无需重启整个程序即可快速重新加载插件。
46+
如果插件加载失败,管理面板会显示错误信息,并提供 **"尝试一键重载修复"** 按钮。这允许你在修复环境(如安装缺失依赖)或修改代码后,无需重启整个程序即可快速重新加载插件。
4747

4848
## 指令管理
4949

@@ -62,6 +62,15 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看
6262
> [!NOTE]
6363
> 当前仅记录部分 AstrBot 主 Agent 的模型调用路径,后续会不断完善。
6464
65+
## ChatUI
66+
67+
管理面板内置 ChatUI,支持与机器人进行对话测试。在 ChatUI 中:
68+
69+
- **复制消息**:点击消息旁的复制按钮可复制机器人回复内容,支持复制纯文本、图片占位符、音频占位符等复合消息。
70+
- **复制代码块**:代码块右上角提供一键复制按钮。
71+
72+
复制功能会自动适配不同浏览器环境,优先使用同步复制方式以提高成功率。复制成功或失败时会有 Toast 提示和按钮状态反馈。
73+
6574
## 更新管理面板
6675

6776
在 AstrBot 启动时,会自动检查管理面板是否需要更新,如果需要,第一条日志(黄色)会进行提示。

0 commit comments

Comments
 (0)