Fix thread manager sample config construction

This commit is contained in:
Alex Zamoshchin
2026-06-03 17:10:21 -04:00
parent e5d4af2bd0
commit 81a7a94459
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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,