agent2: Port read_file tool (#35840)

Ports the read_file tool from `assistant_tools` to `agent2`. 

Note: Image support not implemented.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2025-08-07 20:46:47 -03:00 committed by GitHub
parent 7d4d8b8398
commit 3d662ee282
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1011 additions and 4 deletions

View file

@ -24,6 +24,8 @@ futures.workspace = true
gpui.workspace = true
handlebars = { workspace = true, features = ["rust-embed"] }
indoc.workspace = true
itertools.workspace = true
language.workspace = true
language_model.workspace = true
language_models.workspace = true
log.workspace = true
@ -55,3 +57,4 @@ project = { workspace = true, "features" = ["test-support"] }
reqwest_client.workspace = true
settings = { workspace = true, "features" = ["test-support"] }
worktree = { workspace = true, "features" = ["test-support"] }
pretty_assertions.workspace = true