Skip to content

Enhance Vision mode to support multiple file uploads - #3316

Merged
esokullu merged 3 commits into
webbrain-one:mainfrom
esokullu:main
Nov 5, 2026
Merged

esokullu merged 3 commits into
webbrain-one:mainfrom
esokullu:main

Conversation

@esokullu

@esokullu esokullu commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

esokullu and others added 3 commits November 6, 2026 00:01
A blocked file chooser hands the next steps to upload_file, and each
file takes its own handoff. A run could hand off at most twice, and
handoffs whose upload worked counted too. The third asset of a GitHub
release was refused with "file uploads are not available in vision
mode", and the agent asked the user to turn Vision mode off right
after two uploads had worked in vision mode.

Now only handoffs that end without an upload (expired, or the page
was left) count toward UNSUCCESSFUL_UPLOAD_HANDOFFS_PER_RUN (2). Past
that cap the chooser is reported with its own reason, exhausted: the
earlier attempts attached nothing, so the user can attach the file by
hand or run with Vision mode off. Another chooser in the batch that
armed a handoff is told it is handed off too, instead of getting the
generic vision-mode text. The handoff guidance now says to click the
upload control again for another file. A refused handoff leaves a
vision_upload_handoff trace note (stage refused; reason exhausted,
unreachable or no_source), which metadata traces keep.

Tests cover both builds: three files attached in one run, two
handoffs that attach nothing followed by the exhausted message, the
counter, the batch case, the trace notes and their projection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Vision mode: let a run attach more than two files
@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown

@esokullu is attempting to deploy a commit to the esokullu's projects Team on Vercel.

A member of the Team first needs to authorize it.

@esokullu
esokullu merged commit 1800dca into webbrain-one:main Nov 5, 2026
1 of 4 checks passed
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