diff --git a/client/public/docs/versionIntro.md b/client/public/docs/versionIntro.md index 0b6681e25..0825267b8 100644 --- a/client/public/docs/versionIntro.md +++ b/client/public/docs/versionIntro.md @@ -1,8 +1,7 @@ -### Fast GPT V4.0 +### Fast GPT V4.1 -1. 全新交互,增加采用模块组合的方式构建知识库,同时保留表单的简易模式。 -2. 问题分类 - 可以对用户的问题进行分类,再执行不同的操作。 -3. 对话引导 - 增加开场引导和变量,提高对话可玩性。 -4. 新增 - 每轮对话均可展示完整的上下文状态。 -5. 新增 - 网页嵌入(简单版),可直接接入现有网页。在 【应用详情-外部使用-创建新链接-嵌入网页】 中获取嵌入脚本。 -6. 新增 - 个人 openai 账号可以使用网页上 OpenAI 对话模型。 +1. 新增 - 高级编排导入导出功能 +2. 优化对话存储结构 +3. 优化日志存储 +4. [点击查看高级编排介绍文档](https://doc.fastgpt.run/docs/category/flow-modules) +5. 填写个人 OpenAI 账号后,分享和 API 功能也不会走平台余额扣费。 diff --git a/client/src/pages/account/components/OpenAIAccountModal.tsx b/client/src/pages/account/components/OpenAIAccountModal.tsx index 4b9830182..d74e2a018 100644 --- a/client/src/pages/account/components/OpenAIAccountModal.tsx +++ b/client/src/pages/account/components/OpenAIAccountModal.tsx @@ -32,8 +32,7 @@ const OpenAIAccountModal = ({ - 如果你填写了该内容,在线上平台使用 OpenAI Chat - 模型不会计费(不包含知识库训练、索引生成、分享窗口和 API 调用) + 如果你填写了该内容,在线上平台使用 OpenAI Chat 模型不会计费(不包含知识库训练、索引生成) API Key: diff --git a/client/src/pages/api/openapi/v1/chat/completions.ts b/client/src/pages/api/openapi/v1/chat/completions.ts index e453bfaf6..7790646dd 100644 --- a/client/src/pages/api/openapi/v1/chat/completions.ts +++ b/client/src/pages/api/openapi/v1/chat/completions.ts @@ -94,9 +94,9 @@ export default withNextCors(async function handler(req: NextApiRequest, res: Nex if (!user) { throw new Error('Account is error'); } - if (authType === AuthUserTypeEnum.apikey || shareId) { - user.openaiAccount = undefined; - } + // if (authType === AuthUserTypeEnum.apikey || shareId) { + // user.openaiAccount = undefined; + // } appId = appId ? appId : authAppid; if (!appId) {