mirror of
https://github.com/openai/codex.git
synced 2026-11-24 07:20:27 +00:00
chore(core) Add approvals reviewer to UserTurn (#15426)
## Summary Adds support for approvals_reviewer to `Op::UserTurn` so we can migrate `[CodexMessageProcessor::turn_start]` to use Op::UserTurn ## Testing - [x] Adds quick test for the new field Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
1 parent
191fd9fd16
commit
67c1c7c054
43 files changed
+198
-3
No files matched your search
@@ -5260,6 +5260,7 @@ impl ChatWidget {
|
||||
items,
|
||||
cwd: self.config.cwd.clone(),
|
||||
approval_policy: self.config.permissions.approval_policy.value(),
|
||||
approvals_reviewer: None,
|
||||
sandbox_policy: self.config.permissions.sandbox_policy.get().clone(),
|
||||
model: effective_mode.model().to_string(),
|
||||
effort: effective_mode.reasoning_effort(),
|
||||
|
||||
Reference in new issue
Block a user