rename variable (#2865)
This commit is contained in:
@@ -187,7 +187,7 @@ async def initialize_task_v2(
|
||||
if context:
|
||||
context.task_v2_id = task_v2.observer_cruise_id
|
||||
context.run_id = context.run_id or task_v2.observer_cruise_id
|
||||
context.max_screenshot_scrolling_times = max_screenshot_scrolling_times
|
||||
context.max_screenshot_scrolls = max_screenshot_scrolling_times
|
||||
|
||||
thought = await app.DATABASE.create_thought(
|
||||
task_v2_id=task_v2.observer_cruise_id,
|
||||
@@ -231,7 +231,7 @@ async def initialize_task_v2(
|
||||
workflow_run = await app.WORKFLOW_SERVICE.setup_workflow_run(
|
||||
request_id=None,
|
||||
workflow_request=WorkflowRequestBody(
|
||||
max_screenshot_scrolling_times=max_screenshot_scrolling_times,
|
||||
max_screenshot_scrolls=max_screenshot_scrolling_times,
|
||||
browser_session_id=browser_session_id,
|
||||
extra_http_headers=extra_http_headers,
|
||||
),
|
||||
@@ -470,7 +470,7 @@ async def run_task_v2_helper(
|
||||
task_v2_id=task_v2_id,
|
||||
run_id=current_run_id,
|
||||
browser_session_id=browser_session_id,
|
||||
max_screenshot_scrolling_times=task_v2.max_screenshot_scrolling_times,
|
||||
max_screenshot_scrolls=task_v2.max_screenshot_scrolls,
|
||||
)
|
||||
)
|
||||
|
||||
@@ -788,7 +788,7 @@ async def run_task_v2_helper(
|
||||
proxy_location=task_v2.proxy_location or ProxyLocation.RESIDENTIAL,
|
||||
workflow_definition=workflow_definition_yaml,
|
||||
status=workflow.status,
|
||||
max_screenshot_scrolling_times=task_v2.max_screenshot_scrolling_times,
|
||||
max_screenshot_scrolls=task_v2.max_screenshot_scrolls,
|
||||
)
|
||||
LOG.info("Creating workflow from request", workflow_create_request=workflow_create_request)
|
||||
workflow = await app.WORKFLOW_SERVICE.create_workflow_from_request(
|
||||
|
||||
Reference in New Issue
Block a user