fix: [Workflow Tools] Simple Agents cannot add workflow tools.#4977
fix: [Workflow Tools] Simple Agents cannot add workflow tools.#4977shaohuzhang1 merged 1 commit intov2from
Conversation
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| <ToolDialog ref="toolDialogRef" @refresh="submitToolDialog" tool_type="CUSTOM,WORKFLOW" /> | ||
| <ToolDialog ref="skillToolDialogRef" @refresh="submitSkillToolDialog" tool_type="SKILL" /> | ||
| <ApplicationDialog ref="applicationDialogRef" @refresh="submitApplicationDialog" /> | ||
| </div> |
There was a problem hiding this comment.
There is an issue with the @refresh attribute in the ToolDialog component where you have provided two values ("CUSTOM", "WORKFLOW") instead of a comma-separated list. The correct syntax requires commas to separate multiple values. Here's the corrected line:
-<ToolDialog ref="toolDialogRef" @refresh="submitToolDialog" tool_type="CUSTOM,WORKFLOW" />
+<ToolDialog ref="toolDialogRef" @refresh="submitToolDialog" tool_type="CUSTOM,WORKFLOW"/>Additionally, there are no other significant issues or optimizations needed at this time based on the given code snippet.
fix: [Workflow Tools] Simple Agents cannot add workflow tools.