Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions en/use/webui.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ You can enable or disable trace recording using the switch at the top of the pag
> [!NOTE]
> Currently only recording partial model call paths from AstrBot main Agent. More coverage will be added.

## ChatUI

The admin panel includes a built-in ChatUI for testing conversations with the bot. In ChatUI:

- **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.
- **Copy Code Blocks**: A one-click copy button is available at the top-right corner of code blocks.

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.

## Updating the Admin Panel

When AstrBot starts, it automatically checks if the admin panel needs updating. If it does, the first log entry (in yellow) will prompt you.
Expand Down
11 changes: 10 additions & 1 deletion zh/use/webui.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看

### 插件加载失败处理

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

## 指令管理

Expand All @@ -62,6 +62,15 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看
> [!NOTE]
> 当前仅记录部分 AstrBot 主 Agent 的模型调用路径,后续会不断完善。

## ChatUI

管理面板内置 ChatUI,支持与机器人进行对话测试。在 ChatUI 中:

- **复制消息**:点击消息旁的复制按钮可复制机器人回复内容,支持复制纯文本、图片占位符、音频占位符等复合消息。
- **复制代码块**:代码块右上角提供一键复制按钮。

复制功能会自动适配不同浏览器环境,优先使用同步复制方式以提高成功率。复制成功或失败时会有 Toast 提示和按钮状态反馈。

## 更新管理面板

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