mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
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
This commit is contained in:
@@ -134,6 +134,7 @@ export class BrowserSession {
|
|||||||
let screenshotBase64 = await this.page.screenshot({
|
let screenshotBase64 = await this.page.screenshot({
|
||||||
...options,
|
...options,
|
||||||
type: "webp",
|
type: "webp",
|
||||||
|
quality: 100, // Set maximum quality to prevent compression artifacts
|
||||||
})
|
})
|
||||||
let screenshot = `data:image/webp;base64,${screenshotBase64}`
|
let screenshot = `data:image/webp;base64,${screenshotBase64}`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user