Open
Conversation
5 tasks
|
Related Documentation 1 document(s) may need updating based on files changed in this PR: AstrBotTeam's Space pr4697的改动View Suggested Changes@@ -140,17 +140,25 @@
- 停止当前会话中正在执行的所有 Agent 任务
- 支持内置和第三方 Agent Runner
-- 停止成功后会显示已停止的任务数量:"已请求停止 {count} 个运行中的任务。"
-- 若当前会话没有运行中的任务,会显示:"当前会话没有运行中的任务。"
-
-`/stop` 命令是内置对话命令的一部分,与 `/reset`、`/his` 等命令一样,可在任何对话平台(Telegram、QQ、微信、Discord 等)中使用。
-
-##### Dashboard 聊天界面停止按钮
-在 Dashboard 聊天界面,当 Agent 正在执行时,聊天输入框中会显示停止按钮:
-
-- 停止按钮(mdi-stop 图标)在 Agent 运行时自动出现,替代发送按钮
-- 点击按钮可中断正在进行的响应生成
+- 中断后,已生成的部分内容会被保留
+- 停止成功后会返回已停止的任务数量
+
+**使用场景:**
+- Agent 正在执行复杂的工具调用链,需要提前终止
+- 模型生成回复时间过长,需要中断
+- 需要重新开始新的对话
+
+`/stop` 命令是内置对话命令的一部分,与 `/reset`、`/his` 等命令一样,可在任何对话平台(Telegram、QQ、微信、Discord 等)中使用。该命令的详细说明已正式收录于官方用户文档(zh/use/command.md 和 en/use/command.md)。
+
+##### WebUI 停止按钮
+在 Dashboard 聊天界面,当 Agent 正在执行任务或模型正在生成回复时,输入框右侧的发送按钮会变为停止按钮(红色方块图标):
+
+- 停止按钮在 Agent 运行时自动出现,替代发送按钮
+- 点击按钮可中断当前的生成过程
+- 中断后,已生成的部分内容会被保留在对话历史中
- 停止后会通过 API 调用请求中止当前会话的 Agent 任务
+
+该功能的详细说明已正式收录于官方用户文档(zh/use/webui.md 和 en/use/webui.md 的"聊天"章节)。
#### 停止机制说明
Note: You must be authenticated to accept/decline updates. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated automatically by astrbot-docs-agent-server.
AI change summary:
zh/use/command.md与en/use/command.md中新增/stop指令说明,用于中断当前 Agent 任务。zh/use/webui.md与en/use/webui.md中新增聊天章节,说明输入框右侧停止按钮的功能。Please review manually before merging.
Experimental bot notice: