Merge branch 'master' into dev

This commit is contained in:
Andres Caicedo
2023-04-10 09:58:13 +02:00
9 changed files with 324 additions and 43 deletions

View File

@@ -108,6 +108,8 @@ def execute_command(command_name, arguments):
return execute_python_file(arguments["file"])
elif command_name == "generate_image":
return generate_image(arguments["prompt"])
elif command_name == "do_nothing":
return "No action performed."
elif command_name == "task_complete":
shutdown()
else:
@@ -299,4 +301,4 @@ def delete_agent(key):
result = agents.delete_agent(key)
if not result:
return f"Agent {key} does not exist."
return f"Agent {key} deleted."
return f"Agent {key} deleted."