From a14a8ae6275f293bebd744b249c74cfd4dbed1a0 Mon Sep 17 00:00:00 2001 From: Archer <545436317@qq.com> Date: Tue, 21 May 2024 18:18:32 +0800 Subject: [PATCH] perf: input guide (#1558) --- docSite/content/docs/course/chat_input_guide.md | 2 ++ packages/global/core/workflow/utils.ts | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docSite/content/docs/course/chat_input_guide.md b/docSite/content/docs/course/chat_input_guide.md index cf4b9d430..82456f0d6 100644 --- a/docSite/content/docs/course/chat_input_guide.md +++ b/docSite/content/docs/course/chat_input_guide.md @@ -17,6 +17,8 @@ weight: 350 ## 自定义词库接口 +需要保证这个接口可以被用户浏览器访问。 + **请求:** ```bash diff --git a/packages/global/core/workflow/utils.ts b/packages/global/core/workflow/utils.ts index 19dc863ae..004c3b5c6 100644 --- a/packages/global/core/workflow/utils.ts +++ b/packages/global/core/workflow/utils.ts @@ -114,9 +114,6 @@ export const getAppChatConfig = ({ }; if (!isPublicFetch) { - if (config?.chatInputGuide?.customUrl) { - config.chatInputGuide.customUrl = ''; - } config.scheduledTriggerConfig = undefined; }