mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
Use call_id for request_user_input and bullet header
This commit is contained in:
@@ -371,8 +371,7 @@ async fn handle_request_user_input(
|
||||
call_id, questions, ..
|
||||
} = event;
|
||||
let args = RequestUserInputArgs { questions };
|
||||
let response_fut =
|
||||
parent_session.request_user_input(parent_ctx, parent_ctx.sub_id.clone(), args);
|
||||
let response_fut = parent_session.request_user_input(parent_ctx, call_id.clone(), args);
|
||||
let response = await_user_input_with_cancel(
|
||||
response_fut,
|
||||
parent_session,
|
||||
|
||||
@@ -1795,7 +1795,7 @@ impl HistoryCell for RequestUserInputResultCell {
|
||||
.count();
|
||||
let unanswered = total.saturating_sub(answered);
|
||||
|
||||
let mut header = vec!["Questions".bold()];
|
||||
let mut header = vec!["•".dim(), " ".into(), "Questions".bold()];
|
||||
header.push(format!(" {answered}/{total} answered").dim());
|
||||
if self.interrupted {
|
||||
header.push(" (interrupted)".cyan());
|
||||
|
||||
Reference in New Issue
Block a user