Allow subagents.maxConcurrency for BYOK / non usage-based accounts (currently hard-capped at 2)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- shell
- Ambito
- cli, developer-experience, tooling
Direzione di ricerca
Look for the subagent concurrency limit logic in the codebase, likely in a settings or configuration module. The issue mentions the setting is ignored for non-usage-based accounts. Start by searching for 'maxConcurrency' and 'subagents' in the source. Check how billing type is determined and where the hard-coded limit of 2 is applied. Testing will require a BYOK setup to verify the change works for non-usage-based accounts.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
subagents.maxConcurrency (added in 1.0.66, "Configure subagent concurrency and depth limits in /settings") is ignored unless the account is on usage-based billing. On other accounts the per-session limit is fixed at 2, and the third task call is rejected immediately (no queue).
Environment
- Copilot runtime 1.0.81 (Windows x64), used through VS Code 1.138 Agent Host
- Account: Copilot Free
- Models: BYOK only (custom OpenAI/Anthropic-compatible gateway); no GitHub-hosted models are used
Repro
~/.copilot/settings.json:"subagents": { "maxConcurrency": 6 }- Restart, open a new session, ask the agent to start 4
tasksubagents inmode: "background"in the same turn. - Result: 2 accepted, 2 rejected with:
telemetry:Maximum concurrent agent limit of 2 reached. Wait for existing agents to complete before spawning new ones.limit_type=concurrent, limit_value=2, current_value=2, execution_mode=background
The schema explains it: maxConcurrency — "Maximum number of subagents that can run concurrently; applies to usage-based billing users only".
Request
- Let
subagents.maxConcurrencyapply when the subagents run on BYOK models, since those requests are not billed by GitHub; or - document which plans get which default, and whether upgrading (e.g. Copilot Pro) unlocks the setting.
Why it matters
Orchestrator + worker patterns (one session plans, several cheap subagents execute) are the recommended way to control cost with BYOK. A fixed cap of 2 per session forces either serialization or several parallel chat sessions for the same task.
Related: microsoft/vscode#336440 (asks for the same knob on the VS Code side).
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/copilot-cli
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
github/copilot-cli#4932 ·
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
github/copilot-cli#4909 ·
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
github/copilot-cli#4906 ·
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/copilot-cli#4729 ·
Tutte le issue di github/copilot-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#156 ·
-
Priority/High ready-for-agent Severity/Major Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
comp/cli P3 type/docs
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NousResearch/hermes-agent#119756 · 1 commento ·
-
comp: build/pipeline type: bug version: current (v17+)
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
angular/angularfire#3766 ·
-
out-of-date
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
CachyOS/CachyOS-PKGBUILDS#1903 ·