Need a way to programmatically start a session/subagent with specific context window and reasoning effort
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the feature or problem you'd like to solve
Currently model's context window size and reasoning effort can only be manually specified through the interactive `/model` flow. There seems to be no way to specify it for subagent and SDK.
### Proposed solution
- Agent markdown file's frontmatter adds some properties to specify the reasoning effort and context window level.
- Copilot SDK exposes a supported way to specify reasoning effort and context window tier when creating a session.
### Example prompts or workflows
- Although some models have larger context window (like 1M), but by default they use a smaller one (like 200K), which limits their performance.
- For automation system, it needs a more powerful model with more reasoning effort and larger context window to do complex tasks for large project.
- Multi-agent workflow requires delegating tasks to subagent, and may need different subagent to have different settings.
### Additional context
_No response_
貢獻指南
研究方向
Start by locating the agent markdown frontmatter handling and the Copilot SDK session-creation API. Compare how the interactive /model flow sets reasoning effort and context window, then trace how subagents are started. Done means agents, SDK sessions, and subagents can each receive these settings programmatically.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- api, cli
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100