feat: add CLAUDE_CODE_DISABLE_1M_CONTEXT config toggle #154

Closed
opened 2026-02-24 11:00:36 -08:00 by hikari · 0 comments
Owner

Summary

Claude CLI 2.1.50 added the CLAUDE_CODE_DISABLE_1M_CONTEXT environment variable to disable the 1M context window support.

Current behaviour

There is no way to disable 1M context from within Hikari Desktop — users would need to manually set the environment variable before launching the app.

Desired behaviour

Expose a toggle in the config/settings UI that sets CLAUDE_CODE_DISABLE_1M_CONTEXT when launching Claude Code sessions. This is useful for users on plans or models where the 1M context causes issues or unexpected billing.

References

  • Claude CLI changelog 2.1.50

This issue was created with help from Hikari~ 🌸

## Summary Claude CLI 2.1.50 added the `CLAUDE_CODE_DISABLE_1M_CONTEXT` environment variable to disable the 1M context window support. ## Current behaviour There is no way to disable 1M context from within Hikari Desktop — users would need to manually set the environment variable before launching the app. ## Desired behaviour Expose a toggle in the config/settings UI that sets `CLAUDE_CODE_DISABLE_1M_CONTEXT` when launching Claude Code sessions. This is useful for users on plans or models where the 1M context causes issues or unexpected billing. ## References - Claude CLI changelog 2.1.50 ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-02-24 20:48:50 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#154