Skip to content

maxConcurrent is ignored for foreground subagents #253

Description

@WinPooh32

What I can see

All subagents run in parallel ignoring maxConcurrent setting.

Expected behaviour

maxConcurrent == 1 : only one subagent executed at the same time. Agents execution is queued.

Why does it matter?

Running parallel agents with local models are spending much more time on solving tasks due to cache misses on switching chat sessions. It hurts very much. Queued agents solve this problem.
Asking local model to not spawn many subagents is not reliable.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions