Fix: Fixed the issue of clicking to run the agent causing an error #3221 (#8956)

### What problem does this PR solve?

Fix: Fixed the issue of clicking to run the agent causing an error #3221

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2025-07-22 09:27:21 +08:00
committed by GitHub
parent 6691532079
commit 45b01e1bcb
3 changed files with 7 additions and 8 deletions

View File

@ -269,14 +269,7 @@ export const useSendNextMessage = () => {
answer: prologue,
});
}
}, [
addNewestOneAnswer,
agentId,
getBeginNodeDataQuery,
prologue,
send,
sendFormMessage,
]);
}, [addNewestOneAnswer, agentId, prologue, send, sendFormMessage]);
useEffect(() => {
addEventList(answerList);