diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py index 3e1761d25..7116caf1d 100644 --- a/browser_use/agent/service.py +++ b/browser_use/agent/service.py @@ -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