Skip to content

Agent Host: Agent can't see images returned by Integrated Browser screenshots tool #315947

@jruales

Description

@jruales

To repro

  • Enable these settings:
"workbench.browser.agentHostChatToolsEnabled": true,
"workbench.browser.enableChatTools": true,
"chat.agentHost.enabled": true,
  • Start an Agent Host local session. (for verifier: if you don't know how to do that, follow this TPI)

  • Type the prompt:

Open apple.com, take a screenshot, and tell me the output of the screenshot tool

Important

NOTE added on May 14: Please make sure to use this exact same prompt, since if you don't ask explicitly about the output of the screenshot tool, it will hallucinate what it thinks is in the output based on the text-based ARIA snapshot provided by other browser tools.

  • 🐛 It says that the tool returned no output, despite the screenshot appearing in the chat:
Image

Metadata

Metadata

Assignees

Labels

agent-hostIssues for the agent-host implementation (not the protocol)browser-integrationWeb browsing features integrated into VS Code (e.g. integrated browser)bugIssue identified by VS Code Team member as probable bugunreleasedPatch has not yet been released in VS Code Insiders

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions