[PR #138] feat[0.6.0](endpoint): add support for endpoint group setup #174

Open
opened 2026-02-15 21:16:05 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/138
Author: @Yeuoly
Created: 5/12/2025
Status: 🔄 Open

Base: mainHead: feat/support-setup-endpoint


📝 Commits (5)

  • e7c381a feat(endpoint): add support for endpoint group setup
  • ffbd273 refactor: rename setup endpoint action
  • 9d3f76d refactor: update setup method to use settings instead of credentials
  • c124623 fix: missing endpoints_configuration
  • 4a35f08 feat: 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

  • Introduced setup_endpoint_group method in PluginExecutor to handle endpoint group initialization.
  • Added EndpointSetupRequest model to facilitate setup requests with credentials and endpoint group information.
  • Enhanced PluginRegistration to load endpoint groups from configuration and retrieve them by name.
  • Updated Plugin class to register a new route for handling setup actions.
  • Modified existing endpoint-related classes to support the new endpoint group functionality.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/138 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 5/12/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/support-setup-endpoint` --- ### 📝 Commits (5) - [`e7c381a`](https://github.com/langgenius/dify-plugin-sdks/commit/e7c381adb11180f3671d3a9e64db1f0523c46269) feat(endpoint): add support for endpoint group setup - [`ffbd273`](https://github.com/langgenius/dify-plugin-sdks/commit/ffbd273a47a11c086c394f807404d60baa7e3d47) refactor: rename setup endpoint action - [`9d3f76d`](https://github.com/langgenius/dify-plugin-sdks/commit/9d3f76d42d782ef711e262f9c684e1fdf87a6a40) refactor: update setup method to use settings instead of credentials - [`c124623`](https://github.com/langgenius/dify-plugin-sdks/commit/c12462341b5f2a239512c04466d44100c8eead10) fix: missing endpoints_configuration - [`4a35f08`](https://github.com/langgenius/dify-plugin-sdks/commit/4a35f08344fdc49c89ae0a77ad546a341c928c53) feat: add ENdpointSetupFailedError ### 📊 Changes **8 files changed** (+104 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description - Introduced `setup_endpoint_group` method in `PluginExecutor` to handle endpoint group initialization. - Added `EndpointSetupRequest` model to facilitate setup requests with credentials and endpoint group information. - Enhanced `PluginRegistration` to load endpoint groups from configuration and retrieve them by name. - Updated `Plugin` class to register a new route for handling setup actions. - Modified existing endpoint-related classes to support the new endpoint group functionality. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:16:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#174