tested 1pass backend and vars (#2690)
Co-authored-by: Shuchang Zheng <wintonzheng0325@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b5bf9d291f
commit
9868750de3
@@ -70,6 +70,7 @@ from skyvern.forge.sdk.db.enums import OrganizationAuthTokenType
|
||||
from skyvern.forge.sdk.models import Step
|
||||
from skyvern.forge.sdk.schemas.tasks import Task
|
||||
from skyvern.forge.sdk.services.bitwarden import BitwardenConstants
|
||||
from skyvern.forge.sdk.services.credentials import OnePasswordConstants
|
||||
from skyvern.schemas.runs import CUA_RUN_TYPES
|
||||
from skyvern.utils.prompt_engine import CheckPhoneNumberFormatResponse, load_prompt_with_elements
|
||||
from skyvern.webeye.actions import actions
|
||||
@@ -821,7 +822,7 @@ async def handle_input_text_action(
|
||||
if text is None:
|
||||
return [ActionFailure(FailedToFetchSecret())]
|
||||
|
||||
is_totp_value = text == BitwardenConstants.TOTP
|
||||
is_totp_value = text == BitwardenConstants.TOTP or text == OnePasswordConstants.TOTP
|
||||
is_secret_value = text != action.text
|
||||
|
||||
# dynamically validate the attr, since it could change into enabled after the previous actions
|
||||
|
||||
Reference in New Issue
Block a user