assistant2: Handle non-text files in context pickers (#22795)

We'll now show an error message if the user tries to add a directory
that contains no text files or when they try to add a single non-text
file.

Release Notes:

- N/A

---------

Co-authored-by: Danilo <danilo@zed.dev>
36301442ddAgus Zubiaga committed on 1/8/2025, 2:06:29 PM· committed by GitHubparent52f29b4
2 files changedLine totals unavailable