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 authored and GitHub committed 2026-03-09 11:05:02 -07:00
1 parent 75e608343c
commit c1f3ef16ec
2 files changed
+5

No files matched your search

+4
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)