support magic link in CUA engine (#3780)

This commit is contained in:
LawyZheng
2025-10-21 22:20:14 +08:00
committed by GitHub
parent fa72605f89
commit 41b494542e
4 changed files with 2514 additions and 2444 deletions

View File

@@ -6,11 +6,12 @@ Help the user decide what to do next based on the assistant's message. Here's th
- 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). 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.
- get_magic_link: the assistant is asking the user to verify the authorization by a magic link in the email. At this point, the link should have been sent to the user.
- other: the assistant is asking the user to do something else
Return the action to take next in the following JSON format:
{
"action": str // complete, solve_captcha, get_verification_code, other
"action": str // complete, solve_captcha, get_verification_code, get_magic_link, other
"useful_information": str // If there is any useful information the assistant has provided that contributes to the user goal, put it here.
}