Do not append items on override turn context (#10354)

This commit is contained in:
pakrym-oai
2026-02-01 18:51:26 -08:00
committed by GitHub
Unverified
parent 8b95d3e082
commit 03fcd12e77
11 changed files with 288 additions and 101 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ pub(crate) async fn handle_update_plan(
arguments: String,
_call_id: String,
) -> Result<String, FunctionCallError> {
if turn_context.collaboration_mode_kind == ModeKind::Plan {
if turn_context.collaboration_mode.mode == ModeKind::Plan {
return Err(FunctionCallError::RespondToModel(
"update_plan is a TODO/checklist tool and is not allowed in Plan mode".to_string(),
));