mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-27 19:04:25 +01:00
dynamically load commands from registry
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user