change 'image' to 'file'

pull/1718/head
gucky92 2023-04-15 23:53:00 +02:00
parent 3239d6879b
commit 973e3c56b7
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ def get_prompt() -> str:
), ),
("Execute Python File", "execute_python_file", {"file": "<file>"}), ("Execute Python File", "execute_python_file", {"file": "<file>"}),
("Generate Image", "generate_image", {"prompt": "<prompt>"}), ("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 # Only add shell command to the prompt if the AI is allowed to execute it