mirror of
https://github.com/openai/codex.git
synced 2026-05-24 21:14:51 +00:00
codex: fix CI failure on PR #18902
This commit is contained in:
@@ -382,7 +382,14 @@ pub(crate) async fn run_turn(
|
||||
if !pending_input.is_empty() {
|
||||
let mut pending_input_iter = pending_input.into_iter();
|
||||
while let Some(pending_input_item) = pending_input_iter.next() {
|
||||
match inspect_input_item(&sess, &turn_context, pending_input_item, None).await {
|
||||
match inspect_input_item(
|
||||
&sess,
|
||||
&turn_context,
|
||||
pending_input_item,
|
||||
/*original_user_input*/ None,
|
||||
)
|
||||
.await
|
||||
{
|
||||
InputItemHookDisposition::Accepted(pending_input) => {
|
||||
accepted_pending_input.push(*pending_input);
|
||||
}
|
||||
|
||||
@@ -448,7 +448,14 @@ impl Session {
|
||||
}
|
||||
if !pending_input.is_empty() {
|
||||
for pending_input_item in pending_input {
|
||||
match inspect_input_item(self, &turn_context, pending_input_item, None).await {
|
||||
match inspect_input_item(
|
||||
self,
|
||||
&turn_context,
|
||||
pending_input_item,
|
||||
/*original_user_input*/ None,
|
||||
)
|
||||
.await
|
||||
{
|
||||
InputItemHookDisposition::Accepted(pending_input) => {
|
||||
record_input_item(self, &turn_context, *pending_input).await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user