fix(tui): send suggestion cancel flag as bool

This commit is contained in:
Felipe Coury
2026-06-03 16:36:45 -03:00
parent e9da25c97d
commit 462071ac7b
+2 -2
View File
@@ -41,7 +41,7 @@ pub(super) async fn fetch_next_prompt_suggestion(
params: ThreadSuggestNextPromptParams {
thread_id: thread_id.to_string(),
cancellation_token: Some(cancellation_token),
cancel: None,
cancel: false,
},
})
.await
@@ -62,7 +62,7 @@ pub(super) async fn cancel_next_prompt_suggestion(
params: ThreadSuggestNextPromptParams {
thread_id: thread_id.to_string(),
cancellation_token: Some(cancellation_token),
cancel: Some(/*cancel*/ true),
cancel: true,
},
})
.await