Skip to content

Commit

Permalink
4.8.10 test fix (#2488)
Browse files Browse the repository at this point in the history
* perf: update vision default

* fix: update dataset default permission

* perf: no network request
  • Loading branch information
c121914yu authored Aug 23, 2024
1 parent b3acd57 commit de573e4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
11 changes: 6 additions & 5 deletions docSite/content/zh-cn/docs/development/upgrading/4810.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ STORE_LOG_LEVEL=warn
9. 优化 - 节点选择,避免切换 tab 时候,path 加载报错。
10. 优化 - 最新 React Markdown 组件,支持 Base64 图片。
11. 优化 - 知识库列表 UI。
12. 修复 - Prompt 模式调用工具,stream=false 模式下,会携带 0: 开头标记。
13. 修复 - 对话日志鉴权问题:仅为 APP 管理员的用户,无法查看对话日志详情。
14. 修复 - 选择 Milvus 部署时,无法导出知识库。
15. 修复 - 创建 APP 副本,无法复制系统配置。
16. 修复 - 图片识别模式下,自动解析图片链接正则不够严谨问题。
12. 优化 - 支持无网络配置情况下运行。
13. 修复 - Prompt 模式调用工具,stream=false 模式下,会携带 0: 开头标记。
14. 修复 - 对话日志鉴权问题:仅为 APP 管理员的用户,无法查看对话日志详情。
15. 修复 - 选择 Milvus 部署时,无法导出知识库。
16. 修复 - 创建 APP 副本,无法复制系统配置。
17. 修复 - 图片识别模式下,自动解析图片链接正则不够严谨问题。
2 changes: 1 addition & 1 deletion packages/global/core/workflow/template/system/aiChat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const AiChatModule: FlowNodeTemplateType = {
renderTypeList: [FlowNodeInputTypeEnum.hidden],
label: '',
valueType: WorkflowIOValueTypeEnum.boolean,
value: true
value: false
},
// settings modal ---
{
Expand Down
2 changes: 1 addition & 1 deletion packages/web/components/common/MyDrawer/MyRightDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MyRightDrawer = ({
onClose,
iconSrc,
title,
maxW = ['90vw', '30vw'],
maxW = ['90vw', '500px'],
children,
isLoading,
...props
Expand Down
8 changes: 7 additions & 1 deletion projects/app/src/pages/dataset/detail/components/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ const Info = ({ datasetId }: { datasetId: string }) => {
mutationFn: (data: DatasetItemType) => {
return updateDataset({
id: datasetId,
...data
name: data.name,
avatar: data.avatar,
intro: data.intro,
agentModel: data.agentModel,
externalReadUrl: data.externalReadUrl,
defaultPermission: data.defaultPermission
});
},
successToast: t('common:common.Update Success'),
Expand Down Expand Up @@ -236,6 +241,7 @@ const Info = ({ datasetId }: { datasetId: string }) => {
w={['32px', '40px']}
h={['32px', '40px']}
cursor={'pointer'}
borderRadius={'md'}
onClick={onOpenSelectFile}
/>
</MyTooltip>
Expand Down
3 changes: 2 additions & 1 deletion projects/app/src/web/context/QueryClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const queryClient = new QueryClient({
keepPreviousData: true,
refetchOnWindowFocus: false,
retry: false,
cacheTime: 10
cacheTime: 10,
networkMode: 'always'
}
}
});
Expand Down

0 comments on commit de573e4

Please sign in to comment.