From b3e895ea4b3db7b8cf1d5f46545a6a168a28cc1c Mon Sep 17 00:00:00 2001 From: LawyZheng Date: Tue, 22 Apr 2025 01:37:24 +0800 Subject: [PATCH] fix prompt typo (#2208) --- skyvern/forge/prompts/skyvern/extract-action.j2 | 2 +- skyvern/forge/prompts/skyvern/single-input-action.j2 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skyvern/forge/prompts/skyvern/extract-action.j2 b/skyvern/forge/prompts/skyvern/extract-action.j2 index ccd5ef8d..d6e9fa09 100644 --- a/skyvern/forge/prompts/skyvern/extract-action.j2 +++ b/skyvern/forge/prompts/skyvern/extract-action.j2 @@ -37,7 +37,7 @@ Reply in JSON format with the following keys: }] {% endif %} }],{% if verification_code_check %} - "verification_code_reasoning": str, // Let's think step by step. Describe what you see and think if there is somewhere on the current page where you must enter the verification code now for login or any verification step. Explain why you believe a verification code needs to be enter somewhere or not. Do not imagine any place to enter the code if the code has not been sent yet. + "verification_code_reasoning": str, // Let's think step by step. Describe what you see and think if there is somewhere on the current page where you must enter the verification code now for login or any verification step. Explain why you believe a verification code needs to be entered somewhere or not. Do not imagine any place to enter the code if the code has not been sent yet. "place_to_enter_verification_code": bool // Whether there is a place on the current page to enter the verification code now. {% endif %} } diff --git a/skyvern/forge/prompts/skyvern/single-input-action.j2 b/skyvern/forge/prompts/skyvern/single-input-action.j2 index 66724f50..e07eb9b1 100644 --- a/skyvern/forge/prompts/skyvern/single-input-action.j2 +++ b/skyvern/forge/prompts/skyvern/single-input-action.j2 @@ -16,8 +16,8 @@ Reply in JSON format with the following keys: "id": str, // The id of the element to take action on. The id has to be one from the elements list. "text": str, // The text to input. }]{% if verification_code_check %} - "verification_code_reasoning": str, // Let's think step by step. Describe what you see and think if there is somewhere on the current page where you must enter the verification code now for login or any verification step. Explain why you believe a verification code needs to be enter somewhere or not. Do not imagine any place to enter the code if the code has not been sent yet. - "place_to_enter_verification_code": bool // Whether there is a place on the current page to enter the verificaton code now. {% endif %} + "verification_code_reasoning": str, // Let's think step by step. Describe what you see and think if there is somewhere on the current page where you must enter the verification code now for login or any verification step. Explain why you believe a verification code needs to be entered somewhere or not. Do not imagine any place to enter the code if the code has not been sent yet. + "place_to_enter_verification_code": bool // Whether there is a place on the current page to enter the verification code now. {% endif %} } User instruction: