change 'image' to 'file'
parent
3239d6879b
commit
973e3c56b7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue