Hi,
Thank you for sharing the code.
I suspect that the generated actions, meaning the functions induced by the agent, are not being loaded correctly in DemoAgent.__init__. There is a --websites argument in run_demo.py, and this value is passed to DemoAgent, but it does not seem to be used afterward.
Am I correct that line 75 (here) is incomplete and should include logic like the following?
custom_actions = ACTION_DICT["general"] + ACTION_DICT["webarena"]
for website in websites:
custom_actions.extend(ACTION_DICT[website])
With the current implementation, it appears that newly generated actions are never actually used by the agent. If this understanding is correct, ASI would effectively behave like a vanilla agent without action induction.
Thank you for your time and help.
Hi,
Thank you for sharing the code.
I suspect that the generated actions, meaning the functions induced by the agent, are not being loaded correctly in
DemoAgent.__init__. There is a--websitesargument inrun_demo.py, and this value is passed toDemoAgent, but it does not seem to be used afterward.Am I correct that line 75 (here) is incomplete and should include logic like the following?
With the current implementation, it appears that newly generated actions are never actually used by the agent. If this understanding is correct, ASI would effectively behave like a vanilla agent without action induction.
Thank you for your time and help.