### 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)tags/v0.20.0
| @@ -1295,6 +1295,9 @@ This delimiter is used to split the input text into several text pieces echo of | |||
| agentDescription: | |||
| 'Builds agent components equipped with reasoning, tool usage, and multi-agent collaboration. ', | |||
| maxRecords: 'Max records', | |||
| stringTransform: 'String transform', | |||
| userFillUp: 'Input', | |||
| codeExec: 'Code', | |||
| }, | |||
| llmTools: { | |||
| bad_calculator: { | |||
| @@ -1248,6 +1248,9 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于 | |||
| agent: 'Agent', | |||
| agentDescription: '构建具备推理、工具调用和多智能体协同的智能体组件。', | |||
| maxRecords: '最大记录数', | |||
| stringTransform: '文本处理', | |||
| userFillUp: '等待输入', | |||
| codeExec: '代码', | |||
| }, | |||
| footer: { | |||
| profile: 'All rights reserved @ React', | |||
| @@ -269,14 +269,7 @@ export const useSendNextMessage = () => { | |||
| answer: prologue, | |||
| }); | |||
| } | |||
| }, [ | |||
| addNewestOneAnswer, | |||
| agentId, | |||
| getBeginNodeDataQuery, | |||
| prologue, | |||
| send, | |||
| sendFormMessage, | |||
| ]); | |||
| }, [addNewestOneAnswer, agentId, prologue, send, sendFormMessage]); | |||
| useEffect(() => { | |||
| addEventList(answerList); | |||