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
20 changes: 20 additions & 0 deletions en/use/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,23 @@
AstrBot has many built-in commands that are imported as plugins. They are located in the `packages/astrbot` directory.

Use `/help` to view all built-in commands.

## Common Commands

### /stop

Stops the currently running Agent task in the current session.

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.

**Use Cases:**
- The Agent is executing a complex tool call chain and needs to be terminated early
- The model is taking too long to generate a response and needs to be interrupted
- You need to start a new conversation

**Example:**
```
/stop
```

After execution, the number of stopped tasks will be returned.
10 changes: 10 additions & 0 deletions en/use/webui.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ Filter by plugin, type (command / command group / subcommand), permission, and s

You can enable/disable and rename each command.

## Chat

The admin panel has a built-in chat feature that allows you to converse directly with AstrBot.

### Stop Generating

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.

After interruption, any partially generated content will be preserved in the conversation history.

## Trace

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.
Expand Down
22 changes: 21 additions & 1 deletion zh/use/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,24 @@

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

使用 `/help` 可以查看所有内置指令。
使用 `/help` 可以查看所有内置指令。

## 常用指令

### /stop

停止当前会话中正在运行的 Agent 任务。

当 Agent 正在执行多轮工具调用或长时间生成回复时,可以使用此指令中断执行。中断后,已生成的部分内容会被保留。

**使用场景:**
- Agent 正在执行复杂的工具调用链,需要提前终止
- 模型生成回复时间过长,需要中断
- 需要重新开始新的对话

**示例:**
```
/stop
```

执行后会返回已停止的任务数量。
12 changes: 11 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 @@ -53,6 +53,16 @@ AstrBot 管理面板具有管理插件、查看日志、可视化配置、查看

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

## 聊天

管理面板内置了聊天功能,可以直接与 AstrBot 进行对话。

### 停止生成

当 Agent 正在执行任务或模型正在生成回复时,输入框右侧的发送按钮会变为停止按钮(红色方块图标)。点击该按钮可以中断当前的生成过程。

中断后,已生成的部分内容会被保留在对话历史中。

## 追踪 (Trace)

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