open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

No user consent in case of display = False

Open chirayu-2001 opened this issue 2 years ago • 1 comments

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

chirayu-2001 avatar Dec 07 '23 09:12 chirayu-2001

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!

MikeBirdTech avatar Mar 19 '24 18:03 MikeBirdTech