[Feature Request] Support per-agent max_tokens configuration in frontmatter
Resolved 💬 3 comments Opened Apr 23, 2026 by marcoabreu Closed Apr 27, 2026
Bug Description
I'm unable to specify a limited MAX_TOKENS for a team agent anymore since model: opus in the subagent frontmatter has now switched from the 200k to the 1M model. How do I limit the context of a specific subagent/teamagent without setting the global environment variable? I want the coordinator to have 200k and the team agents to have 1M context.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.118
- Feedback ID: 3db00a95-e39d-4033-87f2-1fc9b444f895
Errors
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗