mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
codex: address PR review feedback (#23230)
This commit is contained in:
@@ -101,13 +101,8 @@ impl ToolExecutor<ToolCall> for ListInstallablePluginsTool {
|
||||
}
|
||||
|
||||
/// Installs plugins extension contributors into the supplied extension registry.
|
||||
pub fn install<C>(
|
||||
registry: &mut ExtensionRegistryBuilder<C>,
|
||||
list_installable_plugins_enabled: bool,
|
||||
) {
|
||||
if list_installable_plugins_enabled {
|
||||
registry.tool_contributor(Arc::new(PluginsExtension));
|
||||
}
|
||||
pub fn install<C>(registry: &mut ExtensionRegistryBuilder<C>) {
|
||||
registry.tool_contributor(Arc::new(PluginsExtension));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user