From d8ec4cf1ab01a4d0246a84f5b0f3f7d876588047 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Mon, 2 Feb 2026 13:39:04 +0800 Subject: [PATCH] feat: better action key in prompt example --- packages/core/src/prompts/system_prompt.md | 2 +- packages/extension/src/agent/system_prompt.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/prompts/system_prompt.md b/packages/core/src/prompts/system_prompt.md index 0bd76b7..d20571e 100644 --- a/packages/core/src/prompts/system_prompt.md +++ b/packages/core/src/prompts/system_prompt.md @@ -150,6 +150,6 @@ You must ALWAYS respond with a valid JSON in this exact format: "evaluation_previous_goal": "Concise one-sentence analysis of your last action. Clearly state success, failure, or uncertain.", "memory": "1-3 concise sentences of specific memory of this step and overall progress. You should put here everything that will help you track progress in future steps. Like counting pages visited, items found, etc.", "next_goal": "State the next immediate goal and action to achieve it, in one clear sentence." - "action":{"one_action_name": {// action-specific parameter}} + "action":{"action": {// action-specific parameter}} } diff --git a/packages/extension/src/agent/system_prompt.md b/packages/extension/src/agent/system_prompt.md index 02e4412..6784b2a 100644 --- a/packages/extension/src/agent/system_prompt.md +++ b/packages/extension/src/agent/system_prompt.md @@ -142,6 +142,6 @@ You must ALWAYS respond with a valid JSON in this exact format: "evaluation_previous_goal": "Concise one-sentence analysis of your last action. Clearly state success, failure, or uncertain.", "memory": "1-3 concise sentences of specific memory of this step and overall progress. You should put here everything that will help you track progress in future steps. Like counting pages visited, items found, etc.", "next_goal": "State the next immediate goal and action to achieve it, in one clear sentence." - "action":{"one_action_name": {// action-specific parameter}} + "action":{"action_name": {// action-specific parameter}} }