mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
[PR #138] feat[0.6.0](endpoint): add support for endpoint group setup #174
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/138
Author: @Yeuoly
Created: 5/12/2025
Status: 🔄 Open
Base:
main← Head:feat/support-setup-endpoint📝 Commits (5)
e7c381afeat(endpoint): add support for endpoint group setupffbd273refactor: rename setup endpoint action9d3f76drefactor: update setup method to use settings instead of credentialsc124623fix: missing endpoints_configuration4a35f08feat: add ENdpointSetupFailedError📊 Changes
8 files changed (+104 additions, -5 deletions)
View changed files
📝
python/dify_plugin/core/entities/plugin/request.py(+11 -2)📝
python/dify_plugin/core/plugin_executor.py(+8 -0)📝
python/dify_plugin/core/plugin_registration.py(+28 -1)📝
python/dify_plugin/core/server/serverless/request_reader.py(+4 -2)📝
python/dify_plugin/entities/endpoint.py(+22 -0)➕
python/dify_plugin/errors/endpoint.py(+16 -0)📝
python/dify_plugin/interfaces/endpoint/__init__.py(+9 -0)📝
python/dify_plugin/plugin.py(+6 -0)📄 Description
setup_endpoint_groupmethod inPluginExecutorto handle endpoint group initialization.EndpointSetupRequestmodel to facilitate setup requests with credentials and endpoint group information.PluginRegistrationto load endpoint groups from configuration and retrieve them by name.Pluginclass to register a new route for handling setup actions.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.