update cua fallback action prompt to not return get_verification_code action if code has not been sent (#2187)

This commit is contained in:
Shuchang Zheng
2025-04-19 04:44:43 +08:00
committed by GitHub
parent e6c95cc987
commit b5e625f7f4
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "skyvern"
version = "0.1.76"
version = "0.1.77"
description = ""
authors = ["Skyvern AI <info@skyvern.com>"]
readme = "README.md"

View File

@@ -5,7 +5,7 @@ According to the AI assistant's feedback, including reasoning and its message, t
Help the user decide what to do next based on the assistant's message. Here's the list of available actions:
- solve_captcha: the task is blocked by captcha and the assistant is asking the user to solve the captcha
- complete: the user goal has been achieved
- get_verification_code: the assistant is asking the user to provide a verification code (2FA, MFA or TOTP code)
- get_verification_code: the assistant is asking the user to provide a verification code (2FA, MFA or TOTP code). At this point, the code should have been sent to the user. If code hasn't been sent, do not return get_verification_code action.
- terminate: the user goal cannot be achieved. Terminate the task. Examples: 1) there's not enough data provided to achieve the goal and the assistant is asking the user to provide more information. For examples: login is required and the user has not provided the login credentials or incorrect credentials are provided; a form needs to be filled and a required field is missing. 2) The site is stuck or not loading after multiple attempts. Do not terminate if receiving verification code is an option which has not been sent.
- other: the assistant is asking the user to do something else