This commit is contained in:
jif-oai
2026-02-24 14:16:52 +00:00
parent 0183b772f9
commit 2cc9c7d445

View File

@@ -6223,8 +6223,8 @@ async fn try_run_sampling_request(
)
.await;
}
if let Some(state) = plan_mode_state.as_mut() {
if handle_assistant_item_done_in_plan_mode(
if let Some(state) = plan_mode_state.as_mut()
&& handle_assistant_item_done_in_plan_mode(
&sess,
&turn_context,
&item,
@@ -6233,9 +6233,8 @@ async fn try_run_sampling_request(
&mut last_agent_message,
)
.await
{
continue;
}
{
continue;
}
let mut ctx = HandleOutputCtx {