claude-code - 💡(How to fix) Fix [Bug] Team agents spawned with Opus 4.7 200k context window instead of 1M context model [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#49600Fetched 2026-04-17 08:36:35
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4renamed ×1
RAW_BUFFERClick to expand / collapse

Bug Description Opus team agents seem to be spawned with the 200k context window rather than the 1M context although the main session is running the 1M model

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.111
  • Feedback ID: d38dcec3-01d4-43f4-be70-b0823024cfac

Errors

extent analysis

TL;DR

The Opus team agents are likely being spawned with the incorrect context window size due to a configuration mismatch.

Guidance

  • Verify the configuration settings for the Opus team agents to ensure they are set to use the 1M context window.
  • Check the main session configuration to confirm it is running the 1M model and that the correct context window size is being applied.
  • Investigate if there are any environment-specific settings (e.g., platform or terminal-specific) that may be overriding the context window size.
  • Review the version history to see if this issue has been introduced in a recent update (e.g., version 2.1.111).

Notes

The issue may be specific to the darwin platform or tmux terminal, and further investigation is needed to determine the root cause.

Recommendation

Apply workaround: Verify and adjust the configuration settings for the Opus team agents to ensure they match the main session's context window size, as it is unclear if an upgrade to a fixed version is available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING