address feedback

This commit is contained in:
viyatb-oai
2025-12-23 18:03:55 -08:00
parent 127b89b4ed
commit 9d473922e3
12 changed files with 628 additions and 708 deletions

View File

@@ -41,8 +41,7 @@ pub async fn run_main(args: Args) -> Result<()> {
warn!("allowUnixSockets is macOS-only; requests will be rejected on this platform");
}
let cfg_path = config::default_codex_config_path()?;
let state = Arc::new(AppState::new(cfg_path).await?);
let state = Arc::new(AppState::new().await?);
let runtime = config::resolve_runtime(&state.current_cfg().await?);
let http_addr: SocketAddr = runtime.http_addr;