Repository navigation
agy-cli 0.1.114: agy's silence is cut at 15 minutes, not 5 (#1319) - #1465
Open
wangbingnan136 wants to merge 2 commits into
Open
wangbingnan136 wants to merge 2 commits into
wangbingnan136 wants to merge 2 commits into
Conversation
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.
Refs #1319 (its first problem: a silent long generation cut at
TURN_TIMEOUT_MS).Summary
agy is silent while the model writes a large tool call, and before a first token it retries upstream on its own (
⚠ API error (attempt N)lines). A 5-minute cut lost a 7,332-token call and its session (#1319). agy ends a failing turn itself, so the bridge's watchdog only has to catch a wedged agy.Evidence
On one macOS machine running with
AGY_BRIDGE_TURN_TIMEOUT_MS=900000(the workaround in #1319), the bridge'spromptevents (33 so far) include two first tokens after 5 minutes:ttft_ms397608 and 575747. With the stock default, both turns would have been cut. Since the workaround, the log has notimed out reading agy output.bun test ./agy-cli.test.mjs: pass (smoke still sets its own 5 s timeout)bun scripts/check.mjs,bun scripts/bumped.mjs upstream/main: passMerge Danger
Door: two-way. It's one constant, and
AGY_BRIDGE_TURN_TIMEOUT_MSstill overrides it.Blast Radius: small. A truly wedged agy is cut after 15 minutes instead of 5. The tool-result wait (
AGY_BRIDGE_TOOL_TIMEOUT_MS, 30 min) is unchanged.Version: 0.1.113 → 0.1.114.