### 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
| agentDescription: | agentDescription: | ||||
| 'Builds agent components equipped with reasoning, tool usage, and multi-agent collaboration. ', | 'Builds agent components equipped with reasoning, tool usage, and multi-agent collaboration. ', | ||||
| maxRecords: 'Max records', | maxRecords: 'Max records', | ||||
| stringTransform: 'String transform', | |||||
| userFillUp: 'Input', | |||||
| codeExec: 'Code', | |||||
| }, | }, | ||||
| llmTools: { | llmTools: { | ||||
| bad_calculator: { | bad_calculator: { |
| agent: 'Agent', | agent: 'Agent', | ||||
| agentDescription: '构建具备推理、工具调用和多智能体协同的智能体组件。', | agentDescription: '构建具备推理、工具调用和多智能体协同的智能体组件。', | ||||
| maxRecords: '最大记录数', | maxRecords: '最大记录数', | ||||
| stringTransform: '文本处理', | |||||
| userFillUp: '等待输入', | |||||
| codeExec: '代码', | |||||
| }, | }, | ||||
| footer: { | footer: { | ||||
| profile: 'All rights reserved @ React', | profile: 'All rights reserved @ React', |
| answer: prologue, | answer: prologue, | ||||
| }); | }); | ||||
| } | } | ||||
| }, [ | |||||
| addNewestOneAnswer, | |||||
| agentId, | |||||
| getBeginNodeDataQuery, | |||||
| prologue, | |||||
| send, | |||||
| sendFormMessage, | |||||
| ]); | |||||
| }, [addNewestOneAnswer, agentId, prologue, send, sendFormMessage]); | |||||
| useEffect(() => { | useEffect(() => { | ||||
| addEventList(answerList); | addEventList(answerList); |