Add feature: Users can load their own downloaded agents or workflows from the myai directory.

This commit is contained in:
Liu Zhicong
2023-09-20 22:47:52 -07:00
parent bde91771a8
commit 080a8918fe
7 changed files with 45 additions and 15 deletions
+2 -2
View File
@@ -85,8 +85,8 @@ class AIOS_Shell:
await cal_env.start()
Environment.set_env_by_id("calender",cal_env)
AgentManager.get_instance().initial()
WorkflowManager.get_instance().initial()
await AgentManager.get_instance().initial()
await WorkflowManager.get_instance().initial()
open_ai_node = OpenAI_ComputeNode.get_instance()
if await open_ai_node.initial() is not True: