-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: chat slider support folder (#1759)
* feat: docker-compose version * feat: chat slider support folder * lazy behavior * pref: code sandbox size
- Loading branch information
Showing
20 changed files
with
336 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 'V4.8.4(进行中)' | ||
title: 'V4.8.4' | ||
description: 'FastGPT V4.8.4 更新说明' | ||
icon: 'upgrade' | ||
draft: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from 'react'; | ||
import { | ||
Popover, | ||
PopoverTrigger, | ||
PopoverContent, | ||
useDisclosure, | ||
PlacementWithLogical | ||
} from '@chakra-ui/react'; | ||
|
||
const MyPopover = ({ | ||
Trigger, | ||
placement, | ||
offset, | ||
trigger, | ||
children | ||
}: { | ||
Trigger: React.ReactNode; | ||
placement?: PlacementWithLogical; | ||
offset?: [number, number]; | ||
trigger?: 'hover' | 'click'; | ||
children: (e: { onClose: () => void }) => React.ReactNode; | ||
}) => { | ||
const firstFieldRef = React.useRef(null); | ||
|
||
const { onOpen, onClose, isOpen } = useDisclosure(); | ||
|
||
return ( | ||
<Popover | ||
isOpen={isOpen} | ||
initialFocusRef={firstFieldRef} | ||
onOpen={onOpen} | ||
onClose={onClose} | ||
placement={placement} | ||
offset={offset} | ||
closeOnBlur={false} | ||
trigger={trigger} | ||
openDelay={100} | ||
closeDelay={100} | ||
isLazy | ||
lazyBehavior="keepMounted" | ||
> | ||
<PopoverTrigger>{Trigger}</PopoverTrigger> | ||
<PopoverContent p={4}>{children({ onClose })}</PopoverContent> | ||
</Popover> | ||
); | ||
}; | ||
|
||
export default MyPopover; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
### FastGPT V4.8.2 | ||
### FastGPT V4.8.4 | ||
|
||
1. 新增 - 应用使用新权限系统。 | ||
2. 新增 - 应用支持文件夹。 | ||
3. 优化 - 文本分割增加连续换行、制表符清除,避免大文本性能问题。 | ||
4. 重要修复 - 修复系统插件运行池数据污染问题,由于从内存获取,会导致全局污染。 | ||
5. 修复 - Debug 模式下,相同 source 和 target 内容,导致连线显示异常。 | ||
6. 修复 - 定时执行初始化错误。 | ||
7. 修复 - 应用调用传参异常。 | ||
8. 修复 - ctrl + cv 复杂节点时,nodeId错误。 | ||
9. 调整组件库全局theme。 | ||
|
||
------ | ||
|
||
- 新增 - 知识库重新选择向量模型重建 | ||
- 新增 - 对话框支持问题模糊检索提示,可自定义预设问题词库 | ||
- 新增 - js代码运行节点 | ||
- 新增 - 外部文件源知识库: [点击查看文档](https://doc.fastai.site/docs/course/externalfile/) | ||
- 新增 - 内容提取节点增加完全提取成功输出 | ||
- 新增 - HTTP节点增加错误输出,可以自行判断处理 | ||
- 优化 - 插件输入的 debug 模式,支持全量参数输入渲染 | ||
- [点击查看高级编排介绍文档](https://doc.fastgpt.in/docs/workflow/intro) | ||
- [使用文档](https://doc.fastgpt.in/docs/intro/) | ||
- [点击查看商业版](https://doc.fastgpt.in/docs/commercial/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.