mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-15 18:01:26 +00:00
prompt
This commit is contained in:
parent
85c2a0b675
commit
ffb6f1db70
6 changed files with 86 additions and 44 deletions
|
|
@ -282,11 +282,9 @@ describe("browser tool", () => {
|
|||
it("mentions browser in the default system prompt", () => {
|
||||
const prompt = buildSystemPrompt();
|
||||
|
||||
expect(prompt).toContain("- browser: Browse the web:");
|
||||
expect(prompt).toContain(
|
||||
"- browser: Open websites, inspect pages with snapshot, click/fill/wait, take screenshots, and save/load browser state",
|
||||
);
|
||||
expect(prompt).toContain(
|
||||
"Use browser for website tasks. Open the page, use snapshot to inspect interactive elements, then click, fill, wait, or screenshot as needed",
|
||||
"Browser: snapshot before interacting with elements",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue