Skip to content

Commit 54530ee

Browse files
authored
Merge pull request #921 from Kilo-Org/christiaan/browser
Enable browser use for all browsers that support images
2 parents 2ebc810 + 170e623 commit 54530ee

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/legal-wasps-shine.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"kilo-code": minor
3+
---
4+
5+
Enable browser tool for Gemini, GPT and all other models that can read images

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, front-running 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)