🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

fix(coderd/x/chatd): clarify wait agent timeout - #27335

Merged
mafredri merged 1 commit into
mainfrom
fix/chatd-wait-agent-schema-timeout
Jul 20, 2026
Merged

fix(coderd/x/chatd): clarify wait agent timeout#27335
mafredri merged 1 commit into
mainfrom
fix/chatd-wait-agent-schema-timeout

Conversation

@mafredri

Copy link
Copy Markdown
Member

The wait_agent input schema omitted its five-minute default, leaving models with incorrect guidance and encouraging repeated tool calls that add cost and orchestration churn.

Document the default in the parameter schema and clarify that the call returns as soon as the agent finishes. A timeout remains informational and does not stop the agent.

🤖 This PR was created with the help of Coder Agents, and will be reviewed by a human. 🏂🏻

The model-visible timeout schema did not state its five-minute default.
Clarify that waits return on completion and that a timeout leaves the
agent running.
@mafredri
mafredri marked this pull request as ready for review July 20, 2026 10:46
@mafredri
mafredri merged commit b511a68 into main Jul 20, 2026
55 of 56 checks passed
@mafredri
mafredri deleted the fix/chatd-wait-agent-schema-timeout branch July 20, 2026 10:47
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants