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

Commit c6f8ff1

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

4 files changed

Lines changed: 62 additions & 2 deletions

File tree

en/use/command.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,23 @@
33
AstrBot has many built-in commands that are imported as plugins. They are located in the `packages/astrbot` directory.
44

55
Use `/help` to view all built-in commands.
6+
7+
## Common Commands
8+
9+
### /stop
10+
11+
Stops the currently running Agent task in the current session.
12+
13+
When the Agent is executing multi-turn tool calls or generating a long response, you can use this command to interrupt the execution. After interruption, any partially generated content will be preserved.
14+
15+
**Use Cases:**
16+
- The Agent is executing a complex tool call chain and needs to be terminated early
17+
- The model is taking too long to generate a response and needs to be interrupted
18+
- You need to start a new conversation
19+
20+
**Example:**
21+
```
22+
/stop
23+
```
24+
25+
After execution, the number of stopped tasks will be returned.

en/use/webui.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ Filter by plugin, type (command / command group / subcommand), permission, and s
5353

5454
You can enable/disable and rename each command.
5555

56+
## Chat
57+
58+
The admin panel has a built-in chat feature that allows you to converse directly with AstrBot.
59+
60+
### Stop Generating
61+
62+
When the Agent is executing a task or the model is generating a response, the send button on the right side of the input box will change to a stop button (red square icon). Clicking this button will interrupt the current generation process.
63+
64+
After interruption, any partially generated content will be preserved in the conversation history.
65+
5666
## Trace
5767

5868
In the `Trace` page of the admin panel, you can view the real-time execution trace of AstrBot. This is useful for debugging model call paths, tool invocation processes, etc.

zh/use/command.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,24 @@
22

33
AstrBot 具有很多内置指令,它们通过插件的形式被导入。位于 `packages/astrbot` 目录下。
44

5-
使用 `/help` 可以查看所有内置指令。
5+
使用 `/help` 可以查看所有内置指令。
6+
7+
## 常用指令
8+
9+
### /stop
10+
11+
停止当前会话中正在运行的 Agent 任务。
12+
13+
当 Agent 正在执行多轮工具调用或长时间生成回复时,可以使用此指令中断执行。中断后,已生成的部分内容会被保留。
14+
15+
**使用场景:**
16+
- Agent 正在执行复杂的工具调用链,需要提前终止
17+
- 模型生成回复时间过长,需要中断
18+
- 需要重新开始新的对话
19+
20+
**示例:**
21+
```
22+
/stop
23+
```
24+
25+
执行后会返回已停止的任务数量。

zh/use/webui.md

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

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

4848
## 指令管理
4949

@@ -53,6 +53,16 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看
5353

5454
可以对每个指令 启用/禁用、重命名。
5555

56+
## 聊天
57+
58+
管理面板内置了聊天功能,可以直接与 AstrBot 进行对话。
59+
60+
### 停止生成
61+
62+
当 Agent 正在执行任务或模型正在生成回复时,输入框右侧的发送按钮会变为停止按钮(红色方块图标)。点击该按钮可以中断当前的生成过程。
63+
64+
中断后,已生成的部分内容会被保留在对话历史中。
65+
5666
## 追踪 (Trace)
5767

5868
在管理面板的 `Trace` 页面中,你可以实时查看 AstrBot 的运行追踪记录。这对于调试模型调用路径、工具调用过程等非常有用。

0 commit comments

Comments
 (0)