Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
b943d05d
authored
Apr 14, 2025
by
Archer
Committed by
GitHub
Apr 14, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4.9.5 feature (#4534)
* update doc * add response detail value * fix: filter params
parent
2af3cd83
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
7 deletions
+6
-7
docSite/content/zh-cn/docs/development/upgrading/495.md
+1
-0
packages/service/core/workflow/dispatch/index.ts
+2
-1
projects/app/src/pageComponents/account/team/OperationLog/index.tsx
+2
-6
projects/app/src/web/support/user/team/operantionLog/api.ts
+1
-0
No files found.
docSite/content/zh-cn/docs/development/upgrading/495.md
View file @
b943d05d
...
@@ -13,6 +13,7 @@ weight: 795
...
@@ -13,6 +13,7 @@ weight: 795
1.
团队成员权限细分,可分别控制是否可创建在根目录应用/知识库以及 API Key
1.
团队成员权限细分,可分别控制是否可创建在根目录应用/知识库以及 API Key
2.
支持交互节点在嵌套工作流中使用。
2.
支持交互节点在嵌套工作流中使用。
3.
团队成员操作日志。
3.
团队成员操作日志。
4.
用户输入节点支持多选框。
## ⚙️ 优化
## ⚙️ 优化
...
...
packages/service/core/workflow/dispatch/index.ts
View file @
b943d05d
...
@@ -132,6 +132,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
...
@@ -132,6 +132,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
externalProvider
,
externalProvider
,
stream
=
false
,
stream
=
false
,
version
=
'v1'
,
version
=
'v1'
,
responseDetail
=
true
,
...
props
...
props
}
=
data
;
}
=
data
;
...
@@ -638,7 +639,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
...
@@ -638,7 +639,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
!
props
.
isToolCall
&&
!
props
.
isToolCall
&&
isRootRuntime
&&
isRootRuntime
&&
formatResponseData
&&
formatResponseData
&&
!
(
!
props
.
responseDetail
&&
filterModuleTypeList
.
includes
(
formatResponseData
.
moduleType
))
!
(
responseDetail
===
false
&&
filterModuleTypeList
.
includes
(
formatResponseData
.
moduleType
))
)
{
)
{
props
.
workflowStreamResponse
?.({
props
.
workflowStreamResponse
?.({
event
:
SseResponseEventEnum
.
flowNodeResponse
,
event
:
SseResponseEventEnum
.
flowNodeResponse
,
...
...
projects/app/src/pageComponents/account/team/OperationLog/index.tsx
View file @
b943d05d
...
@@ -64,8 +64,6 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
...
@@ -64,8 +64,6 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
ScrollData
:
LogScrollData
ScrollData
:
LogScrollData
}
=
useScrollPagination
(
getOperationLogs
,
{
}
=
useScrollPagination
(
getOperationLogs
,
{
pageSize
:
20
,
pageSize
:
20
,
throttleWait
:
500
,
debounceWait
:
200
,
refreshDeps
:
[
searchParams
],
refreshDeps
:
[
searchParams
],
params
:
searchParams
params
:
searchParams
});
});
...
@@ -92,10 +90,8 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
...
@@ -92,10 +90,8 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
useEffect
(()
=>
{
useEffect
(()
=>
{
setSearchParams
({
setSearchParams
({
...(
isSelectAllTmb
?
{}
:
{
tmbIds
:
selectedTmbIds
.
length
>
0
?
selectedTmbIds
:
undefined
}),
...(
isSelectAllTmb
?
{}
:
{
tmbIds
:
selectedTmbIds
}),
...(
isSelectAllEvent
...(
isSelectAllEvent
?
{}
:
{
events
:
selectedEvents
})
?
{}
:
{
events
:
selectedEvents
.
length
>
0
?
selectedEvents
:
undefined
})
});
});
},
[
selectedTmbIds
,
selectedEvents
,
isSelectAllTmb
,
isSelectAllEvent
]);
},
[
selectedTmbIds
,
selectedEvents
,
isSelectAllTmb
,
isSelectAllEvent
]);
...
...
projects/app/src/web/support/user/team/operantionLog/api.ts
View file @
b943d05d
...
@@ -2,6 +2,7 @@ import { GET, POST, PUT } from '@/web/common/api/request';
...
@@ -2,6 +2,7 @@ import { GET, POST, PUT } from '@/web/common/api/request';
import
type
{
PaginationProps
,
PaginationResponse
}
from
'@fastgpt/web/common/fetch/type'
;
import
type
{
PaginationProps
,
PaginationResponse
}
from
'@fastgpt/web/common/fetch/type'
;
import
type
{
OperationListItemType
}
from
'@fastgpt/global/support/operationLog/type'
;
import
type
{
OperationListItemType
}
from
'@fastgpt/global/support/operationLog/type'
;
import
{
OperationLogEventEnum
}
from
'@fastgpt/global/support/operationLog/constants'
;
import
{
OperationLogEventEnum
}
from
'@fastgpt/global/support/operationLog/constants'
;
export
const
getOperationLogs
=
(
export
const
getOperationLogs
=
(
props
:
PaginationProps
&
{
props
:
PaginationProps
&
{
tmbIds
?:
string
[];
tmbIds
?:
string
[];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment