dynamically load commands from registry

This commit is contained in:
Peter
2023-04-06 14:13:23 -07:00
parent 3f106963a8
commit a24ab0e879
8 changed files with 160 additions and 67 deletions

View File

@@ -1,7 +1,9 @@
import docker
import os
from auto_gpt.commands import command
@command("execute_python_file", "Execute Python File", '"file": "<file>"')
def execute_python_file(file):
workspace_folder = "auto_gpt_workspace"