From 681ec30c383a3fd077ce3e073b6f8749c3f5a4c1 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Mon, 12 May 2025 18:13:42 +0800 Subject: [PATCH] 4.9.8 test (#4790) * fix: doc url * doc --- docSite/content/zh-cn/docs/development/upgrading/498.md | 2 ++ packages/global/core/workflow/template/system/aiChat/index.ts | 2 +- packages/global/core/workflow/template/system/assignedAnswer.ts | 2 +- .../core/workflow/template/system/classifyQuestion/index.ts | 2 +- .../core/workflow/template/system/contextExtract/index.ts | 2 +- packages/global/core/workflow/template/system/customFeedback.ts | 2 +- packages/global/core/workflow/template/system/datasetConcat.ts | 2 +- packages/global/core/workflow/template/system/datasetSearch.ts | 2 +- packages/global/core/workflow/template/system/http468.ts | 2 +- packages/global/core/workflow/template/system/ifElse/index.ts | 2 +- .../core/workflow/template/system/interactive/userSelect.ts | 2 +- packages/global/core/workflow/template/system/laf.ts | 2 +- packages/global/core/workflow/template/system/loop/loop.ts | 2 +- packages/global/core/workflow/template/system/sandbox/index.ts | 2 +- packages/global/core/workflow/template/system/textEditor.ts | 2 +- packages/global/core/workflow/template/system/tools.ts | 2 +- .../core/workflow/template/system/variableUpdate/index.tsx | 2 +- projects/app/src/components/support/laf/LafAccountModal.tsx | 2 +- 18 files changed, 19 insertions(+), 17 deletions(-) diff --git a/docSite/content/zh-cn/docs/development/upgrading/498.md b/docSite/content/zh-cn/docs/development/upgrading/498.md index c5c1898cd..0a2d702c8 100644 --- a/docSite/content/zh-cn/docs/development/upgrading/498.md +++ b/docSite/content/zh-cn/docs/development/upgrading/498.md @@ -16,6 +16,7 @@ weight: 792 4. 语雀知识库支持设置根目录。 5. 可配置密码过期时间,过期后下次登录会强制要求修改密码。 6. 密码登录增加 preLogin 临时密钥校验。 +7. 支持 Admin 后台配置发布渠道和第三方知识库的显示隐藏。 ## ⚙️ 优化 @@ -29,4 +30,5 @@ weight: 792 3. LLM json_schema 模式 API 请求格式错误。 4. 重新训练时,图片过期索引未成功清除,导致图片会丢失。 5. 重新训练权限问题。 +6. 文档链接地址。 diff --git a/packages/global/core/workflow/template/system/aiChat/index.ts b/packages/global/core/workflow/template/system/aiChat/index.ts index a5ca051c0..02ab50a1e 100644 --- a/packages/global/core/workflow/template/system/aiChat/index.ts +++ b/packages/global/core/workflow/template/system/aiChat/index.ts @@ -54,7 +54,7 @@ export const AiChatModule: FlowNodeTemplateType = { intro: i18nT('workflow:template.ai_chat_intro'), showStatus: true, isTool: true, - courseUrl: '/docs/guide/workbench/workflow/ai_chat/', + courseUrl: '/docs/guide/dashboard/workflow/ai_chat/', version: '4.9.7', inputs: [ Input_Template_SettingAiModel, diff --git a/packages/global/core/workflow/template/system/assignedAnswer.ts b/packages/global/core/workflow/template/system/assignedAnswer.ts index b72c11933..bfdd4b2d5 100644 --- a/packages/global/core/workflow/template/system/assignedAnswer.ts +++ b/packages/global/core/workflow/template/system/assignedAnswer.ts @@ -17,7 +17,7 @@ export const AssignedAnswerModule: FlowNodeTemplateType = { avatar: 'core/workflow/template/reply', name: i18nT('workflow:assigned_reply'), intro: i18nT('workflow:intro_assigned_reply'), - courseUrl: '/docs/guide/workbench/workflow/reply/', + courseUrl: '/docs/guide/dashboard/workflow/reply/', version: '481', isTool: true, inputs: [ diff --git a/packages/global/core/workflow/template/system/classifyQuestion/index.ts b/packages/global/core/workflow/template/system/classifyQuestion/index.ts index af215a637..e92bcee75 100644 --- a/packages/global/core/workflow/template/system/classifyQuestion/index.ts +++ b/packages/global/core/workflow/template/system/classifyQuestion/index.ts @@ -31,7 +31,7 @@ export const ClassifyQuestionModule: FlowNodeTemplateType = { intro: i18nT('workflow:intro_question_classification'), showStatus: true, version: '4.9.2', - courseUrl: '/docs/guide/workbench/workflow/question_classify/', + courseUrl: '/docs/guide/dashboard/workflow/question_classify/', inputs: [ { ...Input_Template_SelectAIModel, diff --git a/packages/global/core/workflow/template/system/contextExtract/index.ts b/packages/global/core/workflow/template/system/contextExtract/index.ts index 6dbecab03..2dd55187c 100644 --- a/packages/global/core/workflow/template/system/contextExtract/index.ts +++ b/packages/global/core/workflow/template/system/contextExtract/index.ts @@ -26,7 +26,7 @@ export const ContextExtractModule: FlowNodeTemplateType = { intro: i18nT('workflow:intro_text_content_extraction'), showStatus: true, isTool: true, - courseUrl: '/docs/guide/workbench/workflow/content_extract/', + courseUrl: '/docs/guide/dashboard/workflow/content_extract/', version: '4.9.2', inputs: [ { diff --git a/packages/global/core/workflow/template/system/customFeedback.ts b/packages/global/core/workflow/template/system/customFeedback.ts index 437bb77df..71675846a 100644 --- a/packages/global/core/workflow/template/system/customFeedback.ts +++ b/packages/global/core/workflow/template/system/customFeedback.ts @@ -17,7 +17,7 @@ export const CustomFeedbackNode: FlowNodeTemplateType = { avatar: 'core/workflow/template/customFeedback', name: i18nT('workflow:custom_feedback'), intro: i18nT('workflow:intro_custom_feedback'), - courseUrl: '/docs/guide/workbench/workflow/custom_feedback/', + courseUrl: '/docs/guide/dashboard/workflow/custom_feedback/', version: '486', inputs: [ { diff --git a/packages/global/core/workflow/template/system/datasetConcat.ts b/packages/global/core/workflow/template/system/datasetConcat.ts index 0fb0ab125..43f9147b8 100644 --- a/packages/global/core/workflow/template/system/datasetConcat.ts +++ b/packages/global/core/workflow/template/system/datasetConcat.ts @@ -43,7 +43,7 @@ export const DatasetConcatModule: FlowNodeTemplateType = { showStatus: false, version: '486', - courseUrl: '/docs/guide/workbench/workflow/knowledge_base_search_merge/', + courseUrl: '/docs/guide/dashboard/workflow/knowledge_base_search_merge/', inputs: [ { key: NodeInputKeyEnum.datasetMaxTokens, diff --git a/packages/global/core/workflow/template/system/datasetSearch.ts b/packages/global/core/workflow/template/system/datasetSearch.ts index efdf30fcf..4965c37cd 100644 --- a/packages/global/core/workflow/template/system/datasetSearch.ts +++ b/packages/global/core/workflow/template/system/datasetSearch.ts @@ -30,7 +30,7 @@ export const DatasetSearchModule: FlowNodeTemplateType = { intro: Dataset_SEARCH_DESC, showStatus: true, isTool: true, - courseUrl: '/docs/guide/workbench/workflow/dataset_search/', + courseUrl: '/docs/guide/dashboard/workflow/dataset_search/', version: '4.9.2', inputs: [ { diff --git a/packages/global/core/workflow/template/system/http468.ts b/packages/global/core/workflow/template/system/http468.ts index d33e4fcf3..19d8c5dc8 100644 --- a/packages/global/core/workflow/template/system/http468.ts +++ b/packages/global/core/workflow/template/system/http468.ts @@ -27,7 +27,7 @@ export const HttpNode468: FlowNodeTemplateType = { intro: i18nT('workflow:intro_http_request'), showStatus: true, isTool: true, - courseUrl: '/docs/guide/workbench/workflow/http/', + courseUrl: '/docs/guide/dashboard/workflow/http/', version: '481', inputs: [ { diff --git a/packages/global/core/workflow/template/system/ifElse/index.ts b/packages/global/core/workflow/template/system/ifElse/index.ts index 94f2e2f60..42c1e3d86 100644 --- a/packages/global/core/workflow/template/system/ifElse/index.ts +++ b/packages/global/core/workflow/template/system/ifElse/index.ts @@ -23,7 +23,7 @@ export const IfElseNode: FlowNodeTemplateType = { name: i18nT('workflow:condition_checker'), intro: i18nT('workflow:execute_different_branches_based_on_conditions'), showStatus: true, - courseUrl: '/docs/guide/workbench/workflow/tfswitch/', + courseUrl: '/docs/guide/dashboard/workflow/tfswitch/', version: '481', inputs: [ { diff --git a/packages/global/core/workflow/template/system/interactive/userSelect.ts b/packages/global/core/workflow/template/system/interactive/userSelect.ts index e899d709d..7da84af57 100644 --- a/packages/global/core/workflow/template/system/interactive/userSelect.ts +++ b/packages/global/core/workflow/template/system/interactive/userSelect.ts @@ -25,7 +25,7 @@ export const UserSelectNode: FlowNodeTemplateType = { intro: i18nT(`app:workflow.user_select_tip`), isTool: true, version: '489', - courseUrl: '/docs/guide/workbench/workflow/user-selection/', + courseUrl: '/docs/guide/dashboard/workflow/user-selection/', inputs: [ { key: NodeInputKeyEnum.description, diff --git a/packages/global/core/workflow/template/system/laf.ts b/packages/global/core/workflow/template/system/laf.ts index 37df84dbc..275c81bc0 100644 --- a/packages/global/core/workflow/template/system/laf.ts +++ b/packages/global/core/workflow/template/system/laf.ts @@ -32,7 +32,7 @@ export const LafModule: FlowNodeTemplateType = { intro: i18nT('workflow:intro_laf_function_call'), showStatus: true, isTool: true, - courseUrl: '/docs/guide/workbench/workflow/laf/', + courseUrl: '/docs/guide/dashboard/workflow/laf/', version: '481', inputs: [ { diff --git a/packages/global/core/workflow/template/system/loop/loop.ts b/packages/global/core/workflow/template/system/loop/loop.ts index 168fa8f64..7ed289f3e 100644 --- a/packages/global/core/workflow/template/system/loop/loop.ts +++ b/packages/global/core/workflow/template/system/loop/loop.ts @@ -30,7 +30,7 @@ export const LoopNode: FlowNodeTemplateType = { intro: i18nT('workflow:intro_loop'), showStatus: true, version: '4811', - courseUrl: '/docs/guide/workbench/workflow/loop/', + courseUrl: '/docs/guide/dashboard/workflow/loop/', inputs: [ { key: NodeInputKeyEnum.loopInputArray, diff --git a/packages/global/core/workflow/template/system/sandbox/index.ts b/packages/global/core/workflow/template/system/sandbox/index.ts index fd24f36dc..eeeadcc52 100644 --- a/packages/global/core/workflow/template/system/sandbox/index.ts +++ b/packages/global/core/workflow/template/system/sandbox/index.ts @@ -26,7 +26,7 @@ export const CodeNode: FlowNodeTemplateType = { name: i18nT('workflow:code_execution'), intro: i18nT('workflow:execute_a_simple_script_code_usually_for_complex_data_processing'), showStatus: true, - courseUrl: '/docs/guide/workbench/workflow/sandbox/', + courseUrl: '/docs/guide/dashboard/workflow/sandbox/', version: '482', inputs: [ { diff --git a/packages/global/core/workflow/template/system/textEditor.ts b/packages/global/core/workflow/template/system/textEditor.ts index 8bca1c84e..eed29757a 100644 --- a/packages/global/core/workflow/template/system/textEditor.ts +++ b/packages/global/core/workflow/template/system/textEditor.ts @@ -23,7 +23,7 @@ export const TextEditorNode: FlowNodeTemplateType = { avatar: 'core/workflow/template/textConcat', name: i18nT('workflow:text_concatenation'), intro: i18nT('workflow:intro_text_concatenation'), - courseUrl: '/docs/guide/workbench/workflow/text_editor/', + courseUrl: '/docs/guide/dashboard/workflow/text_editor/', version: '4813', inputs: [ { diff --git a/packages/global/core/workflow/template/system/tools.ts b/packages/global/core/workflow/template/system/tools.ts index bf0796345..b6ce2d1c3 100644 --- a/packages/global/core/workflow/template/system/tools.ts +++ b/packages/global/core/workflow/template/system/tools.ts @@ -32,7 +32,7 @@ export const ToolModule: FlowNodeTemplateType = { name: i18nT('workflow:template.tool_call'), intro: i18nT('workflow:template.tool_call_intro'), showStatus: true, - courseUrl: '/docs/guide/workbench/workflow/tool/', + courseUrl: '/docs/guide/dashboard/workflow/tool/', version: '4.9.2', inputs: [ { diff --git a/packages/global/core/workflow/template/system/variableUpdate/index.tsx b/packages/global/core/workflow/template/system/variableUpdate/index.tsx index a284d3357..4f90168f2 100644 --- a/packages/global/core/workflow/template/system/variableUpdate/index.tsx +++ b/packages/global/core/workflow/template/system/variableUpdate/index.tsx @@ -20,7 +20,7 @@ export const VariableUpdateNode: FlowNodeTemplateType = { showStatus: false, isTool: true, version: '481', - courseUrl: '/docs/guide/workbench/workflow/variable_update/', + courseUrl: '/docs/guide/dashboard/workflow/variable_update/', inputs: [ { key: NodeInputKeyEnum.updateList, diff --git a/projects/app/src/components/support/laf/LafAccountModal.tsx b/projects/app/src/components/support/laf/LafAccountModal.tsx index ad620a64a..764640ff0 100644 --- a/projects/app/src/components/support/laf/LafAccountModal.tsx +++ b/projects/app/src/components/support/laf/LafAccountModal.tsx @@ -101,7 +101,7 @@ const LafAccountModal = ({ {t('common:support.user.Laf account intro')} - + {t('common:support.user.Laf account course')}