agent: Only show compatible tools in profile selector (#40917)

In practice this just hides the web search tool when not using the Zed
provider

Release Notes:

- Fixed an issue where the web search tool would show up in the profile
selector even when not using a model via Zed Pro
6622902964Bennet Fenner committed on 10/22/2025, 6:17:33 PM· committed by GitHubparentcb7881e
4 files changedLine totals unavailable