Skip to content

Browser: Fix 'Tool ran without output or errors' for Agent Host image-returning client tools#316847

Draft
jruales wants to merge 2 commits into
mainfrom
jruales/2026.16-fix-ran-without-output
Draft

Browser: Fix 'Tool ran without output or errors' for Agent Host image-returning client tools#316847
jruales wants to merge 2 commits into
mainfrom
jruales/2026.16-fix-ran-without-output

Conversation

@jruales
Copy link
Copy Markdown
Contributor

@jruales jruales commented May 17, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 17, 2026 03:58
@jruales jruales changed the title Browser: Fix 'Tool ran without output or errors' for Agent Host screenshot tool Browser: Fix 'Tool ran without output or errors' for Agent Host image-returning tools May 17, 2026
@jruales jruales changed the title Browser: Fix 'Tool ran without output or errors' for Agent Host image-returning tools Browser: Fix 'Tool ran without output or errors' for Agent Host image-returning client tools May 17, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adjusts Agent Host client tool result conversion so image-only tool outputs, such as browser screenshots, provide a non-empty LLM text result instead of being treated as having no output.

Changes:

  • Detects image embedded-resource results in client tool completions.
  • Adds a fallback text result when a successful tool call returns images but no text.
Show a summary per file
File Description
src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts Adds image-result fallback text when completing client tool calls.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 3

Comment thread src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts Outdated
Comment thread src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts Outdated
Comment thread src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts Outdated
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.

2 participants