Add linux_admin agent, funny~
This commit is contained in:
@@ -64,7 +64,6 @@ class AIOS_Shell:
|
||||
target_id = msg.target.split(".")[0]
|
||||
agent : AIAgent = await AgentManager.get_instance().get(target_id)
|
||||
if agent is not None:
|
||||
agent.owner_env = Environment.get_env_by_id("calender")
|
||||
bus.register_message_handler(target_id,agent._process_msg)
|
||||
return True
|
||||
|
||||
@@ -87,6 +86,9 @@ class AIOS_Shell:
|
||||
await cal_env.start()
|
||||
Environment.set_env_by_id("calender",cal_env)
|
||||
|
||||
workspace_env = WorkspaceEnvironment("bash")
|
||||
Environment.set_env_by_id("bash",workspace_env)
|
||||
|
||||
|
||||
await AgentManager.get_instance().initial()
|
||||
await WorkflowManager.get_instance().initial()
|
||||
|
||||
Reference in New Issue
Block a user