fix: stop honoring CODEX_MANAGED_CONFIG_PATH environment variable in production (#8762)

This commit is contained in:
Michael Bolin
2026-01-06 07:10:27 -08:00
committed by GitHub
parent 8858012fd1
commit 7ecd0dc9b3
9 changed files with 83 additions and 33 deletions

View File

@@ -1103,7 +1103,7 @@ impl CodexMessageProcessor {
}
async fn get_user_saved_config(&self, request_id: RequestId) {
let service = ConfigService::new(self.config.codex_home.clone(), Vec::new());
let service = ConfigService::new_with_defaults(self.config.codex_home.clone());
let user_saved_config: UserSavedConfig = match service.load_user_saved_config().await {
Ok(config) => config,
Err(err) => {