mirror of
https://github.com/openai/codex.git
synced 2026-04-28 18:32:04 +03:00
feat(core) Smart approvals on (#10286)
## Summary Turn on Smart Approvals by default ## Testing - [x] Updated unit tests
This commit is contained in:
@@ -320,7 +320,7 @@ async fn resume_includes_initial_messages_and_sends_prior_items() {
|
||||
.expect("prior assistant message");
|
||||
let pos_permissions = messages
|
||||
.iter()
|
||||
.position(|(role, text)| role == "developer" && text.contains("`approval_policy`"))
|
||||
.position(|(role, text)| role == "developer" && text.contains("<permissions instructions>"))
|
||||
.expect("permissions message");
|
||||
let pos_user_instructions = messages
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user