# agent: Model name context \(\#41490\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c1dea842fff6ff20707fd570c5ec068b87103da4

Requested commit: c1dea842fff6ff20707fd570c5ec068b87103da4

Commit: c1dea842fff6ff20707fd570c5ec068b87103da4

Tree: 75a0cfd1089df0968c77a018f7c036dda3aec0e4

Author: versecafe

Committer: GitHub

## Message

```
agent: Model name context (#41490)

Closes #41478

Release Notes:

- Fixed #41478

<img width="459" height="916" alt="Screenshot 2025-10-29 at 1 31 26 PM"
src="https://github.com/user-attachments/assets/1d5b9fdf-9800-44e4-bdd5-f0964f93625f"
/>

> caused by using haiku 4.5 from the anthropic provider and then
swapping to sonnet 3.7 through zed, doing this does mess with prompt
caching but a model swap already invalidates that so it shouldn't have
any cost impact on end users
```

## Parents

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

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