# agent: Ensure that web search tool is always available \(\#29799\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fde621f0e32484a8676106cafa90086163c80856

Requested commit: fde621f0e32484a8676106cafa90086163c80856

Commit: fde621f0e32484a8676106cafa90086163c80856

Tree: aef1e933615f46b897304781462a343c8798a088

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
agent: Ensure that web search tool is always available (#29799)

Some changes in the LanguageModelRegistry caused the web search tool not
to show up, because the `DefaultModelChanged` event is not emitted at
startup anymore.

Release Notes:

- agent: Fixed an issue where the web search tool would not be available
after starting Zed (only when using zed.dev as a provider).
```

## Parents

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

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