Skip to content

[plugins] Support plugin installation elicitation.#14896

Merged
mzeng-openai merged 6 commits intomainfrom
dev/mzeng/plugin_suggestion_2
Mar 17, 2026
Merged

[plugins] Support plugin installation elicitation.#14896
mzeng-openai merged 6 commits intomainfrom
dev/mzeng/plugin_suggestion_2

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

@mzeng-openai mzeng-openai commented Mar 17, 2026

It now supports:

  • Connectors that are from installed and enabled plugins that are not installed yet
  • Plugins that are on the allowlist that are not installed yet.

@mzeng-openai mzeng-openai marked this pull request as ready for review March 17, 2026 06:56
@mzeng-openai
Copy link
Copy Markdown
Collaborator Author

Disabled TUI for this since plugin installation is not supported yet.

@mzeng-openai mzeng-openai requested a review from sayan-oai March 17, 2026 19:01
Comment on lines +378 to +380
fn tool_suggest_connector_ids(config: &Config) -> HashSet<String> {
PluginsManager::new(config.codex_home.clone())
.plugins_for_config(config)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

confirming-- we only want to suggest connectors that are associated with plugins? if they have no plugins installed, this would be empty, right?

Comment on lines 101 to +102
return Err(FunctionCallError::RespondToModel(
"plugin tool suggestions are not currently available".to_string(),
"tool suggestions currently support only action_type=\"install\"".to_string(),
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we not tell the model that enable is an option here?

@mzeng-openai mzeng-openai merged commit 683c37c into main Mar 17, 2026
54 of 56 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/plugin_suggestion_2 branch March 17, 2026 20:19
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants