acp: Refactor agent2 send to have a clearer control flow (#36689)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2025-08-21 18:11:05 +02:00 committed by Joseph T. Lyons
parent 3ea59d23fd
commit ca0a20f3d5
3 changed files with 134 additions and 163 deletions

1
Cargo.lock generated
View file

@ -244,6 +244,7 @@ dependencies = [
"terminal",
"text",
"theme",
"thiserror 2.0.12",
"tree-sitter-rust",
"ui",
"unindent",