Function
dispose_computer
(
*,
run_context: RunContextWrapper[Any],
computer: LocalPlaywrightComputer,
)
Source from the content-addressed store, hash-verified
| 288 | return await LocalPlaywrightComputer().open() |
| 289 | |
| 290 | async def dispose_computer( |
| 291 | *, |
| 292 | run_context: RunContextWrapper[Any], |
| 293 | computer: LocalPlaywrightComputer, |
| 294 | ) -> None: |
| 295 | print(f"Disposing computer for run context: {run_context}") |
| 296 | await computer.close() |
| 297 | |
| 298 | await run_agent( |
| 299 | ComputerProvider[LocalPlaywrightComputer]( |
Callers
nothing calls this directly
Tested by
no test coverage detected