File tree Expand file tree Collapse file tree 7 files changed +18
-12
lines changed
projects/app/src/pageComponents
app/detail/WorkflowComponents/Flow/components/NodeTemplates
dataset/detail/CollectionCard Expand file tree Collapse file tree 7 files changed +18
-12
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ description: FastGPT 文档目录
9898- [ /docs/upgrading/4-10/4101] ( /docs/upgrading/4-10/4101 )
9999- [ /docs/upgrading/4-11/4110] ( /docs/upgrading/4-11/4110 )
100100- [ /docs/upgrading/4-11/4111] ( /docs/upgrading/4-11/4111 )
101+ - [ /docs/upgrading/4-11/4112] ( /docs/upgrading/4-11/4112 )
101102- [ /docs/upgrading/4-8/40] ( /docs/upgrading/4-8/40 )
102103- [ /docs/upgrading/4-8/41] ( /docs/upgrading/4-8/41 )
103104- [ /docs/upgrading/4-8/42] ( /docs/upgrading/4-8/42 )
Original file line number Diff line number Diff line change 11---
2- title : ' V4.11.2( 进行中) '
2+ title : ' V4.11.2( 进行中) '
33description : ' FastGPT V4.11.2 更新说明'
44---
55
@@ -14,11 +14,12 @@ description: 'FastGPT V4.11.2 更新说明'
14143 . 优化文档阅读 Worker,采用 ShareBuffer 避免数据拷贝。
15154 . 批量进行向量生成和入库,减少网络操作。
16165 . 知识库搜索,多 query 合并计算,减少数据库操作。
17- 6 . 知识库模型选择交互 。
17+ 6 . 选择需要搜索的知识库交互 。
18187 . 登录页 UI 调整。
1919
2020## 🐛 修复
2121
22221 . Doc2x API 更新,导致解析失败。
23+ 2 . 工作流中,团队应用目录也可以被加入工作流。
2324
2425## 🔨 工具更新
Original file line number Diff line number Diff line change 102102 "document/content/docs/upgrading/4-10/4101.mdx" : " 2025-08-02T19:38:37+08:00" ,
103103 "document/content/docs/upgrading/4-11/4110.mdx" : " 2025-08-02T19:38:37+08:00" ,
104104 "document/content/docs/upgrading/4-11/4111.mdx" : " 2025-08-02T19:38:37+08:00" ,
105- "document/content/docs/upgrading/4-11/4112.mdx" : " 2025-08-07T23:17:45 +08:00" ,
105+ "document/content/docs/upgrading/4-11/4112.mdx" : " 2025-08-08T13:57:50 +08:00" ,
106106 "document/content/docs/upgrading/4-8/40.mdx" : " 2025-08-02T19:38:37+08:00" ,
107107 "document/content/docs/upgrading/4-8/41.mdx" : " 2025-08-02T19:38:37+08:00" ,
108108 "document/content/docs/upgrading/4-8/42.mdx" : " 2025-08-02T19:38:37+08:00" ,
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ const blacklist = [
1515] ;
1616
1717function filePathToUrl ( filePath , lang ) {
18- const baseDir = path . resolve ( '../content/docs' ) ;
19- let relativePath = path . relative ( baseDir , path . resolve ( filePath ) ) . replace ( / \\ / g , '/ ' ) ;
18+ const baseDir = path . join ( __dirname , '../content/docs' ) ;
19+ let relativePath = filePath . replace ( baseDir , '' ) ;
2020 const basePath = lang === 'zh-CN' ? '/docs' : '/en/docs' ;
2121
2222 if ( lang !== 'zh-CN' && relativePath . endsWith ( '.en.mdx' ) ) {
@@ -44,7 +44,7 @@ function isZhFile(file) {
4444
4545async function generateToc ( ) {
4646 // 匹配所有 mdx 文件
47- const allFiles = await fg ( '../content/docs/**/*.mdx' ) ;
47+ const allFiles = await fg ( path . join ( __dirname , '../content/docs/**/*.mdx' ) )
4848
4949 // 筛选中英文文件
5050 const zhFiles = allFiles . filter ( isZhFile ) ;
@@ -72,7 +72,7 @@ ${urls.map((url) => `- [${url}](${url})`).join('\n')}
7272` ;
7373
7474 // 写文件路径
75- const baseDir = path . resolve ( '../content/docs' ) ;
75+ const baseDir = path . join ( __dirname , '../content/docs' ) ;
7676 const zhOutputPath = path . join ( baseDir , 'toc.mdx' ) ;
7777 const enOutputPath = path . join ( baseDir , 'toc.en.mdx' ) ;
7878
Original file line number Diff line number Diff line change @@ -127,6 +127,11 @@ const NodeTemplateListItem = ({
127127 } ) ;
128128 } }
129129 onClick = { ( ) => {
130+ // Team folder
131+ if ( template . isFolder && template . flowNodeType === FlowNodeTypeEnum . pluginModule ) {
132+ onUpdateParentId ( template . id ) ;
133+ return ;
134+ }
130135 const position =
131136 isPopover && handleParams
132137 ? handleParams . addNodePosition
Original file line number Diff line number Diff line change @@ -392,7 +392,9 @@ const ErrorView = ({
392392 < Td > { item . chunkIndex + 1 } </ Td >
393393 < Td > { TrainingText [ item . mode ] } </ Td >
394394 < Td maxW = { 50 } >
395- < MyTooltip label = { item . errorMsg } > { t ( item . errorMsg ) } </ MyTooltip >
395+ < MyTooltip shouldWrapChildren = { false } placement = { 'auto' } label = { t ( item . errorMsg ) } >
396+ { t ( item . errorMsg ) }
397+ </ MyTooltip >
396398 </ Td >
397399 < Td w = { '220px' } px = { 3 } >
398400 < Flex alignItems = { 'center' } >
Original file line number Diff line number Diff line change @@ -44,10 +44,7 @@ import { CollectionPageContext } from './Context';
4444import { DatasetPageContext } from '@/web/core/dataset/context/datasetPageContext' ;
4545import { formatTime2YMDHM } from '@fastgpt/global/common/string/time' ;
4646import MyTag from '@fastgpt/web/components/common/Tag/index' ;
47- import {
48- checkCollectionIsFolder ,
49- collectionCanSync
50- } from '@fastgpt/global/core/dataset/collection/utils' ;
47+ import { collectionCanSync } from '@fastgpt/global/core/dataset/collection/utils' ;
5148import { useFolderDrag } from '@/components/common/folder/useFolderDrag' ;
5249import TagsPopOver from './TagsPopOver' ;
5350import { useSystemStore } from '@/web/common/system/useSystemStore' ;
You can’t perform that action at this time.
0 commit comments