Skip to content

[tool_suggest] Improve tool_suggest triggering conditions.#20091

Merged
mzeng-openai merged 9 commits intomainfrom
dev/mzeng/move-toolsuggest-namespace
Apr 29, 2026
Merged

[tool_suggest] Improve tool_suggest triggering conditions.#20091
mzeng-openai merged 9 commits intomainfrom
dev/mzeng/move-toolsuggest-namespace

Conversation

@mzeng-openai
Copy link
Copy Markdown
Collaborator

@mzeng-openai mzeng-openai commented Apr 28, 2026

Summary

  • Tighten tool_suggest guidance so it prefers explicit plugin install requests, while still allowing a connector install when the relevant plugin is already installed and a needed connector from that plugin is missing.
  • Tell the model not to call tool_suggest in parallel with other tools.

Testing

  • cargo test -p codex-tools tool_suggest
  • cargo test -p codex-core tool_suggest

@mzeng-openai mzeng-openai changed the title Move tool_suggest into its own namespace [tool_suggest] Improve tool_suggest triggering conditions. Apr 29, 2026
Comment thread codex-rs/tools/src/tool_discovery.rs Outdated
@mzeng-openai mzeng-openai marked this pull request as ready for review April 29, 2026 00:20
@mzeng-openai mzeng-openai requested a review from a team as a code owner April 29, 2026 00:20
Comment thread codex-rs/tools/src/tool_registry_plan.rs Outdated
@mzeng-openai mzeng-openai requested a review from pakrym-oai April 29, 2026 18:11
@mzeng-openai mzeng-openai requested a review from sayan-oai April 29, 2026 19:37
Comment thread codex-rs/tools/src/tool_discovery.rs
Comment thread codex-rs/tools/src/tool_discovery.rs
@sayan-oai sayan-oai self-requested a review April 29, 2026 19:45
@mzeng-openai mzeng-openai merged commit 8ce48f9 into main Apr 29, 2026
25 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/move-toolsuggest-namespace branch April 29, 2026 20:41
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 29, 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.

3 participants