Commit e038f5e
committed
refactor: improve browser session management in admin control
- Updated the admin control function to discard browser-use agents and overlays while retaining the browser window for user inspection.
- Enhanced error handling during cleanup of browser-use agents and sessions.
- Removed unnecessary dependency on `get_agent_extra_body` in the BrowserUseAdapter class, streamlining the configuration process.1 parent b67232e commit e038f5e
2 files changed
Lines changed: 9 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1350 | 1350 | | |
1351 | 1351 | | |
1352 | 1352 | | |
1353 | | - | |
| 1353 | + | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
1357 | 1363 | | |
1358 | | - | |
| 1364 | + | |
1359 | 1365 | | |
1360 | 1366 | | |
1361 | 1367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
310 | 309 | | |
311 | 310 | | |
312 | 311 | | |
313 | | - | |
314 | 312 | | |
315 | 313 | | |
316 | 314 | | |
| |||
321 | 319 | | |
322 | 320 | | |
323 | 321 | | |
324 | | - | |
325 | | - | |
326 | 322 | | |
327 | 323 | | |
328 | 324 | | |
| |||
0 commit comments