Skip to content

Commit 1fda843

Browse files
Update safety check wording (openai#19149)
Updates wording of cyber safety check.
1 parent 45e1742 commit 1fda843

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

codex-rs/tui/src/chatwidget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ const MULTI_AGENT_ENABLE_TITLE: &str = "Enable subagents?";
259259
const MULTI_AGENT_ENABLE_YES: &str = "Yes, enable";
260260
const MULTI_AGENT_ENABLE_NO: &str = "Not now";
261261
const MULTI_AGENT_ENABLE_NOTICE: &str = "Subagents will be enabled in the next session.";
262-
const TRUSTED_ACCESS_FOR_CYBER_VERIFICATION_WARNING: &str = "Your account was flagged for potentially high-risk cyber activity. Requests may be slower while additional verification is applied. To regain faster access, apply for trusted access: https://chatgpt.com/cyber or learn more: https://developers.openai.com/codex/concepts/cyber-safety";
262+
const TRUSTED_ACCESS_FOR_CYBER_VERIFICATION_WARNING: &str = "Your conversations have multiple flags for possible cybersecurity risk. Responses may take longer because extra safety checks are on. To get authorized for security work, join the Trusted Access for Cyber program: https://chatgpt.com/cyber";
263263
const MEMORIES_DOC_URL: &str = "https://developers.openai.com/codex/memories";
264264
const MEMORIES_ENABLE_TITLE: &str = "Enable memories?";
265265
const MEMORIES_ENABLE_YES: &str = "Yes, enable";

codex-rs/tui/src/chatwidget/tests/app_server.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,8 +738,9 @@ async fn live_app_server_model_verification_renders_warning() {
738738
let cells = drain_insert_history(&mut rx);
739739
assert_eq!(cells.len(), 1);
740740
let rendered = lines_to_single_string(&cells[0]);
741-
assert!(rendered.contains("flagged for potentially high-risk cyber activity"));
742-
assert!(rendered.contains("slower while additional verification"));
741+
assert!(rendered.contains("multiple flags for possible cybersecurity risk"));
742+
assert!(rendered.contains("extra safety checks are on"));
743+
assert!(rendered.contains("Trusted Access for Cyber"));
743744
assert!(rendered.contains("https://chatgpt.com/cyber"));
744745
}
745746

codex-rs/tui/src/chatwidget/tests/status_and_layout.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ async fn core_model_verification_renders_warning() {
6262
let cells = drain_insert_history(&mut rx);
6363
assert_eq!(cells.len(), 1);
6464
let rendered = lines_to_single_string(&cells[0]);
65-
assert!(rendered.contains("flagged for potentially high-risk cyber activity"));
66-
assert!(rendered.contains("slower while additional verification"));
65+
assert!(rendered.contains("multiple flags for possible cybersecurity risk"));
66+
assert!(rendered.contains("extra safety checks are on"));
67+
assert!(rendered.contains("Trusted Access for Cyber"));
6768
assert!(rendered.contains("https://chatgpt.com/cyber"));
6869
}
6970

0 commit comments

Comments
 (0)