mirror of
https://github.com/langgenius/dify.git
synced 2026-04-24 04:45:51 +08:00
feat(trigger): introduce plugin trigger management and enhance trigger processing
- Remove the debug endpoint for cleaner API structure - Add support for TRIGGER_PLUGIN in NodeType enumeration - Implement WorkflowPluginTrigger model to map plugin triggers to workflow nodes - Enhance TriggerService to process plugin triggers and store trigger data in Redis - Update node mapping to include TriggerPluginNode for workflow execution Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@ -17,9 +17,6 @@ UUID_MATCHER = re.compile(UUID_PATTERN)
|
||||
@bp.route(
|
||||
"/trigger/endpoint/<string:endpoint_id>", methods=["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]
|
||||
)
|
||||
@bp.route(
|
||||
"/trigger/endpoint-debug/<string:endpoint_id>", methods=["GET", "POST", "PUT", "PATCH", "DELETE", "HEAD", "OPTIONS"]
|
||||
)
|
||||
def trigger_endpoint(endpoint_id: str):
|
||||
"""
|
||||
Handle endpoint trigger calls.
|
||||
|
||||
Reference in New Issue
Block a user