You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
Dify version
0.13.1
Cloud or Self Hosted
Cloud, Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Create Workflow Tool and publish it as a tool. The Tags of the tool are Search and Image. Click save
Click the Configure button of Workflow as Tool again
tags are empty
✔️ Expected Behavior
tags is Search、Image
❌ Actual Behavior
tags are empty
The text was updated successfully, but these errors were encountered:
@zhaobingshuang Hello! I'm here to assist you with any bugs, questions, or contributions you may have. Let's work together to resolve the issue you're facing.
The issue you're experiencing, where tags are not being saved when creating a Workflow Tool, might be related to how the tags are managed and saved in the code. Here are a few areas to check:
Tag Management in the UI: Ensure that the LabelSelector component is correctly updating the labels state. The handleLabelSelect function should be properly setting the selected tags [1].
API Calls for Tag Management: Verify that the API calls for binding tags are functioning correctly. The bindTag function should be called with the correct parameters to associate the tags with the tool [2].
Payload Structure: Check that the labels are correctly included in the payload object when saving or creating the tool. The payload should have a labels property that contains the selected tags [3].
Error Handling: Ensure that there are no errors occurring during the save operation that might prevent the tags from being saved. The error handling should notify you if something goes wrong [4].
Review these areas in your implementation to identify any discrepancies or issues that might be causing the tags not to be saved. If everything seems correct, consider checking for any recent changes or issues in the codebase that might affect this functionality.
zhaobingshuang
changed the title
labels could not be saved when the Workflow Tool was created
tags could not be saved when the Workflow Tool was created
Dec 9, 2024
Self Checks
Dify version
0.13.1
Cloud or Self Hosted
Cloud, Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Create Workflow Tool and publish it as a tool. The Tags of the tool are Search and Image. Click save
Click the Configure button of Workflow as Tool again
tags are empty
✔️ Expected Behavior
tags is Search、Image
❌ Actual Behavior
tags are empty
The text was updated successfully, but these errors were encountered: