mirror of
https://github.com/openai/codex.git
synced 2026-11-05 08:28:29 +00:00
feat(auto-review) short-circuit (#18890)
## Summary Short circuit the convo if auto-review hits too many denials ## Testing - [x] Added unit tests --------- Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
1 parent
b77791c228
commit
ed4def8286
28 files changed
+645
-22
No files matched your search
@@ -263,7 +263,7 @@ async fn run_codex_tool_session_inner(
|
||||
outgoing.send_response(request_id.clone(), result).await;
|
||||
break;
|
||||
}
|
||||
EventMsg::Warning(_) => {
|
||||
EventMsg::Warning(_) | EventMsg::GuardianWarning(_) => {
|
||||
continue;
|
||||
}
|
||||
EventMsg::GuardianAssessment(_) => {
|
||||
|
||||
Reference in new issue
Block a user