fix(plugin): Also load curated plugins for TUI. (#14050)

Also run maybe_start_curated_repo_sync_for_config at TUI start time.
This commit is contained in:
xl-openai 2026-03-09 11:05:02 -07:00 committed by GitHub
parent 75e608343c
commit c1f3ef16ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View file

@ -199,6 +199,7 @@ impl MessageProcessor {
.enabled(codex_core::features::Feature::DefaultModeRequestUserInput),
},
));
// TODO(xl): Move into PluginManager once this no longer depends on config feature gating.
thread_manager
.plugins_manager()
.maybe_start_curated_repo_sync_for_config(&config);

View file

@ -1703,6 +1703,10 @@ impl App {
.enabled(codex_core::features::Feature::DefaultModeRequestUserInput),
},
));
// TODO(xl): Move into PluginManager once this no longer depends on config feature gating.
thread_manager
.plugins_manager()
.maybe_start_curated_repo_sync_for_config(&config);
let mut model = thread_manager
.get_models_manager()
.get_default_model(&config.model, RefreshStrategy::Offline)