FastGPTFastGPT

V4.3

Archived upgrade instructions and migration notes for upgrading a self-hosted deployment to FastGPT V4.3.

Run the Initialization API

Send 1 HTTP request (remember to include headers.rootkey — this value comes from your environment variables):

  1. https://xxxxx/api/admin/initv43
curl --location --request POST 'https://{{host}}/api/admin/initv43' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'

This will add a new file_id column to the modeldata table in PostgreSQL, used for storing file IDs.

Add Environment Variable

Add a FILE_TOKEN_KEY environment variable, used to generate file preview links with a 30-minute expiration.

FILE_TOKEN_KEY=filetokenkey
Edit on GitHub

Last updated

On this page

Put your business knowledge to work with AI

Import company documents and build accurate, reliable, traceable AI answers.