Implement simple "Agent Think Frame" , Tracy can do teach summary now.

This commit is contained in:
Liu Zhicong
2023-10-01 16:33:49 -07:00
parent ae99571b28
commit 9932b55ae8
4 changed files with 220 additions and 18 deletions
+6
View File
@@ -473,6 +473,12 @@ class AIOS_Shell:
return await self.handle_knowledge_commands(args)
case 'contact':
return await self.handle_contact_commands(args)
case 'think':
if len(args) >= 1:
target_id = args[0]
the_agent = await AgentManager.get_instance().get(target_id)
if the_agent is not None:
await the_agent._do_think()
case 'open':
if len(args) >= 1:
target_id = args[0]