mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 12:20:34 +00:00
Remove some global variables (#3143)
* Restore docSite content based on upstream/4.8.13-dev (#3138)
* Restore docSite content based on upstream/4.8.13-dev
* 4813.md缺少更正
* 去除多余全局变量
* Revert "Restore docSite content based on upstream/4.8.13-dev (#3138)"
This reverts commit af4380a332
.
* 实现了隐藏多余全局变量
This commit is contained in:
@@ -104,7 +104,10 @@ const EditForm = ({
|
||||
const formatVariables = useMemo(
|
||||
() =>
|
||||
formatEditorVariablePickerIcon([
|
||||
...workflowSystemVariables,
|
||||
...workflowSystemVariables.filter(
|
||||
(variable) =>
|
||||
!['userId', 'appId', 'chatId', 'responseChatItemId', 'histories'].includes(variable.key)
|
||||
),
|
||||
...(appForm.chatConfig.variables || [])
|
||||
]).map((item) => ({
|
||||
...item,
|
||||
|
Reference in New Issue
Block a user