Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Allow subagents.maxConcurrency for BYOK / non usage-based accounts (currently hard-capped at 2)

未關閉
#4,940 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
shell

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

area:agents area:configuration area:models
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
  1. ~/.copilot/settings.json: "subagents": { "maxConcurrency": 6 }
  2. Restart, open a new session, ask the agent to start 4 task subagents in mode: "background" in the same turn.
  3. Result: 2 accepted, 2 rejected with:
    Maximum concurrent agent limit of 2 reached. Wait for existing agents to complete before spawning new ones.
    
    telemetry: 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.maxConcurrency apply 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).

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。