mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
fix eventbus name
This commit is contained in:
@@ -421,7 +421,7 @@ class Agent(Generic[Context]):
|
||||
# Event bus with WAL persistence
|
||||
# Default to ~/.config/browseruse/events/{agent_session_id}.jsonl
|
||||
wal_path = CONFIG.BROWSER_USE_CONFIG_DIR / 'events' / f'{self.session_id}.jsonl'
|
||||
self.eventbus = EventBus(name=str(self), wal_path=wal_path)
|
||||
self.eventbus = EventBus(name=f'Agent_{str(self.id)[-4:]}', wal_path=wal_path)
|
||||
|
||||
# Cloud sync service
|
||||
self.enable_cloud_sync = CONFIG.BROWSER_USE_CLOUD_SYNC
|
||||
|
||||
Reference in New Issue
Block a user