mirror of
https://github.com/openai/codex.git
synced 2026-11-04 00:24:43 +00:00
Add safety check notification and error handling (#19055)
Adds a new app-server notification that fires when a user account has been flagged for potential safety reasons.
This commit is contained in:
1 parent
02170996e6
commit
bbff4ee61a
61 files changed
+1414
-15
No files matched your search
@@ -263,7 +263,9 @@ async fn run_codex_tool_session_inner(
|
||||
outgoing.send_response(request_id.clone(), result).await;
|
||||
break;
|
||||
}
|
||||
EventMsg::Warning(_) | EventMsg::GuardianWarning(_) => {
|
||||
EventMsg::Warning(_)
|
||||
| EventMsg::GuardianWarning(_)
|
||||
| EventMsg::ModelVerification(_) => {
|
||||
continue;
|
||||
}
|
||||
EventMsg::GuardianAssessment(_) => {
|
||||
|
||||
Reference in new issue
Block a user