Skip to content

馃ェ pi extension: parallell avenor_result should allow interrupt#167

Description

@sdougbrown

when multiple subagents are spawned, any one agent hitting a stopping point (e.g. permissions) ends up waiting until all threads resolve before it can be answered. that seems inefficient.

i think the culprit is the naieve bare await here:

const result = await deps.resultTool({

the pi extension should probably have an "await registry" that allows for interruptions.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions