<4.12.0
V4.8.11 (Commercial Edition Initialization)
FastGPT V4.8.11 Release Notes
Upgrade Guide
1. Back up your data
2. Update configuration file
To add the OpenAI o1 model, add the following configuration:
{
"model": "o1-mini",
"name": "o1-mini",
"avatar": "/imgs/model/openai.svg",
"maxContext": 125000,
"maxResponse": 65000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1
}
},
{
"model": "o1-preview",
"name": "o1-preview",
"avatar": "/imgs/model/openai.svg",
"maxContext": 125000,
"maxResponse": 32000,
"quoteMaxToken": 120000,
"maxTemperature": 1.2,
"charsPointsPrice": 0,
"censor": false,
"vision": false,
"datasetProcess": true,
"usedInClassify": true,
"usedInExtractFields": true,
"usedInToolCall": true,
"toolChoice": false,
"functionCall": false,
"customCQPrompt": "",
"customExtractPrompt": "",
"defaultSystemChatPrompt": "",
"defaultConfig": {
"temperature": 1
}
}3. Update image tags and restart
- Update the FastGPT image tag to v4.8.11-fix
- Update the FastGPT commercial edition image tag to v4.8.11
- Update the FastGPT Sandbox image tag to v4.8.11
4. Commercial Edition initialization
From any terminal, send an HTTP request. Replace {{rootkey}} with the rootkey from your environment variables, and {{host}} with your FastGPT domain:
curl --location --request POST 'https://{{host}}/api/admin/init/4811' \
--header 'rootkey: {{rootkey}}' \
--header 'Content-Type: application/json'This initializes team member groups.
V4.8.11 Release Notes
- New - Form input node, allowing users to enter information during workflow execution.
- New - Loop execution node that accepts an array for batch processing, currently supporting up to 50 items in serial execution.
- New - Nodes can now be collapsed.
- New - Simple Mode supports a new history mode that records local change history.
- New - Chat history now uses scroll-based loading instead of only loading 30 messages.
- New - Workflow adds a trackpad-priority mode, toggled via the button in the bottom-right corner.
- New - Sandbox adds a string-to-Base64 global method (global variable
strToBase64). - New - Support for OpenAI o1 models. Requires adding
defaultConfigto the model configuration to overridetemperature,max_tokens, andstreamsettings, as o1 does not support stream mode. - New - AI chat node Knowledge Base references now support configuring
role=systemandrole=user. Nodes with custom prompts already configured will keepusermode; all others will switch tosystemmode. - New - Plugins support uploading system files.
- New - Plugin outputs support designating specific fields as tool responses.
- New - When nesting child apps in workflows, you can now set "non-stream mode". Simple Mode can also select workflows as plugins. Simple Mode always forces non-stream mode when calling child apps.
- New - In debug mode, child app calls return detailed execution data.
- New - Logs for nested child app calls are now preserved in all modes.
- New - Chat logs display team members.
- New - Commercial edition supports configuring AI-generated copy prompts in the admin panel.
- New - Jest unit testing framework.
- New - Tool call parameter node for fully custom parameter declarations with tool calls.
- New - BI chart plugin.
- New - Surya OCR recognition module example.
- New - Right-click to add comments in workflows.
- Commercial - Team member groups.
- Improved - Workflow nesting limited to 20 levels to prevent infinite loops from improper configurations.
- Improved - Workflow handler performance.
- Improved - Workflow shortcuts no longer trigger copy and undo during debug testing.
- Improved - Removed extra "#" from names when copying workflow nodes.
- Improved - Stream output continues even after switching browser tabs.
- Improved - Enhanced external file Knowledge Base APIs.
- Improved - Updated config.json path.
- Improved - Properly handle hyperlinks starting with
//. - Improved - Workflow Textarea scrolls normally instead of zooming.
- Improved - Trimmed leading/trailing spaces from some input fields.
- Improved - Returning to workflow now navigates to the last remembered tab.
- Improved - Workflow canvas prevents trackpad browser zoom.
- Improved - Some workflow nodes auto-select user question as the initial value.
- Improved - Prompt Editor supports dynamic height expansion.
- Improved - Auto-complete tool descriptions.
- Improved - Updated configuration.md documentation.
- Improved - iOS Safari voice input accuracy.
- Fixed - Knowledge Base selection permission issue.
- Fixed - Starting a conversation with an empty chatId caused errors when the first message included user selections.
- Fixed -
createDatasetAPI not assigningintro. - Fixed - Chat dialog rendering performance issue.
- Fixed - Rerank documentation URL.
- Fixed - In stream mode with toolChoice, the
functionandtypefields of toolCall could be null. - Fixed - Site sync custom separators not syncing.
- Fixed - Tool call history storage issue.
- Fixed - Chat page could enter an infinite redirect loop.
- Fixed - Global variables not persisting across tool calls.
Edit on GitHub
File Updated