Use tree-sitter when returning symbols to the model for a given file (#28352)

This also increases the threshold for when we return an outline during
`read_file`.

Release Notes:

- Fixed an issue that caused the agent to fail reading large files if
the LSP hadn't started yet.
This commit is contained in:
Antonio Scandurra
2025-04-08 16:11:05 -04:00
committed by GitHub
parent ca8f6e8a3f
commit 97641c3298
6 changed files with 46 additions and 218 deletions
Generated
-1
View File
@@ -746,7 +746,6 @@ dependencies = [
"itertools 0.14.0",
"language",
"language_model",
"lsp",
"open",
"project",
"rand 0.8.5",