FastGPT/projects
gggaaallleee bb810a43a1
Some checks failed
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Has been cancelled
update python sandbox for safe (#4958)
Co-authored-by: root <root@DESKTOP-778RLJS.localdomain>
2025-06-04 16:02:28 +08:00
..
app fix: init (#4955) 2025-06-04 10:46:03 +08:00
mcp_server feat: update ESLint config with @typescript-eslint/consistent-type-imports (#4746) 2025-05-06 17:33:09 +08:00
sandbox update python sandbox for safe (#4958) 2025-06-04 16:02:28 +08:00
README.md Test sandbox (#4547) 2025-04-15 16:26:10 +08:00

目录说明

该目录为 FastGPT 主项目。

  • app fastgpt 核心应用。

  • sandbox 沙盒项目,用于运行工作流里的代码执行 需求python环境为python:3.11额外安装的包请于requirements.txt填写在运行时会读取安装。

    • 注意个别安装的包可能需要额外安装库如pandas需要安装libffi

    • 新加入python的包遇见超时或者权限拦截的问题(确定不是自己的语法问题)请进入docker容器内部执行以下指令

      docker exec -it 《替换成容器名》 /bin/bash
      chmod -x testSystemCall.sh
      bash ./testSystemCall.sh
    

    然后将新的数组替换或追加到src下sandbox的constants.py中的SYSTEM_CALLS数组即可