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
53907af9
authored
Sep 26, 2025
by
Archer
Committed by
GitHub
Sep 26, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: loop interactive (#5714)
* fix: loop interactive * add buffer time
parent
c66c2ad8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
5 deletions
+29
-5
document/content/docs/toc.mdx
+1
-0
document/content/docs/upgrading/4-13/4131.mdx
+19
-0
document/content/docs/upgrading/4-13/meta.json
+1
-1
document/data/doc-last-modified.json
+1
-1
packages/service/core/workflow/dispatch/loop/runLoop.ts
+6
-2
projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx
+1
-1
No files found.
document/content/docs/toc.mdx
View file @
53907af9
...
...
@@ -108,6 +108,7 @@ description: FastGPT 文档目录
- [/docs/upgrading/4-12/4123](/docs/upgrading/4-12/4123)
- [/docs/upgrading/4-12/4124](/docs/upgrading/4-12/4124)
- [/docs/upgrading/4-13/4130](/docs/upgrading/4-13/4130)
- [/docs/upgrading/4-13/4131](/docs/upgrading/4-13/4131)
- [/docs/upgrading/4-8/40](/docs/upgrading/4-8/40)
- [/docs/upgrading/4-8/41](/docs/upgrading/4-8/41)
- [/docs/upgrading/4-8/42](/docs/upgrading/4-8/42)
...
...
document/content/docs/upgrading/4-13/4131.mdx
0 → 100644
View file @
53907af9
---
title: 'V4.13.1(进行中)'
description: 'FastGPT V4.13.1 更新说明'
---
## 🚀 新增内容
## ⚙️ 优化
## 🐛 修复
1. 循环节点中,每轮结束,未清除上一轮交互响应值。
## 🔨 插件更新
document/content/docs/upgrading/4-13/meta.json
View file @
53907af9
{
"title"
:
"4.13.x"
,
"description"
:
""
,
"pages"
:
[
"4130"
]
"pages"
:
[
"413
1"
,
"413
0"
]
}
document/data/doc-last-modified.json
View file @
53907af9
...
...
@@ -111,7 +111,7 @@
"document/content/docs/upgrading/4-12/4122.mdx"
:
"2025-09-07T14:41:48+08:00"
,
"document/content/docs/upgrading/4-12/4123.mdx"
:
"2025-09-07T20:55:14+08:00"
,
"document/content/docs/upgrading/4-12/4124.mdx"
:
"2025-09-17T22:29:56+08:00"
,
"document/content/docs/upgrading/4-13/4130.mdx"
:
"2025-09-2
5T21:02:34
+08:00"
,
"document/content/docs/upgrading/4-13/4130.mdx"
:
"2025-09-2
6T13:23:01
+08:00"
,
"document/content/docs/upgrading/4-8/40.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/41.mdx"
:
"2025-08-02T19:38:37+08:00"
,
"document/content/docs/upgrading/4-8/42.mdx"
:
"2025-08-02T19:38:37+08:00"
,
...
...
packages/service/core/workflow/dispatch/loop/runLoop.ts
View file @
53907af9
...
...
@@ -44,9 +44,9 @@ export const dispatchLoop = async (props: Props): Promise<Response> => {
return
Promise
.
reject
(
`Input array length cannot be greater than
${
maxLength
}
`
);
}
cons
t
interactiveData
=
le
t
interactiveData
=
lastInteractive
?.
type
===
'loopInteractive'
?
lastInteractive
?.
params
:
undefined
;
cons
t
lastIndex
=
interactiveData
?.
currentIndex
;
le
t
lastIndex
=
interactiveData
?.
currentIndex
;
const
outputValueArr
=
interactiveData
?
interactiveData
.
loopResult
:
[];
const
loopResponseDetail
:
ChatHistoryItemResType
[]
=
[];
...
...
@@ -127,6 +127,10 @@ export const dispatchLoop = async (props: Props): Promise<Response> => {
interactiveResponse
=
response
.
workflowInteractiveResponse
;
break
;
}
// Clear last interactive data, avoid being influenced by the previous round of interaction
interactiveData
=
undefined
;
lastIndex
=
undefined
;
}
return
{
...
...
projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx
View file @
53907af9
...
...
@@ -926,7 +926,7 @@ const ChatBox = ({
chatBoxData
?.
app
?.
chatConfig
?.
autoExecute
],
{
wait
:
5
00
wait
:
10
00
}
);
...
...
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