remove leftover TODO in the comment (#686)

This commit is contained in:
Shuchang Zheng 2024-08-07 17:06:03 -07:00 committed by GitHub
parent 9fd096c385
commit a396370fcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1575,8 +1575,6 @@ class ForgeAgent:
browser_state: BrowserState, browser_state: BrowserState,
json_response: dict[str, Any], json_response: dict[str, Any],
) -> dict[str, Any]: ) -> dict[str, Any]:
# TODO: handle verifications and resend the request if needed
# parse the "need_verification_code" field from the response
need_verification_code = json_response.get("need_verification_code") need_verification_code = json_response.get("need_verification_code")
if need_verification_code and task.totp_verification_url and task.organization_id: if need_verification_code and task.totp_verification_url and task.organization_id:
LOG.info("Need verification code", step_id=step.step_id) LOG.info("Need verification code", step_id=step.step_id)