Unable to update the "required" when debugging a plugin #46

Closed
opened 2026-02-15 21:15:26 -05:00 by yindo · 1 comment
Owner

Originally created by @freezetheflame on GitHub (Jul 8, 2025).

Environment:
Dify 1.0.1 (Docker on Windows)
python 3.12
Edge as my Internet Explorer

When developing an easy plugin and decide to change the "required" attribute of an already developed func, but it won't work after I restart the plugin itself(using remote debugging) and refresh the explorer, it stays still as "required: true" on the client side. So I'm a bit curious about how plugin works when debugging locally , are they really using the running plugin as a temp server?

Image Image
Originally created by @freezetheflame on GitHub (Jul 8, 2025). Environment: Dify 1.0.1 (Docker on Windows) python 3.12 Edge as my Internet Explorer When developing an easy plugin and decide to change the "required" attribute of an already developed func, but it won't work after I restart the plugin itself(using remote debugging) and refresh the explorer, it stays still as "required: true" on the client side. So I'm a bit curious about how plugin works when debugging locally , are they really using the running plugin as a temp server? <img width="348" height="138" alt="Image" src="https://github.com/user-attachments/assets/ffe49f9e-1563-46b8-a639-3d601784449a" /> <img width="242" height="88" alt="Image" src="https://github.com/user-attachments/assets/00ee6786-0bc9-4da3-ab34-c038d85b0f1c" />
yindo closed this issue 2026-02-15 21:15:26 -05:00
Author
Owner

@freezetheflame commented on GitHub (Jul 9, 2025):

It probably occurred due to my duplicate name of yaml, maybe you'd better mention about it in the website about the writing of yaml?

@freezetheflame commented on GitHub (Jul 9, 2025): It probably occurred due to my duplicate name of yaml, maybe you'd better mention about it in the website about the writing of yaml?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#46