Skip to content

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

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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 buginsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions