# Remove deprecated 1M context beta header for Sonnet 4.5 \(\#52767\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/0f173eb8ae049bc484a4e8a63213e49e17d61eab)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 0f173eb8ae049bc484a4e8a63213e49e17d61eab

Requested commit: 0f173eb8ae049bc484a4e8a63213e49e17d61eab

Commit: 0f173eb8ae049bc484a4e8a63213e49e17d61eab

Tree: fd4ab74616ddcde28316a8dcdc3fbea8bafac574

Author: Richard Feldman

Committer: GitHub

## Message

```
Remove deprecated 1M context beta header for Sonnet 4.5 (#52767)

The `CONTEXT_1M_BETA_HEADER` (`context-1m-2025-08-07`) is deprecated for
Sonnet 4 and 4.5. This removes the constant from the anthropic crate and
the match arm in `beta_headers()` that sent it for
`ClaudeSonnet4_5_1mContext`.

Note: The bedrock crate still has its own copy of this constant, used
when the user-configurable `allow_extended_context` setting is enabled.
That may warrant a separate cleanup.

Closes AI-114

Release Notes:

- N/A
```

## Parents

- [d24480b518fd33bca9577eef0fa211aebb57fac8](https://git.cafe/gitcafe/zed/commit/d24480b518fd33bca9577eef0fa211aebb57fac8?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/0f173eb8ae049bc484a4e8a63213e49e17d61eab?format=markdown)
