Agent can do TODOs.

This commit is contained in:
Liu Zhicong
2023-11-03 22:31:23 -07:00
parent 326fbcde1d
commit 575d37486c
5 changed files with 292 additions and 98 deletions
+6
View File
@@ -458,6 +458,12 @@ class AIOS_Shell:
the_agent = await AgentManager.get_instance().get(target_id)
if the_agent is not None:
await the_agent._do_think()
case 'wakeup':
if len(args) >= 1:
target_id = args[0]
the_agent = await AgentManager.get_instance().get(target_id)
if the_agent is not None:
the_agent.wake_up()
case 'open':
if len(args) >= 1:
target_id = args[0]