From 4583066b2f1e5bdb073f8bfa06dec39a3de28ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Tue, 25 Aug 2026 15:24:01 +0200 Subject: [PATCH] tools: drop the 'no rendering' claim from the driver guidance The engine renders PNGs since #3231. What is still true for the model is that no tool exposes pixels, so say that instead. --- src/browser/tools.zig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/browser/tools.zig b/src/browser/tools.zig index 5154c8fa7..0f3753a31 100644 --- a/src/browser/tools.zig +++ b/src/browser/tools.zig @@ -38,8 +38,9 @@ const Selector = @import("webapi/selector/Selector.zig"); /// correctly" — most importantly the selector rule that keeps sessions /// recordable as JavaScript agent scripts. pub const driver_guidance = - \\You are driving Lightpanda — a text-only headless browser. You reason - \\over pages through tools; there is no rendering, no images, no PDFs. + \\You are driving Lightpanda, a headless browser, through text tools: + \\no screenshots, no images, no PDFs — you reason over pages as a + \\semantic tree, markdown or HTML. \\ \\Reading pages (cheap → expensive — prefer cheaper): \\- `tree` → semantic overview (role, name, value, backendNodeId per