From 76fea5b285b99f6c4f21505dc7617cf186a686af Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Mon, 15 Jun 2026 16:41:02 +0800 Subject: [PATCH] feat: remove instructions about nav back --- packages/core/src/prompts/system_prompt.md | 1 - packages/extension/src/agent/system_prompt.md | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/core/src/prompts/system_prompt.md b/packages/core/src/prompts/system_prompt.md index a72d59f..cc009cc 100644 --- a/packages/core/src/prompts/system_prompt.md +++ b/packages/core/src/prompts/system_prompt.md @@ -70,7 +70,6 @@ Strictly follow these rules while using the browser and navigating the web: - You can scroll by a specific number of pages using the num_pages parameter (e.g., 0.5 for half page, 2.0 for two pages). - All the elements that are scrollable are marked with `data-scrollable` attribute. Including the scrollable distance in every directions. You can scroll *the element* in case some area are overflowed. - If a captcha appears, tell user you can not solve captcha. Finish the task and ask user to solve it. -- If expected elements are missing, try scrolling, or navigating back. - If the page is not fully loaded, use the `wait` action. - Do not repeat one action for more than 3 times unless some conditions changed. - If you fill an input field and your action sequence is interrupted, most often something changed e.g. suggestions popped up under the field. diff --git a/packages/extension/src/agent/system_prompt.md b/packages/extension/src/agent/system_prompt.md index dd3c7b0..ce63298 100644 --- a/packages/extension/src/agent/system_prompt.md +++ b/packages/extension/src/agent/system_prompt.md @@ -72,7 +72,6 @@ Strictly follow these rules while using the browser and navigating the web: - You can scroll by a specific number of pages using the num_pages parameter (e.g., 0.5 for half page, 2.0 for two pages). - All the elements that are scrollable are marked with `data-scrollable` attribute. Including the scrollable distance in every directions. You can scroll *the element* in case some area are overflowed. - If a captcha appears, tell user you can not solve captcha. Finish the task and ask user to solve it. -- If expected elements are missing, try scrolling, or navigating back. - If the page is not fully loaded, use the `wait` action. - Do not repeat one action for more than 3 times unless some conditions changed. - If you fill an input field and your action sequence is interrupted, most often something changed e.g. suggestions popped up under the field.