mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
add bill range
This commit is contained in:
@@ -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 功能也不会走平台余额扣费。
|
||||
|
@@ -32,8 +32,7 @@ const OpenAIAccountModal = ({
|
||||
<MyModal isOpen onClose={onClose} title={t('user.OpenAI Account Setting')}>
|
||||
<ModalBody>
|
||||
<Box fontSize={'sm'} color={'myGray.500'}>
|
||||
如果你填写了该内容,在线上平台使用 OpenAI Chat
|
||||
模型不会计费(不包含知识库训练、索引生成、分享窗口和 API 调用)
|
||||
如果你填写了该内容,在线上平台使用 OpenAI Chat 模型不会计费(不包含知识库训练、索引生成)
|
||||
</Box>
|
||||
<Flex alignItems={'center'} mt={5}>
|
||||
<Box flex={'0 0 65px'}>API Key:</Box>
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user