[Improve] Show Auto more of what the agent read - #3387
Merged
Merged
Conversation
Auto was shown the newest 8 tool results and the first 1,500 characters of each. When the agent looked a person or an item up in a longer listing, or made a few more calls before using the id it found, the lookup was cut off or dropped, so the model could not see what the id referred to and asked for approval. It is now shown the newest 20 results, up to 6,000 characters of each and 16,000 across them.
Contributor
|
No code issues found. See task
Reviewed 55dc1e5 |
The budget for what Auto is shown tracked only each result's output, so with 20 results their arguments could add far more than the stated total. Arguments now count against the same budget and are left out when they no longer fit.
With a whole listing in view, an id whose record carries a name close to the owner's scored slightly higher than before and ran once in fifteen runs. The owner wording now says that a record whose name or address only resembles the owner's belongs to somebody else.
Each shown result carries its tool's name, up to 200 characters, which the budget did not count. It is now deducted along with the output and the arguments.
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.
Why
Auto was shown the newest 8 tool results and the first 1,500 characters of each. When the agent looked a person or an item up in a longer listing, or made a few more calls before using the id it found, the lookup was cut off or dropped. The model then could not see what the id referred to and asked for approval, for example on "assign this to me" where the tool takes a user id.
What
How to test
A unit test covers the new limits.