mirror of
https://github.com/browser-use/browser-use.git
synced 2026-09-14 19:59:47 +08:00
1147daef92
Add disabled parameter to SignalHandler class to allow opting out of signal handling. This enables browser-use to be embedded in applications like uvicorn/FastAPI that need to manage their own signal lifecycle. Add enable_signal_handler parameter to Agent class (default True for backward compatibility). When set to False, the Agent will not register signal handlers, allowing the host application to control graceful shutdown and signal handling. Fixes #4385
26 KiB
26 KiB