Agent Zero AI framework
shorter guids for browser screenshots
frdel5a682a222eac
diff --git a/python/tools/browser_agent.py b/python/tools/browser_agent.pyindex 763c31197..58d88a44e 100644--- a/python/tools/browser_agent.py+++ b/python/tools/browser_agent.py@@ -195,7 +195,7 @@ class State:class BrowserAgent(Tool):async def execute(self, message="", reset="", **kwargs):- self.guid = str(uuid.uuid4())+ self.guid = self.agent.context.generate_id() # short random idreset = str(reset).lower().strip() == "true"await self.prepare_state(reset=reset)message = SecretsManager.get_instance().mask_values(message, placeholder="<secret>{key}</secret>") # mask any potential passwords passed from A0 to browser-use to browser-use format