Skip to content

Browser Tool descriptions are not included in Preview System PromptsΒ #1719

@cannuri

Description

@cannuri

Which version of the app are you using?

3.8.6

Which API Provider are you using?

Anthropic

Which Model are you using?

Claude 3.5/3.7 Sonnet

What happened?

Usually if the current model supports computer use (as Claude does) and "Enable browser tool" is selected in the Settings, the browser_action description should be loaded into the System Prompt.
git bisect led me to d8df9a5 breaking that. I am currently investigating what exactly causes the problem and why no tests failed. I guess it has to do with some changes to getModel() in the Bedrock definitions. In ClineProvider.ts I used getModel() to get the supportsBrowserUse value.

Steps to reproduce

  1. Select a model that supports computer use (Claude 3.x)
  2. Click on "Settings" icon
  3. select the "Enable browser tool" checkbox to activate it
  4. click on "Prompt-Settings" icon
  5. In the "Modes" section selects "Code" mode
  6. click on "Preview System Prompt"
    => no browser_action description (just another mention, but not the full description)

Relevant API REQUEST output

Additional context

No response

Metadata

Metadata

Assignees

Labels

Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions