claude-code - 💡(How to fix) Fix [Bug] Model context window stuck at 200k regardless of effort level configuration

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…

Error Message

[{"error":"AxiosError: Request failed with status code 400\n at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T16:56:36.426Z"},{"error":"AxiosError: Request failed with status code 400\n at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:22.887Z"},{"error":"AxiosError: Request failed with status code 400\n at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:35.644Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n at Jwq (/$bunfs/root/src/entrypoints/cli.js:253:283620)\n at async Apq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n at async iE6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n at async hq_ (/$bunfs/root/src/entrypoints/cli.js:2727:2084)\n at async ZDH (/$bunfs/root/src/entrypoints/cli.js:2752:5698)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2776:3358)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T19:00:18.887Z"}]

Code Example

[{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T16:56:36.426Z"},{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:22.887Z"},{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:35.644Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Jwq (/$bunfs/root/src/entrypoints/cli.js:253:283620)\n    at async Apq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async iE6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async hq_ (/$bunfs/root/src/entrypoints/cli.js:2727:2084)\n    at async ZDH (/$bunfs/root/src/entrypoints/cli.js:2752:5698)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2776:3358)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T19:00:18.887Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description using claude CLI in ghostty in a tumx session and it showing i am using claude opus 3.7 (1m) context | high for all effort levels regardless of what i change it too a stuck bug

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.114
  • Feedback ID: 9f51acde-c51c-45f1-831f-00937d1a0f02

Errors

[{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T16:56:36.426Z"},{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:22.887Z"},{"error":"AxiosError: Request failed with status code 400\n    at CU (/$bunfs/root/src/entrypoints/cli.js:110:1194)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:12744)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:865:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async MlH (/$bunfs/root/src/entrypoints/cli.js:253:275865)\n    at async xE6 (/$bunfs/root/src/entrypoints/cli.js:406:3883)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T17:10:35.644Z"},{"error":"Error: Failed to delete keychain entry: security: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n    at Jwq (/$bunfs/root/src/entrypoints/cli.js:253:283620)\n    at async Apq (/$bunfs/root/src/entrypoints/cli.js:406:898)\n    at async iE6 (/$bunfs/root/src/entrypoints/cli.js:406:796)\n    at async hq_ (/$bunfs/root/src/entrypoints/cli.js:2727:2084)\n    at async ZDH (/$bunfs/root/src/entrypoints/cli.js:2752:5698)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2776:3358)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-19T19:00:18.887Z"}]

extent analysis

TL;DR

The issue might be resolved by checking and updating the configuration settings for the claude CLI in the ghostty environment, specifically focusing on the effort levels and context settings.

Guidance

  • Review the configuration settings for the claude CLI to ensure that the effort levels and context are correctly set and not stuck on "high" for all levels.
  • Verify that the version of claude being used (3.7) is compatible with the ghostty environment and the tumx session.
  • Check the keychain entries for any issues, as one of the error messages indicates a problem with deleting a keychain entry.
  • Consider resetting or reinstalling the claude CLI to ensure a clean configuration and to rule out any corruption issues.

Example

No specific code snippet can be provided without more context, but checking the configuration settings might involve running a command like claude config or claude --version to verify the settings and version.

Notes

The provided error messages suggest issues with the Axios requests and keychain management, which might be related to the configuration or version of the claude CLI. However, without more specific information about the ghostty environment and the tumx session, it's difficult to provide a more targeted solution.

Recommendation

Apply a workaround by checking and updating the configuration settings for the claude CLI, as this seems to be the most likely cause of the issue. If the problem persists, consider seeking further assistance or reporting the issue to the developers of the claude CLI.

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

claude-code - 💡(How to fix) Fix [Bug] Model context window stuck at 200k regardless of effort level configuration