You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably a better approach would be to run the AI within a virtual machine or Docker container, so that we don't have to guard against dangerous behavior (which is an impossible thing to do robustly, without relying on hardware-based or OS-based isolation). We can always do explicit file copies to/from the machine or do volume mapping so that the AI can modify files on the host system.
I agree that it would be out-of-scope for PT to manage the VM, but I could see it being worthwhile for PT to provide a way to override just directly executing the code in the current session, so another package could implement a VM and then be "plugged in" to PT.
It would be good to capture other unsafe behavior before we evaluate any code
cp
, rm`,...)run
,Cmd
)The text was updated successfully, but these errors were encountered: