feat: add workflow action runtime policies

This commit is contained in:
Xin Wang
2026-07-31 23:30:04 +08:00
parent c2f0f5eb04
commit f155f98e6e
10 changed files with 445 additions and 71 deletions
@@ -955,7 +955,8 @@ function ClientToolFields({
成功后更新动态变量
</div>
<div className="mt-0.5 text-xs text-muted-foreground">
只在客户端返回 status=ok 时应用结果映射
只在客户端返回 status=ok 时应用;Action
节点默认继承,也可单独覆盖或禁用
</div>
</div>
<Switch
@@ -1065,7 +1066,8 @@ function ToolRuntimeFields({
<div>
<div className="text-sm font-medium text-foreground">运行策略</div>
<div className="mt-1 text-xs leading-5 text-muted-foreground">
执行模式决定 Agent 是否等待结果;中断设置决定执行期间及随后播报是否接收用户插话。
仅用于 Agent 主动调用工具时的对话行为;Workflow Action
节点使用自己的用户输入策略。
</div>
</div>
<Field label="执行模式">
@@ -1088,7 +1090,7 @@ function ToolRuntimeFields({
<div>
<div className="text-sm font-medium text-foreground">允许用户打断</div>
<div className="mt-0.5 text-xs text-muted-foreground">
关闭后,工具运行和紧随其后的 Agent 播报期间会忽略用户输入
关闭后,Agent 工具运行和紧随其后的播报期间会忽略用户输入
</div>
</div>
<Switch