Updated agent prompt: avoid unnecessary implementation details in response, don't always create gadgets - #489
Open
jonesphillip wants to merge 5 commits into
Open
Updated agent prompt: avoid unnecessary implementation details in response, don't always create gadgets#489jonesphillip wants to merge 5 commits into
jonesphillip wants to merge 5 commits into
Conversation
…ontechnical users, avoid unnecessary implementation details, and use better judgment about when to create a gadget
|
Preview:
|
|
LGTM! |
|
LGTM! |
ndisidore
approved these changes
Sep 14, 2026
ndisidore
left a comment
Member
There was a problem hiding this comment.
Makes sense to lean the prompt less coding specific
ndisidore
reviewed
Sep 14, 2026
Co-authored-by: Nathan Disidore <nathan@cloudflare.com>
jonesphillip
marked this pull request as ready for review
September 14, 2026 16:13
|
Contributor
|
LGTM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Noticing a couple of things in agent behavior that can be improved:
The goal of this PR is to make the agent communicate clearly for nontechnical users, avoid unnecessary implementation details, and use better judgment about when to create a gadget.
I ran 14 scenarios across Sonnet 4.6, GPT-5.6 Sol, and GLM 5.3, comparing the original and updated prompts (summary below). Overall saw improvement. Specifically saw fewer unnecessary gadgets and more direct answers in chat where warranted. Also saw less unprompted narration about bindings and APIs describing how agent was getting answers for users.