Refactor cmd_voice method to use user_input method instead of tool_output.

This commit is contained in:
Paul Gauthier 2023-08-10 16:23:35 -03:00
parent 47144a7e99
commit ec91eb670e
2 changed files with 7 additions and 2 deletions

View file

@ -438,7 +438,7 @@ class Commands:
def cmd_voice(self, args):
"Record and transcribe voice input"
text = record_and_transcribe()
self.io.tool_output(text)
self.io.user_input(text, log_only=False)
return text