# opencode: Dynamic model fetching improvements \(\#64666\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7fc2cf9b84005e3d46159b9b51a466cbc29ada42

Requested commit: 7fc2cf9b84005e3d46159b9b51a466cbc29ada42

Commit: 7fc2cf9b84005e3d46159b9b51a466cbc29ada42

Tree: f468bd41d237cb1967a63cd8ccea04011292cd47

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
opencode: Dynamic model fetching improvements (#64666)

Follow up to #64585

- Filter out deprecated models
- Cache model catalog on disk to reduce loading time
- Refresh models every hour
- Remove auth header when fetching models

All of this matches the behaviour of the OpenCode TUI

Release Notes:

- opencode: Hide deprecated models
- opencode: Improve performance when resolving models
```

## Parents

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

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