Skip to content

Commit 72eaded

Browse files
authored
Update BrowserSession.ts
One-line change to improve Roo-Cline's eyesight. Aside: the above improves an AI's vision; the below works for people. My prescription has gone from -4.50 to -2.50 in a year, and I only do the exercises once a month or so, after the first few weeks of once a day: https://www.youtube.com/watch?v=7TU7o5E3QuU
1 parent bc7dee6 commit 72eaded

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/browser/BrowserSession.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export class BrowserSession {
134134
let screenshotBase64 = await this.page.screenshot({
135135
...options,
136136
type: "webp",
137+
quality: 100, // Set maximum quality to prevent compression artifacts
137138
})
138139
let screenshot = `data:image/webp;base64,${screenshotBase64}`
139140

0 commit comments

Comments
 (0)