change 'image' to 'file'

This commit is contained in:
gucky92
2023-04-15 23:53:00 +02:00
parent 3239d6879b
commit 973e3c56b7

View File

@@ -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