From 1a9d56fccca38e24f9d8a9502fe71d6481c791ca Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Sat, 28 Jun 2025 03:50:19 -0700 Subject: [PATCH] fix eventbus name --- browser_use/agent/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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