mirror of
https://github.com/openai/codex.git
synced 2026-12-06 01:10:58 +00:00
fix(tui): send suggestion cancel flag as bool
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user