open-interpreter
open-interpreter copied to clipboard
No user consent in case of display = False
Is your feature request related to a problem? Please describe.
If I want to build an API on interpeter.chat with display = False, I want interpreter to always ask user if it should execute code, as it does when we keep display = True
Describe the solution you'd like
If we could put condition of checking interpreter.auto_run in respond function before executing code just like done in terminal_interface function. I am just confused as putting this condition would lead to 2 more json blocks in interpreter.messages and it executes code by checking if the last block has a key as code.
Describe alternatives you've considered
No response
Additional context
No response
Closing this stale issue. If this is still a problem with the latest version of Open Interpreter, please alert me to re-open the issue. Thanks!