Skip to content

v4.2.7 — generous default timeout for delegation-capable PTC scripts#87

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/ptc-script-timeout
Jun 26, 2026
Merged

v4.2.7 — generous default timeout for delegation-capable PTC scripts#87
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/ptc-script-timeout

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Follow-up to 4.2.6 (PTC fan-out). A program script that calls task/parallel_task runs child agents — each a full LLM turn (30s to minutes) — so the 30s DEFAULT_SCRIPT_TIMEOUT_MS silently times out real dynamic workflows (the model-generated workflow script runs but its parallel subagents exceed 30s).

Fix: when the script's allowed tools include task/parallel_task, default the script timeout to 10min; pure compute/search scripts keep 30s. An explicit limits.timeoutMs always wins. Real-LLM validated: the model autonomously emits a correct workflow script, but it timed out at 30s before this. Bumps 4.2.7.

A program script that calls task/parallel_task runs child agents, each a full
LLM turn (often 30s-minutes), so the 30s DEFAULT_SCRIPT_TIMEOUT_MS silently
times out real dynamic workflows. Default delegation-capable scripts (allowed
tools include task/parallel_task) to 10min; pure compute/search scripts keep
30s. Explicit limits.timeoutMs always wins. Bumps to 4.2.7.
@ZhiXiao-Lin ZhiXiao-Lin merged commit 743732a into main Jun 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant