mirror of
https://github.com/openai/codex.git
synced 2026-11-22 07:13:50 +00:00
Respect plugin skill availability in tool suggestions (#37447)
## Why Plugin suggestions should report skills only when the plugin has an enabled skill. ## What changed - Load suggestion metadata through the shared plugin skill-root loader. - Apply skill configuration when setting `has_skills` on suggestion candidates. ## Testing Added coverage for local plugin suggestions with the plugin skill both enabled and disabled. GitOrigin-RevId: bceb14528c9042b474eaad6efaf919bef72e0ca4
This commit is contained in:
1 parent
964a227d8c
commit
a9d59d8b8e
3 files changed
+124
-7
No files matched your search
@@ -1860,7 +1860,7 @@ impl PluginsManager {
|
||||
marketplace_name,
|
||||
plugin,
|
||||
self.restriction_product,
|
||||
Arc::clone(&self.skill_root_scan_slots),
|
||||
self.skill_root_loader.as_ref(),
|
||||
)
|
||||
.await?;
|
||||
Ok(fragment.project(skill_config_rules, self.auth_mode()))
|
||||
|
||||
Reference in new issue
Block a user