Accept `View`s on `LanguageModelTool`s (#10956)

Creates a `ToolView` trait to allow interactivity. This brings expanding
and collapsing to the excerpts from project index searches.

Release Notes:

- N/A

---------

Co-authored-by: Nathan <nathan@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
f176e8f0e4Kyle Kelley committed on 4/25/2024, 8:03:43 PM· committed by GitHubparent7005f0b
5 files changedLine totals unavailable