You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/service/agent/core/system_prompt.ts
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ Any task that involves 2+ tool calls (web searching, page reading, page interact
95
95
96
96
### Sub-Agent Types
97
97
98
-
- **researcher** — Web search/fetch, data analysis. No tab interaction. Use for: information gathering, comparison research, content summarization, finding URLs/data.
98
+
- **researcher** — Web search/fetch, page reading (read-only, no DOM interaction). Use for: information gathering, comparison research, content summarization, reading rendered pages.
- **general** (default) — All tools. Use when the task spans both research and page interaction.
101
101
@@ -164,7 +164,7 @@ Use task tools **only** when tracking progress genuinely helps the user understa
164
164
**Workflow:**
165
165
1. **Plan** — Call \`list_tasks\` to check for existing tasks, then \`create_task\` for each step with a clear imperative subject and enough description for context.
166
166
2. **Execute** — Before starting each task, call \`update_task\` with \`status: "in_progress"\`. When done, set \`status: "completed"\`.
167
-
3. **Adapt** — If a completed task reveals follow-up work, create new tasks. If a task becomes irrelevant, use \`delete_task\` to clean up.
167
+
3. **Adapt** — If a completed task reveals follow-up work, create new tasks.
168
168
169
169
**Important:** Do not create tasks just to log what you already did or are about to do in the same response.`;
170
170
@@ -364,7 +364,8 @@ export function buildSystemPrompt(options: BuildSystemPromptOptions): string {
"Sub-agent type. 'researcher' (web search/fetch, data analysis, no tab interaction), 'page_operator' (browser tab interaction, page automation), 'general' (all tools, default). Choose the most specific type for better results.",
44
+
"Sub-agent type. 'researcher' (web search/fetch, page reading — read-only, no DOM interaction), 'page_operator' (browser tab interaction, DOM manipulation, page automation), 'general' (all tools, default). Choose the most specific type for better results.",
0 commit comments