support passing run_with for run_task endpoint (mostly for task v2) (#4576)
Some checks are pending
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run

This commit is contained in:
Shuchang Zheng 2026-01-28 20:50:32 -08:00 committed by GitHub
parent 34aadb8c09
commit 69e1ea15cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 4 deletions

View file

@ -264,6 +264,7 @@ async def run_task(
extra_http_headers=run_request.extra_http_headers,
browser_session_id=run_request.browser_session_id,
browser_address=run_request.browser_address,
run_with=run_request.run_with,
)
except MissingBrowserAddressError as e:
raise HTTPException(status_code=400, detail=str(e)) from e