Skip to content

Commit aadad78

Browse files
committed
fix(ai): let Claude decide if verification tools are needed
1 parent d17fae8 commit aadad78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src-node/claude-code-agent.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,9 +470,9 @@ async function _runQuery(requestId, prompt, projectPath, model, signal, locale,
470470
"controlEditor). Never use relative paths." +
471471
"\n\nWhen a tool response mentions the user has typed a clarification, immediately " +
472472
"call getUserClarification to read it and incorporate the user's feedback into your current work." +
473-
"\n\nWhen planning, include a verification step. Use takeScreenshot to visually " +
474-
"verify the editor state at any time. For HTML/CSS/JS work with live preview, " +
475-
"also use execJsInLivePreview to run JS in the browser and confirm behavior." +
473+
"\n\nWhen planning, consider if verification is needed. takeScreenshot can " +
474+
"visually verify the editor state. For HTML/CSS/JS with live preview, " +
475+
"execJsInLivePreview can run JS in the browser to confirm behavior." +
476476
(locale && !locale.startsWith("en")
477477
? "\n\nThe user's display language is " + locale + ". " +
478478
"Respond in this language unless they write in a different language."

0 commit comments

Comments
 (0)