core-plugins: route curated startup sync through HTTP client factory

This commit is contained in:
Michael Bolin
2026-07-09 16:05:41 -07:00
parent aa37aa796a
commit f4bd16ecbd
16 changed files with 309 additions and 85 deletions
+1
View File
@@ -1503,6 +1503,7 @@ impl Config {
self.features.enabled(Feature::Plugins),
self.features.enabled(Feature::RemotePlugin),
self.chatgpt_base_url.clone(),
self.http_client_factory(),
)
}
@@ -221,9 +221,10 @@ plugins = true
let plugins_manager = PluginsManager::new(config.codex_home.to_path_buf());
fetch_and_cache_global_remote_plugin_catalog(
codex_home.path(),
&RemotePluginServiceConfig {
chatgpt_base_url: config.chatgpt_base_url.clone(),
},
&RemotePluginServiceConfig::new(
config.chatgpt_base_url.clone(),
config.http_client_factory(),
),
Some(&auth),
)
.await