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
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "metona-ai-desktop", "name": "metona-ai-desktop",
"version": "0.7.0", "version": "0.7.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "metona-ai-desktop", "name": "metona-ai-desktop",
"version": "0.7.0", "version": "0.7.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@emotion/react": "^11.14.0", "@emotion/react": "^11.14.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "metona-ai-desktop", "name": "metona-ai-desktop",
"version": "0.7.0", "version": "0.7.1",
"description": "MetonaAI Desktop — 生产级通用 AI Agent 智能体桌面应用", "description": "MetonaAI Desktop — 生产级通用 AI Agent 智能体桌面应用",
"main": "dist-electron/main/main.js", "main": "dist-electron/main/main.js",
"author": "Metona Team", "author": "Metona Team",
+3 -3
View File
@@ -65,10 +65,10 @@ export function AgentSettings() {
value={toolExecTimeout / 1000} value={toolExecTimeout / 1000}
onChange={(e) => { onChange={(e) => {
const v = Number(e.target.value); 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 } }} slotProps={{ htmlInput: { min: 10, step: 10 } }}
helperText="单个工具执行的最大时长,超时自动终止(10~600 秒" helperText="单个工具执行的最大时长,超时自动终止(最低 10 秒,无上限"
/> />
<TextField <TextField
size="small" size="small"