mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
app-server-daemon: route updater download through HTTP client factory
This commit is contained in:
@@ -1182,7 +1182,15 @@ async fn cli_main(
|
||||
print_app_server_daemon_output(AppServerLifecycleCommand::Version).await?;
|
||||
}
|
||||
AppServerDaemonSubcommand::PidUpdateLoop => {
|
||||
codex_app_server_daemon::run_pid_update_loop().await?;
|
||||
let cli_overrides = root_config_overrides
|
||||
.parse_overrides()
|
||||
.map_err(anyhow::Error::msg)?;
|
||||
let config = ConfigBuilder::default()
|
||||
.cli_overrides(cli_overrides)
|
||||
.build()
|
||||
.await?;
|
||||
codex_app_server_daemon::run_pid_update_loop(config.http_client_factory())
|
||||
.await?;
|
||||
}
|
||||
},
|
||||
Some(AppServerSubcommand::Proxy(proxy_cli)) => {
|
||||
|
||||
Reference in New Issue
Block a user