Skip to content

First well-formed call to a deferred tool runs (land #6437) #6494

Description

@Hmbown

Gap: a first call to a deferred tool returns "Loaded deferred tool 'X'. Retry the call with its visible schema." (turn_loop.rs:~3510-3541). That costs a round trip for every deferred tool, and weaker models can loop on it.

Fix in hand: PR #6437, "feat(tools): run well-formed first calls to deferred tools". Hydration runs after every gate. Dispatch still needs a registry spec, and malformed calls still get the schema. It was verified locally at 60 passed, and it is in the ordered 0.10.1 merge queue, now testing on hosted macOS runners.

Done when: #6437 is merged, and a real TUI session's first tool_search-discovered call executes without a retry.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions