Skip to content

[Improve] Show Auto more of what the agent read - #3387

Merged
daniel-lxs merged 4 commits into
developfrom
improve/auto-show-more-of-results
Oct 3, 2026
Merged

daniel-lxs merged 4 commits into
developfrom
improve/auto-show-more-of-results

Conversation

@daniel-lxs

@daniel-lxs daniel-lxs commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

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

  • Auto is now shown the newest 20 results, up to 6,000 characters of each and 16,000 across them, counting each result's arguments as well as its output.
  • With whole listings in view, the owner wording now says that a record whose name or address only resembles the owner's belongs to somebody else.

How to test

  1. Turn Auto on for a session with a tracker that takes assignees as user ids, in a workspace whose user list is long.
  2. Ask "Assign ISSUE-1 to me."
  3. The agent looks up your user id and assigns the issue without an approval card.

A unit test covers the new limits.

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.
@roomote-community

roomote-community Bot commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

No code issues found. See task

  • packages/cloud-agents/src/server/integration-tool-auto-identifiers.ts:12 Tool-result arguments are excluded from the new shared context budget, allowing a 20-result prompt to substantially exceed 16,000 characters.
  • packages/cloud-agents/src/server/integration-tool-auto-identifiers.ts:50 Tool names are excluded from the shared context budget, so a 20-result prompt can still exceed 16,000 characters.

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.
@daniel-lxs
daniel-lxs merged commit e42838c into develop Oct 3, 2026
21 checks passed
@daniel-lxs
daniel-lxs deleted the improve/auto-show-more-of-results branch October 3, 2026 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant