mirror of
https://github.com/openai/codex.git
synced 2026-11-05 20:10:33 +00:00
Fix thread manager sample config construction
This commit is contained in:
@@ -638,7 +638,7 @@ pub struct Config {
|
||||
|
||||
/// Configured app reviewer values used to recompute effective overrides
|
||||
/// when the thread-level reviewer changes.
|
||||
configured_app_approvals_reviewers: BTreeMap<String, ApprovalsReviewer>,
|
||||
pub configured_app_approvals_reviewers: BTreeMap<String, ApprovalsReviewer>,
|
||||
|
||||
/// enforce_residency means web traffic cannot be routed outside of a
|
||||
/// particular geography. HTTP clients should direct their requests
|
||||
|
||||
@@ -181,6 +181,8 @@ fn new_config(model: Option<String>, arg0_paths: Arg0DispatchPaths) -> anyhow::R
|
||||
explicit_permission_profile_mode: false,
|
||||
custom_permission_profiles: Vec::new(),
|
||||
approvals_reviewer: ApprovalsReviewer::User,
|
||||
app_approvals_reviewers: BTreeMap::new(),
|
||||
configured_app_approvals_reviewers: BTreeMap::new(),
|
||||
enforce_residency: Constrained::allow_any(/*initial_value*/ None),
|
||||
hide_agent_reasoning: false,
|
||||
show_raw_agent_reasoning: false,
|
||||
|
||||
Reference in New Issue
Block a user