core-plugins: route remote requests through HTTP client factory

This commit is contained in:
Michael Bolin
2026-07-09 16:05:41 -07:00
parent f4bd16ecbd
commit 5edb35e2c9
14 changed files with 241 additions and 102 deletions
+9
View File
@@ -1594,6 +1594,15 @@ respect_system_proxy = true
config.http_client_factory().outbound_proxy_policy(),
codex_http_client::OutboundProxyPolicy::RespectSystemProxy
);
assert_eq!(
config.plugins_config_input().remote_plugin_service_config(),
codex_core_plugins::remote::RemotePluginServiceConfig::new(
config.chatgpt_base_url,
codex_http_client::HttpClientFactory::new(
codex_http_client::OutboundProxyPolicy::RespectSystemProxy,
),
)
);
Ok(())
}