Back to Fastgpt

V4.15.0-beta3

document/content/self-host/upgrading/4-15/41503.en.mdx

4.15.03.5 KB
Original Source

📦 Upgrade Guide

Image Changes

  • Update the fastgpt-app (FastGPT main service) image tag to v4.15.0-beta3.
  • Update the fastgpt-pro (FastGPT commercial edition) image tag to v4.15.0-beta3.
  • Update the fastgpt-code-sandbox image tag to v4.15.0-beta3.

Environment Variable Changes

Code Sandbox adds security-related environment variables such as SANDBOX_API_MAX_BODY_MB and SANDBOX_MAX_OUTPUT_MB, and now supports grouped request queuing for run APIs through queueId. The full defaults are listed below:

VariableDefaultDescription
SANDBOX_API_MAX_BODY_MB8Maximum /sandbox API JSON body size, including variables, in MB.
SANDBOX_MAX_OUTPUT_MB10Maximum output JSON size for one code execution, including return values and logs, in MB.
CHECK_INTERNAL_IPtrueEnables internal IP checks for sandbox network requests by default to reduce SSRF risk.
SANDBOX_MAX_TIMEOUT60000Timeout for one code execution, in milliseconds.
SANDBOX_MAX_MEMORY_MB256Memory limit for one sandbox, in MB. The runtime reserves an extra 50 MB for overhead.
SANDBOX_POOL_SIZE20Number of pre-warmed JS/Python workers.
SANDBOX_REQUEST_MAX_COUNT30Maximum number of network requests allowed during one code execution.
SANDBOX_REQUEST_TIMEOUT60000Timeout for one network request from inside the sandbox, in milliseconds.
SANDBOX_REQUEST_MAX_RESPONSE_MB10Maximum response body size for one sandbox network request, in MB.
SANDBOX_REQUEST_MAX_BODY_MB5Maximum request body size for one sandbox network request, in MB.
SANDBOX_QUEUE_ID_CONCURRENCYEmptyNumber of requests with the same queueId that may enter execution at once. Empty disables queueing.

🚀 New Features

  1. Multimodal models now support audio and video input.
  2. Shared links and portal pages now support language switching, and no longer force browser-language auto switching.

⚙️ Improvements

  1. Improved styles for Skill module dialogs.
  2. Improved Skill list API performance.
  3. Improved workflow node name and description inputs.
  4. Workflow editor drafts are now saved automatically for recovery when the session expires and the user is redirected.
  5. Improved the login page UI.

🐛 Bug Fixes

  1. Adapted TTS audio playback to the latest OpenAI SDK to avoid errors.
  2. Fixed cases where Knowledge Base data chunking could produce oversized chunks when code blocks were present.

🛠️ Code Improvements

  1. Updated the token calculation dependency to improve performance.
  2. Rewrote dialog-related code with more modular structure.
  3. Improved unit test performance, reducing full runs from about 10 minutes to 5 minutes.
  4. Upgraded to TypeScript 6.
  5. Improved GitHub Actions security.