Skip to content

Commit df52581

Browse files
committed
Enable browser use for all browsers that support images
RooCodeInc/Roo-Code#5026 does this more thoroughly, but limits browser use to Claude and Gemini for some reason. From my testing it additionally also works with GPT-4.1, Mistral Medium 3 and Qwen 2.5 VL
1 parent 9e59973 commit df52581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/core/task/Task.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,8 @@ export class Task extends EventEmitter<ClineEvents> {
17091709
return SYSTEM_PROMPT(
17101710
provider.context,
17111711
this.cwd,
1712-
(this.api.getModel().info.supportsComputerUse ?? false) && (browserToolEnabled ?? true),
1712+
// kilocode_change: supports images => supports browser, frontrunning on https://github.com/RooCodeInc/Roo-Code/pull/5026
1713+
(this.api.getModel().info.supportsImages ?? false) && (browserToolEnabled ?? true),
17131714
mcpHub,
17141715
this.diffStrategy,
17151716
browserViewportSize,

0 commit comments

Comments
 (0)