feat: v0.7.1 工具执行超时配置取消 600 秒上限
CI / 类型检查 + Lint + 单元测试 (push) Failing after 5m55s
CI / 全量测试 (Electron ABI) (push) Failing after 5m27s
CI / 产物编译验证 (push) Successful in 10m28s

- 设置 → Agent 配置 → 工具执行超时:移除 600 秒输入上限,允许任意 ≥10 秒的值
- 引擎侧(agent-loop engine)本就无钳制,配置值直接生效;工具自定义 timeoutMs 仍按 Math.max 优先
- totalTimeoutMs 仅为迭代续跑条件,不中断执行中的工具,长任务可跑满自身超时
This commit is contained in:
2026-08-29 21:09:24 +08:00
parent 3940716dc2
commit 36e4b28d93
3 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -65,10 +65,10 @@ export function AgentSettings() {
value={toolExecTimeout / 1000}
onChange={(e) => {
const v = Number(e.target.value);
if (v >= 10 && v <= 600) setToolExecTimeout(v * 1000);
if (v >= 10) setToolExecTimeout(v * 1000);
}}
slotProps={{ htmlInput: { min: 10, max: 600, step: 10 } }}
helperText="单个工具执行的最大时长,超时自动终止(10~600 秒"
slotProps={{ htmlInput: { min: 10, step: 10 } }}
helperText="单个工具执行的最大时长,超时自动终止(最低 10 秒,无上限"
/>
<TextField
size="small"