mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00

* feat: python sandbox execute with a temporary file (#4464) * change runPythonSandbox: 1. write code into a temp file in /tmp dir then run it 2. write sandbox python script into a tmp file then run it * repair subProcess.py file does not generate in tmp dir * Adjust the security policy to kill (#4546) --------- Co-authored-by: Donald Yang <yjyangfan@gmail.com> Co-authored-by: gggaaallleee <91131304+gggaaallleee@users.noreply.github.com>