agent: Don't stop following after edits (#32606)
This is reverting a change from #32071 which caused agent following to stop after the file was edited. This will reintroduce the behavior that the keyboard shortcuts don't work until the model is done generating, but we will revisit that afterwards. Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de> Release Notes: - agent: Fix a regression in agent following behavior after file edits Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
This commit is contained in:
parent
5e07d0f6de
commit
c7ee489c07
1 changed files with 1 additions and 1 deletions
|
@ -1513,7 +1513,7 @@ impl AgentDiff {
|
||||||
multibuffer.add_diff(diff_handle.clone(), cx);
|
multibuffer.add_diff(diff_handle.clone(), cx);
|
||||||
});
|
});
|
||||||
|
|
||||||
let new_state = if thread.read(cx).has_pending_edit_tool_uses() {
|
let new_state = if thread.read(cx).is_generating() {
|
||||||
EditorState::Generating
|
EditorState::Generating
|
||||||
} else {
|
} else {
|
||||||
EditorState::Reviewing
|
EditorState::Reviewing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue