mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
core-plugins: route curated startup sync through HTTP client factory
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user