π OpenHands: AI-Driven Development
add BrowseInteractiveAction in dummy agent (#1852)
Frank Xu9856e76c1f83
diff --git a/agenthub/dummy_agent/agent.py b/agenthub/dummy_agent/agent.pyindex 01c138ef1c..8380fc3449 100644--- a/agenthub/dummy_agent/agent.py+++ b/agenthub/dummy_agent/agent.py@@ -9,6 +9,7 @@ from opendevin.events.action import (AgentFinishAction,AgentRecallAction,AgentRejectAction,+ BrowseInteractiveAction,BrowseURLAction,CmdRunAction,FileReadAction,@@ -121,6 +122,14 @@ class DummyAgent(Agent):# BrowserOutputObservation('<html></html>', url='https://google.com', screenshot=""),],},+ {+ 'action': BrowseInteractiveAction(+ browser_actions='goto("https://google.com")'+ ),+ 'observations': [+ # BrowserOutputObservation('<html></html>', url='https://google.com', screenshot=""),+ ],+ },{'action': AgentFinishAction(),'observations': [],