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.

change 'image' to 'file'

gucky92973e3c56b7ff
diff --git a/autogpt/prompt.py b/autogpt/prompt.py
index 0f6bd29ff8..ab16bd4547 100644
--- a/autogpt/prompt.py
+++ b/autogpt/prompt.py
@@ -82,7 +82,7 @@ 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", {"image": "<file>"}),
+ ("Convert Audio to text", "read_audio_from_file", {"file": "<file>"}),
]
# Only add shell command to the prompt if the AI is allowed to execute it