V4.18.0
FastGPT V4.18.0 release notes covering configuration changes, upgrade steps, and feature updates.
Important notes
Deprecated configurations and features
SYNC_INDEXno longer takes effect and is maintained automatically by the system.- In-generation stream recovery parameters no longer take effect and now use fixed system settings.
- Only
OpenSandboxis supported as the Sandbox runtime; all other Sandbox providers are removed. - Removed the
piAgentengine, theAGENT_ENGINEenvironment variable, and the Agent Execution Engine selector in Admin Console; all Agents now run onfastAgent.
Compatibility notes
- API Key health checks: Due to security issues,
GET /api/support/openapi/healthnow reads credentials from theAuthorization: Bearer <apiKey>header instead of the URL’sapiKeyparameter. Update existing health probes to send the key in this header and remove it from the URL. - Workflow input bindings. The Workflow runtime resolves bindings based on which Nodes are reachable, which outputs are available, and whether the types match. If an existing Workflow depends on an unreachable Node, a disabled output, or a mismatched type, bind the input to an available upstream output of the expected type. The runtime treats the affected input as empty until you update the binding.
- Dynamic selection options: User selection Nodes and single- or multi-select form fields now keep only the first
200valid variable-bound options at runtime, with each option truncated to at most100UTF-16 code units. Workflows that depend on longer option values or later candidates must adjust their candidate data and review downstream matching logic. - API identity parameters: API sessions no longer allow switching user identity; existing sessions use their saved identity. Continue with the same
customUid; omitting, clearing, or changing a bound value, or switching from the default to a custom identity, is rejected. Integrations that reuse a session across users must allocate separatechatIdvalues for different users. A nonemptycustomUidrequires an API Key. It is mutually exclusive withauthProxy, even when empty; integrations that send both must choose one identity. - Session ID length: Session management, file, citation, and Sandbox APIs now limit
chatIdto1024characters. Integrations that use longer custom IDs must adjust their generation rules and review existing oversized session IDs and their linked records. - File previews and downloads. If your integration embeds HTML, SVG, or XML file previews, open them in a separate page. In short-link redirect mode, FastGPT serves these files through its proxy, so download clients must handle the file response directly. In short-link redirect mode, FastGPT responds to
HEADwith file metadata. If your client readsLocationto obtain the redirect URL, useGET. If your R2 deployment usedSTORAGE_EXTERNAL_ENDPOINTto override the signing endpoint, verify after upgrading that clients can reach the R2 service endpoint. - Download short links. If you use a custom Nginx root-path regex rewrite with
FILE_DOWNLOAD_PUBLIC_URL_PREFIX, update the regex before upgrading to matchv1links andv2links with or without an extension. In multi-instance deployments, coordinate the App and Pro upgrades so that once new instances start issuing links, download requests go only to App instances that supportv2. Rolling back to a version that supports onlyv1makes previously issuedv2links unusable. - Log CSV exports: Scripts that parse Team members from the “User” column must support
ID:nameinstead of the previous member name; when a member has no name, the column contains only the ID. Channel columns are now split into “Call channel” and “Channel name,” so scripts that parse column names must also be updated. - Collection deletion API: Select exactly one request-body form:
id,collectionIds, ordatasetId + apiFileIds. Legacyquery.idremains supported but is deprecated; new integrations should use the request body. - Speech recognition usage: Existing custom speech recognition integrations must check their upstream usage responses. Duration-based billing reads
usage.seconds; missing or invalid values count as0, with no fallback to client-reported recording time or estimates from transcribed text. - Sealos Devbox retirement and Sandbox path changes: Starting in 4.18.0, the
sealosdevboxruntime and its Admin Console settings are removed. Existing deployments must first run upgrade script 8 to migrate, switch to OpenSandbox, and verify cold-recovery stability before manually running upgrade script 9’s irreversible cleanup once rollback is no longer needed. The Sandbox workspace path moves from/workspaceto/home/sandbox/workspace, and initialization deduplication state moves to/var/lib/fastgpt-runtime/state.json. Update custom startup scripts or derived images that hardcode the legacy paths.
Upgrade guide
Prerequisite: Complete the required historical migrations on 4.17.x before upgrading. Version 4.18.x removes the old task registrations and implementations, so they will no longer run; historical status and error records remain in the database.
Deployment template changes
- Image registry for mainland China: FastGPT has stopped publishing images to Alibaba Cloud. The mainland China Docker Compose templates now pull FastGPT, Plugin, Code Sandbox, and Agent Sandbox service images from
ghcr.dockerproxy.net/labring/, andinstall.shupdates the registry prompt to China Mainland / Global mirrors. - Default object storage changed to RustFS: Default Docker Compose templates replace
fastgpt-miniowithfastgpt-rustfs(rustfs:1.0.4, single-disk/datalayout, named volumefastgpt-rustfs), updatingSTORAGE_S3_ENDPOINTandNO_PROXYtofastgpt-rustfs. Existing deployments can keep their current storage; see MinIO to RustFS migration to switch. - Default MongoDB version and initialization: The
mainCompose templates update the default MongoDB version to8.3.17(x86_64CPUs must meet MongoDB 8.x instruction set requirements). Replica set initialization and health checks usemongoshto wait for a writable primary before starting dependent services, with improved shutdown signal forwarding. - Default PostgreSQL version and volume mount path: The
mainCompose templates upgrade the default PG vector service topgvector/pgvector:0.8.7-pg18and switchfastgpt-aiproxy-pgto standardpostgres:18.7(with mainland China mirrors moved todocker.m.daocloud.io). Both services now mount their persistent volumes at/var/lib/postgresqlto match the PostgreSQL 18 data layout; this applies to new deployments only—do not mount existing PostgreSQL 15 data volumes directly. - Dedicated Plugin database and callback URL: Docker Compose templates point
fastgpt-plugin’sMONGODB_URIto a separatefastgpt-plugindatabase, explicitly setDB_MAX_LINK=100to avoid sharing collections with the main database, addFASTGPT_BASE_URL=http://fastgpt-app:3000, and depend onfastgpt-mongohealth. Custom deployments should configure a main service URL reachable from the Plugin container; if401errors appear during file upload callbacks, check this address first, update it, recreate the Plugin container, and retry the Tool. Before replacing an existing deployment’s template, preserve its dedicated Plugin database connection, or back up and migrate existing Plugin data before switching databases. - Agent Sandbox template and health check updates: Compose templates upgrade OpenSandbox Server to
release-1.2.1and maphost.docker.internal:host-gatewayso it can reach sandbox ports published on the host (add this mapping toextra_hostsonfastgpt-opensandbox-serverin custom Compose deployments using this hostname).fastgpt-agent-sandbox-proxyaddsFASTGPT_APP_REQUEST_TIMEOUT_SECS=60. Health checks forfastgpt-code-sandbox,fastgpt-opensandbox-server, andfastgpt-volume-managernow use built-innodeorpythoncommands, and the staticdeploy/k8s/volume-manager.yamlmanifest has been removed (see OpenSandbox Configuration for Kubernetes volume management).
Configuration changes
Starting in V4.18.0, most business and system settings have moved to admin console forms, leaving only essential infrastructure and startup environment variables. See V4.18.0 environment variables for the full list.
- App supports mounting
/app/defaultConfig.json, which participates only in initial setup when all business configuration domains are empty; subsequent file edits do not overwrite database settings. The legacyconfig.jsonhas been completely removed and is no longer read at runtime. - Commercial edition deployments must explicitly configure
TEAM_MODE(single,multi, orsync) and restart Pro after changes; the old database team mode no longer applies.syncmode also requiresEXTERNAL_USER_SYSTEM_BASE_URLand fails with an error if it is missing. - Manage Code Sandbox and MCP SSE under Admin → Subservice configuration; environment variables no longer apply, and deployment defaults can be provided via
/app/defaultConfig.json. - Content moderation Plugin migration: The legacy built-in Baidu text moderation (
censor.BAIDU_TEXT_CENSOR_CLIENTID/censor.BAIDU_TEXT_CENSOR_CLIENTSECRET), custom censor URL (censor.customCensorURL), and per-modelcensorflag in the commercial edition are deprecated and replaced by themoderationPlugin system managed byfastgpt-plugin.- If you used legacy Baidu moderation, go to Admin Console > Content Moderation > Moderation Policy to configure and enable the official Baidu Content Security (
baidu) Plugin. - If you used a custom moderation URL (
customCensorURL), install the official Legacy Custom Moderation (legacy-custom-censor) Plugin to connect your existing HTTP service without code changes, or build a nativemoderationPlugin with@fastgpt-plugin/sdk-factory. - See the Content moderation upgrade and migration guide for legacy behavior comparisons and field mappings, and the Content moderation guide for day-to-day configuration, testing, and custom Plugin development.
- If you used legacy Baidu moderation, go to Admin Console > Content Moderation > Moderation Policy to configure and enable the official Baidu Content Security (
Image updates
Upgrade scripts
Items 1–7 and 11 run automatically; items 8–10 are manual tasks (manual: true) that an administrator must trigger from Admin Console → System Upgrade after verifying the prerequisites.
-
Added Migrate system configuration (
20261116_migrate_system_configs), which runs automatically at startup and blocks App business startup until it succeeds. It imports legacy settings, fills missing fields, and encrypts managed secrets while preserving admin values, explicit clears, Licenses, and instance identity; original legacy configuration data is retained. The migration preserves legacy values that fail the new save rules and logs the affected fields. Admins can correct them after upgrading. External file links and cross-origin access remain restricted if the security configuration is damaged. The task reruns idempotently from the beginning. On failure, correct the issue using the logs, restart the node holding the lease, and wait for the lease to expire so the task can retry automatically. -
Added Initialize Dataset vector indexes (
20261022_initialize_dataset_vector_indexes), which runs automatically in the background after startup for PostgreSQL without blocking the App: it first verifies and drops the legacy globalvector_indexonline, then counts vectors in active Datasets in batches and queues index maintenance jobs. A successful migration means counting and queueing are complete; index builds continue in a globally serial queue. If cleanup or scanning fails, resolve the issue and retry from the upgrade management page to resume from the saved checkpoint. A custom index with the same name but a different definition is preserved and causes an error. -
PG partial indexes require
halfvecsupport (pgvector0.8.0or later), permission to create and drop indexes online, and sufficient memory, shared memory, and disk space. Datasets whose indexes are not ready or have failed continue to use exact search, which may increase query time. Failed builds do not automatically retry with a lower resource budget; after the issue is resolved, the next actual vector count queues another attempt. A cache hit does not trigger a retry. -
Added Backfill historical chat channels (
20261104_backfill_chat_publish_source), which runs independently with batched reads and writes in the background after startup without blocking the App or waiting for long-running tasks in the regular background queue. It fillspublishSourceseparately for chats and statistics records without changing legacy fields, identities, messages, or counters. Historical API, MCP, and deleted channels may retain only a type without a recoverable channel ID; unrecognized legacy sources are classified asunknownwithout guessing their channel. Records that previously failed source enum validation can be retried directly from the upgrade management page without modifying legacy data or resetting progress; other conflicting references or invalid data remain recorded as failures and can resume from the checkpoint after repair. Final validation now scans in batches and saves checkpoints, so it can resume at the appropriate batch after an interruption or after invalid data is repaired; legacy checkpoints restart only validation and preserve completed backfills. -
Added Backfill API Key types (
20261104_backfill_openapi_key_type), which scans all keys in batches, fills missingtypevalues aspersonal, and stores validappIdvalues as BSON ObjectId values. Credentials, ownership, quotas, and default target or binding semantics remain unchanged. Repair invalid records and retry from the upgrade management page. Management queries support only normalized data. Legacy-format data present during migration or written by old instances is outside query compatibility support. Legacy records written after the initial scan boundary are not automatically backfilled and require separate normalization. -
Added Migrate model pricing (
20261120_migrate_model_pricing), which runs independently in the background after the system configuration migration finishes. It fills missing STT pricing types withdurationand preserves existing rates and explicittokenspricing. It then backfillsmaxInputTokensKfor system LLMs in a single transaction and validates both sets of changes. If any legacy limit for a model is below1, the migration converts finite limits that lack the new field from millions to thousands of tokens, rounding to the nearest integer with a minimum of1. If all finite legacy limits for a model are at least1, the migration copies them as thousands of tokens and checks that they are positive integers. Legacy models whose first tier still lacks the new limit use that tier for billing until backfill. The migration preserves the originalmaxInputTokensvalues so a rolled-back version can read tiers that the new version has not rewritten. Review failures on the upgrade management page, correct them, and retry. -
Added Clean up deprecated MongoDB indexes (
20261123_cleanup_mongo_indexes), which runs independently in the background after startup. The migration drops listed indexes only when the name, keys, and options all match, preserving custom indexes with different definitions. If a replacement index is still unavailable after 30 minutes by default, the migration keeps the old index and records a failure. Resolve the issue and retry from the upgrade management page.MONGO_DEPRECATE_INDEXis enabled by default. Set it tofalseor0to inspect indexes and record pending cleanup without dropping them. -
Added Migrate legacy sandboxes to OpenSandbox (.tar.zst) (
20261117_migrate_sandbox_to_opensandbox, manual): 4.18.0 stores runtime records in MongoDBagent_sandbox_instances_v3and.tar.zstcold archives under S3sandbox/archive-v2/. Restarting alone does not run this task. Activeagent_sandbox_instances_v2records not yet migrated (sealosdevbox, legacysandbox/archive/*/package.zip, or legacy/workspacevolumes) are blocked at runtime withagentSandboxMigrationInProgress(409); deployments with no active legacy sandboxes (or only soft-deleted orphan records) complete quickly as a no-op. Cutover order (mixed 4.17.x and 4.18.0 rolling upgrades are not supported):- Stop all 4.17.x App and Pro nodes first.
- Upgrade sandbox components to
v0.5.0+: updateAGENT_SANDBOX_OPENSANDBOX_IMAGE(including custom derived images),fastgpt-agent-volume-manager, andfastgpt-agent-sandbox-proxytov0.5.0+, and OpenSandbox torelease-1.2.1. If activesealosdevboxinstances exist, keepAGENT_SANDBOX_SEALOS_BASEURLandAGENT_SANDBOX_SEALOS_TOKEN(plusAGENT_SANDBOX_SEALOS_WORK_DIRECTORYif customized) until both migration and cleanup finish. - Start 4.18.0 services and wait for the startup migration (item 1) to succeed.
- Manually run this task in Admin Console → System Upgrade: reads
v2read-only acrossrunningDevbox→stoppedDevbox→legacyArchives→validationand writes tov3andsandbox/archive-v2/, leavingv2records, remote Devboxes (paused), old/workspacevolumes, and oldpackage.zipfiles untouched. Fix any failed items and retry from checkpoint.
Post-migration verification: once status is
Completedwith zero unresolved failures, spot-check existing Agent sessions and Skill editors for cold restore, file read/write, terminal/preview connections, and Skill publishing. -
Added Clean up legacy sandbox resources (
20261117_cleanup_legacy_sandbox_resources, manual, depends on item 8): requires zero active unmigratedv2records in preflight; trigger manually only after verifying 4.18.0 in production (keep Sealos ENV until remote Devbox cleanup finishes, then remove). After verifying each active sandbox's replacement.tar.zstarchive exists undersandbox/archive-v2/, it idempotently deletes legacy remote Devboxes, legacy containers and/workspacevolumes, and legacysandbox/archive/*/package.zipobjects while keeping the legacy MongoDBagent_sandbox_instances_v2collection read-only and untouched. Rollback boundaries:- Sandbox layer: before item 9 runs, legacy
v2records, Devboxes,/workspacevolumes, andpackage.zipobjects remain untouched, requiring no PVC snapshots and no S3 sandbox archive restore. On a shared OpenSandbox control plane, 4.17.5 looks up instances bysessionIdand attaches to orresumesRunning/Pausedinstances. Therefore, after stopping 4.18.0 App/Pro nodes and before restoring 4.17.x traffic, terminate/delete any 4.18.0 trial sandboxes by their remote instance IDs inagent_sandbox_instances_v3(do not merelyPause; new external PVCs setdeleteOnSandboxTermination: false, so termination preserves volumes and archives) and confirm no recoverable instance remains for thatsessionId—or run 4.18.0 trials against an isolated OpenSandbox control plane. Then switch sandbox components back tov0.4.x, start 4.17.x, and verify on a sandbox that wasrunningbefore upgrade and cold-restored in 4.18.0 that 4.17.x reconnects to its legacy/workspacevolume and Devbox (randomized-suffixv3PVCs remain isolated from legacy volumes and can be cleaned up if the upgrade is abandoned). - Whole-app rollback: due to other non-backward-compatible 4.18.0 migrations (such as model pricing tiers and API Key normalization) and
.tar.zstSkill versions unreadable by 4.17.x, whole-app rollback still requires restoring pre-upgrade DB backups (plus S3 backups if non-sandbox assets were deleted or.tar.zstSkill versions were published). - Irreversibility: once item 9 runs, remote Devboxes, old
/workspacevolumes, and legacypackage.zipobjects are permanently deleted (the legacy MongoDBagent_sandbox_instances_v2collection is kept read-only and is not deleted by the migration task).
- Sandbox layer: before item 9 runs, legacy
-
Added Clean up API Dataset SYSTEM_ROOT sentinels (
20261120_clean_api_dataset_system_root, manual): Version 4.18.0 replaces the legacySYSTEM_ROOTsentinel folder withDataset.syncAlland per-foldercollection.syncChildren. Consumer cutover prerequisite (do not run legacy Pro sync consumers concurrently with 4.18.0 App scope writes): legacy Pro (≤ v4.17.5) ignoressyncChildren=falseandDataset.syncAll. If a legacy Pro consumer continues running while 4.18.0 App pauses or deletes child items, legacy Pro will expand the folder and re-import deleted files, which 4.18.0 Pro will then preserve as existing nodes. During rollout, stop all legacy Pro sync consumers from accepting new jobs and wait for in-flight sync jobs to finish before starting 4.18.0 Pro and opening 4.18.0 App scope writes. Once all App and Pro nodes are upgraded, manually trigger this task in Admin Console → System Upgrade to hoist sentinel children, backfillDataset.syncAll, and remove legacySYSTEM_ROOTrecords per Dataset transaction (4.18.0 App and Pro remain transparently compatible with legacy sentinels until cleanup runs). -
Added Clean up legacy Agent engine configuration (
20261127_cleanup_agent_engine_config), which runs independently in the background after the system configuration migration completes without blocking App startup. It removes retiredoverrides.agentEnginefields andagentEnginemarkers inexplicitDefaultPathsfrom thefeatureinstance configuration domain and increments the configuration revision while preserving all other feature settings; deployments with no residual fields complete immediately as a no-op.
🚀 New features
- [Tools and channels] Added App API Keys bound to a single App, managed separately from personal keys on the App publishing page. App managers share control of these keys for that App’s chats and chat management, independently of the owning member’s App permissions; the Commercial edition transfers key ownership through resource handover, and deleting an App also removes its bound keys.
- [Tools and channels] Chat and related management APIs now share support for external user IDs and Team member proxies. Use
customUidto narrow access to a user’s history, messages, files, citations, and Sandbox resources; personal keys with proxy permission can useauthProxyto act with the represented member’s permissions. - [Tools and channels] Chat logs now include an “Authorizer” column, hidden by default, separate from “User” to distinguish your users from the authenticated Team member. API
customUidvalues appear unchanged as the user, and CSV exports follow the selected columns. Log columns now size to their contents so long UIDs do not squeeze member names. App chat logs now load as you scroll. Search by title keyword or enter the full session ID for an exact match. Each App remembers your search mode, and CSV exports use the current mode and filters. - [Tools and channels] Added FastGPT branding to public share pages across desktop, mobile, and embedded layouts; when enabled, new links show it by default, and desktop visitors can dismiss it for the current visit. Persistent hiding requires a valid plan entitlement, configurable per plan or individual subscription in the Commercial edition; legacy links without a saved preference remain exempt, while links with a saved hiding preference show branding again if the entitlement becomes invalid and hide it again when the entitlement is restored.
- [Tools and channels] Added Plugin-based content moderation, disabled by default. When enabled, policies can independently check user input, model context, and final output, including streamed output, with configurable actions for suspected risks and moderation service errors. Admins can configure Plugins, switch the active service, test moderation results, and view global moderation records. FastGPT selects the first configured Plugin automatically when no service is active. The Moderation Policy page updates its navigation based on whether moderation is on and a Plugin is active. Uninstalling an inactive Plugin preserves unsaved policy changes. Chat details show the moderation records for that chat.
- [Tools and channels] Added the official beta CLI,
@fastgpt/cli, with login, profile switching, identity and environment checks, Dataset management and joint search, and App chat and history commands. JSON output and command metadata discovery support scripts and Agents. It also supports file and link imports, Collection and chunk management, and discovery of available Apps, models, system Tools, and Code Sandbox dependencies. Edit, validate, and compile Workflows offline, or connect to FastGPT to fetch authorized templates, pull App drafts or historical versions, compare drafts, debug, run test assertions, and check for sync conflicts before saving or publishing. Output supports field selection, value extraction by path, and compact command discovery. - [Tools and channels] The official TypeScript and JavaScript SDK (
@fastgpt/sdk) and Python SDK (fastgpt-sdk) are both in beta. They provide typed access to chat, Datasets, App logs, and models through System OpenAPI, with support for streaming chat, resuming interactive Workflows, and automatic pagination. The Python SDK provides synchronous and asynchronous clients for Python 3.10 or later. - [Tools and channels] The MCP client supports outbound proxies (
HTTP_PROXY,HTTPS_PROXY, andALL_PROXY), delegating target DNS resolution and internal-network egress controls to the proxy layer. Destinations that matchNO_PROXYcontinue to connect directly with local address checks. - [Workflows and Agents] Workflow Agent Nodes can now be added from the template panel and used as Tool Nodes by other Agents. Dataset inputs support variable bindings; standalone ChatAgent Apps can also be referenced as Workflow child Apps or Agent Tools, with file inputs and resumable interactions for composing multi-Agent Workflows.
- [Workflows and Agents] Added MCP and HTTP Toolkit Nodes that you can configure directly in a Workflow without first creating a standalone Tool App. Customize child Tool descriptions and authentication, debug each Tool, and let Tool call Nodes use the latest remote Tool definitions at runtime.
- [Workflows and Agents] Commercial edition Workflow Builder can build, validate, and repair Workflows directly from clear creation or modification requests, while still waiting for preview confirmation when you ask to review a proposal first. Valid candidates can be delivered directly; you still apply them to the canvas manually. If a run ends naturally without delivering a candidate, the same Agent checks requirement coverage in its existing context.
- [Workflows and Agents] Commercial edition Workflow Builder supports switching between independent tasks within a session, saving each task’s requirements, proposals, and draft separately so work can continue from saved data after context compression or an interrupted run. Recovery still checks task status and the canvas baseline; unsaved drafts may be lost if the sandbox is lost.
- [Workflows and Agents] Added fullscreen viewing for simple App, ChatAgent, and Workflow debug views and the complete response dialog, preserving the current content when switching sizes. Entering fullscreen moves outside keyboard focus into the debug view. Press Esc to exit. The Workflow debug panel can also be resized by dragging its edge, making long responses and run details easier to read.
- [Workflows and Agents] With vision enabled, FastAgent can use images returned by MCP, HTTP, Workflow Tools, Plugins with multimodal output, and Sandbox file Tools in the next model turn. Each Tool result can pass up to
4images. Text results remain available if an image fails to load or vision is off. Downstream Nodes can still use the Plugin’s output values. - [Workflows and Agents] Publish multiple Skills in one package with
SKILL.mdfiles at any folder depth. Publishing skips dependency folders and invalid Skill files and requires at least one valid Skill. - [Models and billing] System models now support an “Upcoming deprecation” flag in model management and model and speech selectors; Commercial edition admins can create notification plans with multiple rounds for Teams whose currently published Apps or Datasets statically use these models, sending in-app messages with optional SMS or email. Plans support failure inspection, run recovery, retries, and termination, and stop new deliveries at the deadline; model removal remains a separate action.
- [Models and billing] Commercial edition Team models can now use custom request URLs and authentication through configuration APIs or templates as a transitional option for direct chat, Agent, embedding, reranking, and speech requests, retaining endpoint settings after edits. Endpoints undergo safety checks when saved and requested, including redirect restrictions; model lists hide endpoint and authentication details.
- [Models and billing] OpenAI and Azure Model providers now offer Auto, Responses, and Chat Completions as upstream chat protocols, with new providers defaulting to automatic selection based on the model. This affects only chat models, and the upstream must support the selected protocol.
- [Models and billing] System LLMs support separate rates per million tokens for cache reads and creation. Omitted rates inherit the tier’s input rate, and a rate of 0 makes that usage free. Usage details show recorded cache counts, and the channel dashboard estimates Points using current rates. See Model configuration.
- [Models and billing] Model management now supports dragging models into a custom order and canceling before saving; the root account can reorder system models, and with team models enabled in the Commercial edition, members with the “Install model” permission can reorder their own models. “Available models” groups your own team models, shared team models, and system models in that order and applies the custom order within each group; JSON configuration updates preserve this order, which the client also uses for its final system-model fallback. Newly created or newly imported models appear at the top of their group without changing the relative order of existing models.
- [Models and billing] Model tables with permission configuration now show creators and identify system models separately. Member display pages can load current creator details, while shared-link catalogs do not expose member information.
- [Models and billing] Speech recognition models now support rates per
60seconds or separate rates per million input and output tokens. Model management, the public pricing page, and usage details reflect the selected billing type; API, Lark, and WeChat Official Account entry points record usage against the model actually called. - [Models and billing] Usage in the Commercial edition now supports mutually exclusive member, department (including subdepartments), or group filters, with the same scope applied to details, charts, and CSV exports. Selections use current organization and group memberships; members with Team management permission can view usage for the selected members, while other members can view only their own usage.
- [Models and billing] System models can now be imported in batches from system channels: FastGPT fetches the upstream channel catalog, filters out already installed models, automatically matches the most specific preset template (or lets you configure a blank template), binds imported models to the selected channel, and reports per-model import results.
- [Datasets and files] Added optional MongoDB vector storage. Setting a separate search connection with
SEARCH_MONGO_URLgives MongoDB priority over other vector stores. Use it for new vector stores, since FastGPT does not migrate existing vectors automatically. The search database requires MongoDB8.3+andmongot. It uses1536-dimensional unit vectors and an HNSW INT8 index, chooses exact or approximate search based on the number of vectors that match the filters, and reranks results using the original vectors. - [Datasets and files] With Dataset enhancement enabled in the Commercial edition, the template FAQ import API now supports optional automatic index generation using both questions and answers as input. Automatic indexing tasks that exceed the processing length limit fall back to standard vector indexing, retaining each entry and its input order.
- [Datasets and files] Dataset search adds a rerank candidate limit of
10–100chunks, with a default of100. Candidates are sent to the rerank model in text recall order after fusion and deduplication, helping balance search quality, latency, and model load; after successful reranking, text chunks beyond the candidate limit are excluded from weighted fusion so they cannot bypass the similarity filter. - [Datasets and files] Added a unified Dataset search API for joint searches across Datasets, text or image queries, and results limited by chunk count or token budget. It supports reranking, query expansion, and Commercial edition metadata filters; joint vector searches require the same Embedding model.
- [Datasets and files] API file Datasets now support batch deletion by external file or directory IDs through
datasetId + apiFileIds, including the corresponding derived folders and child documents, without first looking up internal Collection IDs. Deletion still requires ownership of each deletion root. - [Datasets and files] Use the column headers in a Dataset’s Collection list to sort by name, creation time, or update time in either direction. Changing the sort returns the list to the first page and keeps the current search and tag filters.
- [Teams and permissions] The root account can search and switch to any available Team to manage its resources and members, with switches recorded in audit logs. Membership created for cross-Team administration does not consume tenant seats or change the Team’s actual owner when switching.
- [Teams and permissions] Commercial edition Team audit logs now have a Resource column with links to associated Apps, Tools, Datasets, Collections, and Skills. Deleted resources are marked and retain their recorded names when available. Details highlight what changed, and the list and CSV are sorted by operation time, newest first. Combine date, member, and event filters. The default range is the most recent
7local calendar days including today, and you can select older dates and inactive members. Signed-in members with Team management permission can export all matching records as localized CSV, up to50000records per export. Narrow the filters if you exceed the limit. The CSV includes associated resources and uses the query start offset for timestamps. Each export request creates an audit record. Collection audit logs cover creation, renaming, moves, enable and disable actions, tag changes, restored permission inheritance, and sync attempts. They also cover signed-in users viewing source content or exporting Q&A from Collection details. Details can show the associated Dataset and relevant paths. Password sign-in logs can show the IP address and its region when available. - [Teams and permissions] Commercial edition user management APIs now include Team memberships, member names, and department paths. Team member lists also return login usernames to distinguish accounts from member identities.
- [System and operations] Added an admin instance configuration center with settings for core services, security, resources, and subservices, filtered by deployment edition; shared settings are also available in the Community edition. Select parsing providers, test service connectivity, and save changes across configuration domains. The form validates settings on save, marks fields with errors, and preserves the draft if concurrent edits conflict. Managed secrets are encrypted, and the form shows only whether they are configured.
- [System and operations] Commercial edition admins can use Ops Dashboard → Performance to view Dataset search latency trends, failure rates, and stage timings by time range, search mode, and index size. Waterfall charts help diagnose failed and degraded searches and inspect samples of successful searches. FastGPT retains aggregate metrics for 90 days and individual records for 7 days. Performance records exclude raw queries and chunk content.
- [System and operations] Chats now record the channel used by the latest run. Logs show channel types and names separately, with channel IDs available for inspection; filters, CSV exports, and Commercial edition statistics also use the new channel classification.
- [System and operations] Commercial edition admin lists for users, Apps, Datasets, Teams, Plans, payments, and invoices now let you select a search field to find records by the corresponding username, name, or ID. Name searches support partial matches, and invalid IDs show an immediate warning.
- [System and operations] App templates now support configuring and validating a live preview URL in the admin console, with an “Online preview” entry shown in the template marketplace and App creation pages.
⚙️ Improvements
- [Workflows and Agents] Unified Tool, Skill, and Dataset cards and status checks across Agent forms and Workflow Nodes. Running, publishing, and single-Node Debug use the same rules, report invalid, offline, or unconfigured resources, and preserve existing configuration during asynchronous selection and saves.
- [Workflows and Agents] Agent prompts now resolve mentions of Tools, individual Tools in a Toolkit, Skills, and built-in capabilities by source. Legacy mentions still work, and mentions without a unique match are marked invalid. Commercial edition ChatAgent assisted generation checks the resources used in each step and offers Sandbox capabilities based on instance and Team permissions.
- [Workflows and Agents] Large Workflows render Node content within the visible canvas area to make panning and zooming smoother. Code Nodes retain edits when they move out of view and back.
- [Workflows and Agents] You can save a Workflow draft before it passes run or publish validation. Reopening the editor can restore a local draft, and edits made while saving are preserved. If you delete a Node or output that is still in use, drafts, published versions, and imported or exported configurations retain its original name so you can find and rebind the affected inputs.
- [Workflows and Agents] Single-step debugging shows results on the current Node and lets you continue after an interaction. Temporary inputs and debug state stay out of the saved Workflow configuration.
- [Workflows and Agents] Commercial edition Workflow Builder previews now show a title, a short summary, and a pending-confirmation status. Restored proposals awaiting confirmation open at the top of the card and preserve the reading position during subsequent rendering; confirmation, revision, and cancellation use the shared interaction controls.
- [Workflows and Agents] Raised the option limit for single- and multi-select configuration from
50to200. Manual options in User selection Nodes are capped at200, and each option text input accepts up to100UTF-16 code units. - [Workflows and Agents] Standardized button and model selector sizes across App, Workflow, and Tool editors, and aligned help icons with text for a more consistent layout.
- [Workflows and Agents] Skill workspace exports include regular files excluded from publishing by ignore rules and work even if you haven't created a
SKILL.mdfile. The server can start or resume the sandbox as needed. Editors must wait for their sandbox to be ready, while read-only collaborators can start an export directly. - [Workflows and Agents] Stopping or timing out an Agent run actively interrupts running Sandbox Tool processes. Sandbox shell Tool output truncation now keeps only the last
2000lines or50 KBwithout writing overflow temp files. In-workspace.zipextraction now runs through a dedicated server endpoint subject to disk quota checks, and Skill workspace exports stream archives while supporting cancellation on disconnect. - [Datasets and files] In the Commercial edition, moved tag filtering for simple Apps, ChatAgents, and Workflow Agents to the “Search filter” tab in Dataset search settings and added a dedicated toggle. Turning it off in manual input mode preserves conditions for later editing, and the summary reflects its state; variable-bound Datasets or filters preserve their configuration so tags that cannot be resolved while editing are not removed.
- [Models and billing] Consistently place models in test mode last in the mobile model selector, speech playback, channel bindings, and model log and dashboard filters, preserving catalog order within each group.
- [Models and billing] Aligned header and body column widths in the model management table and isolated edit dialog state by row, reducing full-table rerenders when opening a dialog in a large list.
- [Models and billing] Improved truncation and hover text for long names in model and speech selectors, keeping names from stretching controls or crowding the voice column.
- [Chat experience] Improved chat history sidebar refreshes with batched queries for long lists and retries while a chat is running or a request has failed. Hidden tabs pause periodic refreshes, resource switches discard late responses, and failed refreshes preserve the previous status and read flags.
- [Chat experience] Improved input suggestions for continuous typing, cursor movement, and text replacement: use the up and down keys to select a suggestion and Enter or Tab to fill it while preserving surrounding text; stale suggestions and input method confirmation keys no longer trigger unintended completion.
- [Teams and permissions] Ordinary verification-code flows in the Commercial edition, including registration, password recovery, and account security, now use rotation CAPTCHAs with slider and keyboard controls and up to
3attempts per image; if the image generation queue is full or the wait times out, you see a clear message and can request a new image to retry. Login two-step verification continues to use character CAPTCHAs. - [Tools and channels] Known server error messages in JSON, SSE, and MCP responses now follow the request language in Simplified Chinese, Traditional Chinese, English, or Korean, with language preferences forwarded to internal Commercial edition requests. Unknown translation keys or translation resource load failures leave the original text unchanged. Once an SSE connection is established, known errors include
httpStatusin the error event. - [Tools and channels] HTTP authentication, Tool secrets, and form password fields now share the same editing behavior: saved secrets use an empty replacement draft and change only after confirmation, while canceling or moving focus away preserves the current value. Renaming a custom header or deleting another row preserves each row’s editing state.
- [Tools and channels] Personal and App API Key lists now consistently show creation time before expiration time, making key details easier to review.
- [System and operations] Replaced MongoDB join aggregations with application-layer batch queries for App chat log lists and exports, published App resource lookups, and the Commercial edition evaluation list. Log exports load only the selected columns and cache matched version names across batches, reducing database aggregation overhead.
- [System and operations] Choose a year or month from the calendar header in date and date-time pickers, or enter a year to jump to it. Browsing preserves your selection, calendar labels follow the interface language, and you can clear the selected value directly in the field.
- [System and operations] Improved avatar handling for Apps, Datasets, Tools, and chats by making
avataroptional across global schemas, OpenAPI contracts, and SDKs, removing empty-string API fallbacks, normalizing legacynullvalues, and aligning default avatar rendering in the UI.
🐛 Fixes
- [Workflows and Agents] Fixed Node memory overwrites, incomplete propagation, and failure contamination across nested child Apps, Workflow Tools, loops, and parallel runs. Content extraction, question classification, and Agent Node state are isolated by full call path, and child Workflows merge only their own updates while preserving memory from unexecuted branches. Loops propagate memory across successful iterations and keep interaction checkpoints, while parallel runs merge only successful results in input order (later tasks win on matching keys) and discard failed attempts.
- [Workflows and Agents] Fixed variable isolation, interactive resumes, and error counts across child Apps, Tool calls, and loop or parallel containers. Resumed Agents running as child Tools or Apps preserve context, plans, answers, and paused variables (including explicitly cleared values) without leaking unfinished interactions downstream. Concurrent Tool calls read and update isolated variable copies, writing back on success or pause and discarding changes on failure or stop. Loop and parallel containers retain per-step errors in details while counting summary errors on the Loop Node or final parallel outcome.
- [Workflows and Agents] Fixed Agent and Tool call Nodes inheriting calls to Tools they can't use, and prompt-based tool calling losing parallel calls or mismatching results. Nodes keep calls and results for available Tools. In prompt mode, the model receives each parallel call with its matching result in call order.
- [Workflows and Agents] Fixed status tracking, resource conflicts, and initialization lock contention when multiple Agents or concurrent child Apps share a sandbox. Root sessions can browse and download files once a nested Agent prepares the sandbox (system and Team permissions still apply); same-named files from different sources are deduplicated in the same run while identical sources reuse names; selecting Skills across Nodes no longer clears cached versions or initialization markers; and busy initialization locks now use bounded retries.
- [Workflows and Agents] Fixed initialization clearing stop requests received during preparation for Workflows and Commercial edition auxiliary generation. Workflow runs without SSE, including MCP calls and scheduled triggers, now also respond to explicit stop signals.
- [Workflows and Agents] Fixed validation failures when loading, saving, or publishing Workflows with legacy Agent Dataset fallback references or legacy Agent Tool input formats, filtering malformed manual Dataset entries, preserving fixed parameter values and input sources, and supporting names such as
constructor. - [Workflows and Agents] Fixed Skill debug chats not binding user-uploaded files to the Agent Node. Subsequent turns now retain uploaded file context.
- [Workflows and Agents] Fixed Agents dropping the configured time granularity and start/end limits when passing interactive form fields for a date/time or time range. The original field settings are now preserved.
- [Workflows and Agents] Fixed editing interactions in Workflow and parameter dialogs: multiline text fields no longer reset the cursor during input method composition and candidate confirmation; long Tool and form parameter dialogs scroll properly, with permission and HTTP authentication menus scrolling internally instead of clipping; and dynamic input columns resize cleanly in narrow Node panels.
- [Workflows and Agents] Fixed Agent maximum output tokens and answer visibility settings not taking full effect. Hiding the answer preserves required interactions and Node results; with error capture enabled, errors go to the error branch instead of being appended to the visible answer.
- [Workflows and Agents] Fixed Tool call truncation handling in FastAgent: when output hits the token limit, FastAgent skips potentially incomplete Tool calls and returns localized feedback so the model can continue.
- [Workflows and Agents] Fixed untranslated field hints for text editing, Dataset citations, and custom feedback during assisted Workflow generation across Simplified Chinese, Traditional Chinese, English, and Korean. Text editing hints now include the complete reference syntax for upstream outputs and global variables.
- [Workflows and Agents] Fixed Workflow core treating literal arrays shaped like variable bindings as global variable references during updates or removals, and missing references in template interpolations, Dataset tag filters, condition and variable-update Nodes, dynamic form options, and credential settings, with complete reference type validation.
- [Datasets and files] Fixed missed links and accidental deletions in Commercial edition website sync and API file Dataset sync. Website sync now follows child links on directory pages without valid content, improves deduplication and post-redirect relative resource resolution, and preserves existing Collections with ordered cleanup on invalid content, write failures, page-limit truncation, or early stops; API file Datasets locate selected folders via listings when folder details are unavailable and stop while keeping local data if listing fails.
- [Datasets and files] FastGPT now isolates previews of uploaded HTML, SVG, XML, and similar files so preview scripts cannot use the main site’s permissions. HTML previews in a separate page still support scripts and forms.
- [Datasets and files] Fixed incomplete scope constraints in Collection subtree queries and permission synchronization. Traversal and updates now stay within the current Team and Dataset, preventing invalid parent-child links from affecting other Datasets.
- [Datasets and files] Fixed upload cancellation, stream uploads, and missing-object responses in object storage file proxying. Client disconnects now cancel proxied uploads and release input streams (with in-flight cancellation support in the object storage SDK); Alibaba Cloud OSS stream uploads with a known length no longer add chunked encoding that conflicts with
Content-Length; and missing objects return HTTP404while missing buckets report a configuration error. - [Datasets and files] Fixed filename parsing and import encoding issues:
Content-Dispositionproperly restores escaped quotes and backslashes without truncating names, and CSV or Excel template imports preserve original non-ASCII characters and literal percent sequences in Collection names. - [Datasets and files] Fixed extension detection and expiration handling for file download short links. New short links use the hyphen-separated
v2format with valid extensions included in the signature (recognizing only this instance’s download routes and configured public prefixes while keeping validv1links usable); fractional-day lifetimes now calculate actual durations instead of truncating and expiring immediately. - [Datasets and files] Fixed the general Dataset creation endpoint applying Dataset count quotas to folders. Folders now use the folder quota.
- [Datasets and files] Fixed remote image downloads during document parsing that could run past the timeout while reading the response body. The timeout now covers the connection and the full download.
- [Chat experience] Fixed inaccurate generation status and resume connections waiting indefinitely after long periods without output or client disconnects. Persisted chats now use independently renewed Redis leases, which expire within 60 seconds of the last renewal if the process exits; acquisition or read errors trigger fallback behavior, so mutual exclusion and accurate status cannot be guaranteed during Redis failures.
- [Chat experience] Fixed status recovery for concurrent sends and page refreshes right after sending. Rejected duplicate sends restore the rejected text and attachments while refreshing and recovering the existing reply (including interactive resumes and completed runs); browser stream closures on page refresh are no longer treated as send failures or restored into drafts.
- [Chat experience] Fixed admin feedback and closing custom feedback updating the user message when it shares a
dataIdwith the AI reply in the same round. These operations now update only the corresponding AI reply. - [Chat experience] Fixed images being missed when their Markdown descriptions contain paired square brackets, such as
![Image [1]](...); image extraction and replacement now handle these descriptions correctly. - [Chat experience] Added missing Simplified Chinese, Traditional Chinese, English, and Korean translations for sandbox connection and file errors, Skill generation status, and Tool version labels, fixing untranslated text or internal keys appearing in some screens. Also added Korean text for account deletion, password setup, related audit events, Dataset tag errors, and rate-limit messages; Question classification Nodes now use Korean default options.
- [Chat experience] Fixed history loading compatibility for malformed attachment keys and legacy interactive replies:
nullfile keys on image or document attachments are treated as omitted instead of failing validation, and unrecognized legacy interaction replies render as ordinary messages while skipping invalid actions. - [Chat experience] Deleting an App now also removes its Workflow Builder and ChatAgent helper sessions and their files. Cleanup uses the session source to identify the associated records and files.
- [Chat experience] Fixed stale values remaining after clearing inputs following a Plugin restart. Restart reuses the last submitted inputs. Clear inputs restores configured defaults and empties the other fields. Runtime updates to global variables are handled separately from Plugin inputs.
- [Models and billing] Fixed the OpenAI SDK using AI Proxy or host environment credentials when a custom model endpoint has no configured authentication, preventing default credentials from being sent to that address.
- [Models and billing] Fixed repeated retries and unclear messages after embedding failures. Upstream authentication failures, insufficient quota, and other permanent errors stop automatic retries for the request and the Dataset indexing job. Transient rate limits and service failures use bounded retries with backoff, and the indexing queue can honor the upstream retry delay. Recognized errors have localized messages. The model status page includes the error code and the upstream HTTP status when available.
- [Models and billing] Fixed signature verification for Commercial edition Alipay and WeChat Pay: Alipay query and refund responses now enforce mandatory signature verification and block processor creation when certificates or verification keys are incomplete; WeChat Pay GET requests no longer send a body that mismatches the signature and breaks order queries or certificate fetches.
- [Models and billing] Commercial edition bill details can display records with legacy fractional points. When an older standard Plan renews, FastGPT rounds its previous total points up before adding the new grant and preserves the fractional precision of the remaining balance.
- [Teams and permissions] Fixed App creation, JSON imports, copies, and conversions to new Workflow copies failing when they include unreadable or missing resources. The initial version snapshots only readable resources; any remaining unusable Node references are marked as errors in the detail view for later correction.
- [Teams and permissions] Fixed API Key expiration and quota errors including the plaintext key. Error messages no longer expose credentials; health checks now read keys from the
Authorizationheader, reducing exposure in URLs and access logs. - [Teams and permissions] Fixed commercial edition API Keys and share channels that continued accepting calls after usage reached the limit. A limit of
0blocks calls even before any points are used, and the publishing channel list shows the0limit. If you previously used0to allow unlimited usage, set the limit to-1. - [Teams and permissions] Fixed audit details treating some names, URLs, or changed values containing colons as translation keys. System labels are still translated, while user content is displayed unchanged. Dataset configuration audit details now localize recognized field labels, boolean values, and the placeholder for an unknown model while preserving actual model names. Credential changes show only the field that changed.
- [Teams and permissions] Fixed confirmation dialog UI and localization details: the “Cancel” button in the account deletion confirmation dialog follows the current interface language, and the close button in untitled confirmation dialogs such as sign-out is no longer covered by the dialog body.
- [Teams and permissions] Fixed missing team-mode and target-team checks for external member synchronization. It now requires a configured external user system,
syncmode, and an authorized admin in the root team. - [Teams and permissions] Fixed Commercial edition SMS proxy business rejections being treated as successful delivery when HTTP
200was returned, and repeated retries after explicit rejection. The original failure reason is preserved. - [System and operations] Fixed CSV formula escaping that could be bypassed by fields starting with whitespace, a BOM, tabs, or line breaks, strengthening log, usage, and audit exports.
- [System and operations] Fixed io_uring crashes during heavy output or backpressure in JavaScript code workers on Linux with seccomp enabled. Workers fall back to epoll before startup while retaining the existing native isolation.
- [System and operations] Fixed Code Sandbox rejecting Tokens containing supported special characters such as
*,!,@, or:. Missing or mismatched credentials now consistently return HTTP401. - [System and operations] Fixed MongoDB 4.x compatibility issues, including empty update failures when clearing Team AI accounts, external Workflow variables, moving Dataset Collections, or updating chat feedback, as well as header-only CSV chat log exports on MongoDB 4.4 caused by incompatible aggregation syntax.
- [System and operations] Fixed OpenSandbox lifecycle states, file metadata queries, and batch file edits: transitional
PendingandAllocatedstates now wait until running instead of failing; file metadata queries surface permission or connection errors and preserve empty-file sizes and permissions; and batch edits to the same file apply sequentially with applied, unmatched, unknown, and skipped reporting, stopping later batches after a confirmed miss. - [System and operations] Fixed inconsistent filter boundaries caused by the date picker mutating original dates, requests dropping milliseconds, and charts querying an extra day; page selections, lists, statistics, and exports now preserve the complete selected date range, and the model dashboard defaults to yesterday and today. Commercial edition App charts no longer lose time buckets across daylight saving transitions, and log and usage CSV exports use the request’s start offset to avoid server daylight saving effects.
- [System and operations] Fixed inconsistent chat log filtering and legacy source classification: user, feedback, and session search filters now combine instead of overwriting one another across lists and CSV exports, and unrecognized channel types are classified consistently as “Unknown” across lists, CSV exports, and Commercial edition source charts.
- [System and operations] Fixed Langfuse Node attributes leaking into parent traces and missing Agent generation records and usage. Concurrent Nodes now track usage separately. For chat Workflows, the root observation includes the App ID. Node observations include the Node ID, its name when available, and the trace name
message, so you can filter by App and tell Nodes of the same type apart. FastGPT sends reasoning text (reasoningText) only in generation outputs. - [Tools and channels] Fixed incomplete delivery of execution errors in WeChat, Lark, DingTalk, WeCom, and WeChat Official Account chats. If a run fails partway through, users receive the partial reply and the error message.
- [Tools and channels] Fixed audio transcription input validation errors being wrapped as generic service errors. Invalid inputs now return the standard HTTP
400parameter error. - [Tools and channels] Fixed Marketplace proxy and Tool package upload issues: the proxy waits for upstream streams to finish while preserving status codes instead of overwriting responses with default JSON, and Tool package uploads include localized README files while retaining documentation URLs for Toolkits and child Tools.
- [Tools and channels] Fixed blank text in some Tool names, descriptions, and tags when their Traditional Chinese translation is empty. These values fall back to Simplified Chinese, then English if no usable text is available.
🛠️ Code improvements
- [Workflows and Agents] Unified execution for canvas child Apps, Agent child App Tools, and legacy App call Nodes. A shared runtime context manages variables, memory, files, resources, stop controls, and Node responses, with common handling for interaction resumes, streaming, and usage aggregation. The commercial edition Workflow Builder uses the same path to count, save, and stream Node responses. Plugin runtimes and call tokens carry the usage record ID for the current run.
- [System and operations] Added skills for authoring and running integration test cases organized by business area. Workflow editor regression cases use scenario matrices with single-page browsing and filtering, plus manually triggered Node and headless Playwright scripts; AI runs uncovered cases or reviews script failures, while temporary HTML reports retain the executor, results, evidence, and retest history for each item.
- [System and operations] Added per-language draft control to the documentation site, with consistent filtering across routes, navigation, search, and exports.
llms.txtnow exports published pages in the requested language, while missing translations can still fall back to published content. Official Chinese and English documentation uses unprefixed URLs ondoc.fastgpt.cnanddoc.fastgpt.io, redirects older language-prefixed links to existing pages, and aligns canonical links, search indexes, and Markdown exports, with prompts to switch languages. Runpnpm sync:openapi-docsto sync the System OpenAPI reference pages manually. - [System and operations] Removed standalone evaluation workspace configuration and related Pro scripts, commands, and historical assets to simplify development tooling.
- [System and operations] The main App uses TypeScript project references for incremental type checking by package, and the Marketplace checks fewer files by default to reduce memory use. Release and preview CI run type checks for the main App and workspace SDKs in a separate job and cache the main App’s incremental results to reduce repeated checks during image builds.
- [System and operations] Updated npm and Rust dependencies to address security issues, including Next.js
16.4.6for the main App and Axios1.21.1for the shared HTTP client. The documentation site uses Next.js15.5.29and Mermaid10.9.8. Upgraded Mongoose to8.24.8and the Plugin SDK to1.2.0-beta.2, with corresponding updates to Plugin streaming response types. i18next was upgraded to26.3.4, and the main App transpiles it for its existing browser targets. - [System and operations] Development deployment templates now use Node.js or Python commands to check the health of Code Sandbox, OpenSandbox, and the volume manager. The development Plugin service uses a dedicated database and waits for MongoDB to become healthy before starting.
- [System and operations] App template reads and writes now use a shared data service, with Redis versions coordinating instance caches so reads refresh after writes commit. Concurrent loads share one request, and failed refreshes retain cached data, reducing repeated fetches.
- [System and operations] The community and commercial editions now use Redis Pub/Sub to wake Dataset processing queues. Jobs queued in a transaction send a notification after the commit, and a scheduled scan every minute picks up jobs if a notification fails.
- [Datasets and files] Improved token-based text splitting by reusing token counts for repeated text within each split, reducing repeated tokenization.
- [Workflows and Agents] FastAgent now prompts models to use images, audio, and video included in the message directly when the model supports that media. The built-in
read_filesTool is for document text that is not yet in the conversation. - [System and operations] Upgraded Agent Sandbox to OpenSandbox
1.2.1with persistent volumes mounted at/home/sandbox(workspace at/home/sandbox/workspace), a Debian 13 default base image with built-infastgpt-ide-agent, and.tar.zstcold archives and Skill packages (with backward-compatible reading of legacy.zipSkill packages). Silent same-volume image updates eliminate separate Skill runtime status checks and manual upgrade triggers. The Docker runtime adds a soft disk quota enforced againststorageSizeGi, blocking writes when exceeded and switching the terminal into a read-only recovery mode so you can free space.
Last updated
Upgrade Guide
Follow the standard FastGPT self-hosted upgrade procedure covering image tag conventions, startup migrations, background migrations, and version steps.
V4.17.7
FastGPT V4.17.7 release notes improving compatibility for unrecognized language codes so login restore, API calls, and workflow loading fall back cleanly to English.