support totp verification url and totp identifier in run_task (#2175)
This commit is contained in:
@@ -297,6 +297,8 @@ class SkyvernAgent:
|
||||
extracted_information_schema=data_extraction_schema,
|
||||
error_code_mapping=error_code_mapping,
|
||||
proxy_location=proxy_location,
|
||||
totp_identifier=totp_identifier,
|
||||
totp_verification_url=totp_url,
|
||||
)
|
||||
|
||||
created_task = await app.agent.create_task(task_request, organization.organization_id)
|
||||
|
||||
@@ -1495,6 +1495,8 @@ async def run_task(
|
||||
error_code_mapping=run_request.error_code_mapping,
|
||||
proxy_location=run_request.proxy_location,
|
||||
browser_session_id=run_request.browser_session_id,
|
||||
totp_verification_url=run_request.totp_url,
|
||||
totp_identifier=run_request.totp_identifier,
|
||||
)
|
||||
task_v1_response = await task_v1_service.run_task(
|
||||
task=task_v1_request,
|
||||
|
||||
Reference in New Issue
Block a user