Skip to content

[tool_suggest] More prompt polishes.#20566

Merged
mzeng-openai merged 9 commits into
mainfrom
dev/mzeng/improve_tool_suggest_2
May 2, 2026
Merged

[tool_suggest] More prompt polishes.#20566
mzeng-openai merged 9 commits into
mainfrom
dev/mzeng/improve_tool_suggest_2

Conversation

@mzeng-openai

@mzeng-openai mzeng-openai commented May 1, 2026

Copy link
Copy Markdown
Collaborator

Tool suggest still misfires when model needs tool_search, updating the prompts to further disambiguate it:

  • rename it from tool_suggest to request_plugin_install
  • rephrase "suggestion" to "install" in the tool descriptions.
  • disambiguate "the tool" vs "the plugin/connector".

Tested with the Codex App and verified it still works.

@mzeng-openai mzeng-openai marked this pull request as ready for review May 1, 2026 18:16
@mzeng-openai mzeng-openai requested a review from a team as a code owner May 1, 2026 18:16

@sayan-oai sayan-oai left a comment

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.

please rename files accordingly

@mzeng-openai mzeng-openai enabled auto-merge (squash) May 1, 2026 20:20

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.

why's this still called ToolSuggestHandler? whys the file still called tool_suggest.rs?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Did a larger sweep for renaming things.

@mzeng-openai mzeng-openai disabled auto-merge May 1, 2026 20:44
@mzeng-openai mzeng-openai enabled auto-merge (squash) May 1, 2026 23:01
@mzeng-openai mzeng-openai merged commit f88701f into main May 2, 2026
32 of 35 checks passed
@mzeng-openai mzeng-openai deleted the dev/mzeng/improve_tool_suggest_2 branch May 2, 2026 04:22
@github-actions github-actions Bot locked and limited conversation to collaborators May 2, 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