mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
fix(core/agent): avoid queuing review responses
This commit is contained in:
@@ -3957,8 +3957,10 @@ async fn run_agent(sess: Arc<Session>, turn_context: Arc<TurnContext>, sub_id: S
|
||||
|
||||
// If there are responses, add them to pending input for the next iteration
|
||||
if !responses.is_empty() {
|
||||
for response in &responses {
|
||||
sess.add_pending_input(response.clone());
|
||||
if !is_review_mode {
|
||||
for response in &responses {
|
||||
sess.add_pending_input(response.clone());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user