Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/1718

BillSchumacher017371b49213
diff --cc autogpt/app.py
index 73ed6e9ed3,40a71c8e37..e7b16adc0b
--- a/autogpt/app.py
+++ b/autogpt/app.py
@@@ -180,10 -180,10 +181,12 @@@ def execute_command(command_name: str,
" shell commands, EXECUTE_LOCAL_COMMANDS must be set to 'True' "
"in your config. Do not attempt to bypass the restriction."
)
+ elif command_name == "read_audio_from_file":
+ return read_audio_from_file(arguments["file"])
elif command_name == "generate_image":
return generate_image(arguments["prompt"])
+ elif command_name == "send_tweet":
+ return send_tweet(arguments['text'])
elif command_name == "do_nothing":
return "No action performed."
elif command_name == "task_complete":
diff --cc autogpt/prompt.py
index ab16bd4547,a760bd7274..9f79d42052
--- a/autogpt/prompt.py
+++ b/autogpt/prompt.py
@@@ -82,7 -82,8 +82,9 @@@ def get_prompt() -> str
),
("Execute Python File", "execute_python_file", {"file": "<file>"}),
("Generate Image", "generate_image", {"prompt": "<prompt>"}),
+ ("Convert Audio to text", "read_audio_from_file", {"file": "<file>"}),
+ ("Send Tweet", "send_tweet", {"text": "<text>"}),
+
]
# Only add shell command to the prompt if the AI is allowed to execute it