Lightpanda: the headless browser designed for AI and automation
script: download takes no slash prompt
Adrià Arrufate4c6b1472693
diff --git a/src/script/Schema.zig b/src/script/Schema.zigindex 65df02a4e..363b50bcb 100644--- a/src/script/Schema.zig+++ b/src/script/Schema.zig@@ -124,7 +124,7 @@ pub fn takesPrompt(tool: BrowserTool) bool {.click, .fill, .hover, .selectOption, .setChecked, .extract, .evaluate => true,// A wait targets what is not on the page yet, so a prompt leaves the model nothing to pick from..waitForSelector, .waitForScript, .waitForState => false,- .goto, .search, .markdown, .html, .screenshot, .links, .tree, .nodeDetails, .interactiveElements, .structuredData, .detectForms, .scroll, .press, .findElement, .consoleLogs, .getUrl, .getCookies, .getEnv => false,+ .goto, .search, .markdown, .html, .screenshot, .links, .tree, .nodeDetails, .interactiveElements, .structuredData, .detectForms, .scroll, .press, .findElement, .consoleLogs, .getUrl, .getCookies, .getEnv, .download => false,};}