[PR #1403] [MERGED] feat: add api-based extension & external data tool & moderation backend #23045

Closed
opened 2026-02-21 20:20:19 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/1403
Author: @GarfieldDai
Created: 10/24/2023
Status: Merged
Merged: 11/6/2023
Merged by: @GarfieldDai

Base: mainHead: feat/moderation-supports


📝 Commits (10+)

📊 Changes

50 files changed (+1622 additions, -271 deletions)

View changed files

📝 api/.vscode/launch.json (+1 -1)
📝 api/app.py (+2 -1)
📝 api/config.py (+4 -0)
📝 api/controllers/console/__init__.py (+1 -1)
📝 api/controllers/console/explore/parameter.py (+3 -1)
api/controllers/console/extension.py (+114 -0)
📝 api/controllers/service_api/app/app.py (+3 -1)
📝 api/controllers/service_api/app/completion.py (+0 -1)
📝 api/controllers/web/app.py (+3 -1)
📝 api/controllers/web/completion.py (+1 -1)
📝 api/core/__init__.py (+1 -0)
📝 api/core/callback_handler/llm_callback_handler.py (+183 -6)
api/core/chain/sensitive_word_avoidance_chain.py (+0 -92)
📝 api/core/completion.py (+132 -25)
📝 api/core/conversation_message_task.py (+26 -0)
api/core/extension/__init__.py (+0 -0)
api/core/extension/api_based_extension_requestor.py (+62 -0)
api/core/extension/extensible.py (+111 -0)
api/core/extension/extension.py (+47 -0)
api/core/external_data_tool/__init__.py (+0 -0)

...and 30 more files

📄 Description

No description provided


🔄 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/pull/1403 **Author:** [@GarfieldDai](https://github.com/GarfieldDai) **Created:** 10/24/2023 **Status:** ✅ Merged **Merged:** 11/6/2023 **Merged by:** [@GarfieldDai](https://github.com/GarfieldDai) **Base:** `main` ← **Head:** `feat/moderation-supports` --- ### 📝 Commits (10+) - [`30eb7c2`](https://github.com/langgenius/dify/commit/30eb7c20690acdb43b86f3e9859137c448b0e609) add form schemas. - [`382d65c`](https://github.com/langgenius/dify/commit/382d65c7ae877b56db88cac1869c0de3bf6a11b2) update. - [`3c36ce7`](https://github.com/langgenius/dify/commit/3c36ce7b2a80d4de79ffe902c98107f3cdb3132c) api_based_extension. - [`b052a84`](https://github.com/langgenius/dify/commit/b052a84838289902cb0dcebf5ab96afde919fed5) refactor. - [`dc849bf`](https://github.com/langgenius/dify/commit/dc849bfc487e43eb67425f04c0e011c0c257c032) update. - [`ce8af8b`](https://github.com/langgenius/dify/commit/ce8af8b8b3e8fc3a380ccec9771e0e44572ca132) update. - [`bfa2a07`](https://github.com/langgenius/dify/commit/bfa2a07c50ef9fd63c693e156233b9330a6446d3) update. - [`2819b08`](https://github.com/langgenius/dify/commit/2819b08bd7aecddc1a5d0b26ffdfc9111fe98bcb) feat: refactor code-based extension - [`a21a950`](https://github.com/langgenius/dify/commit/a21a950ce49f38c76804c85392e51755fa9a3ec6) feat: refactor. - [`fb2bc44`](https://github.com/langgenius/dify/commit/fb2bc44d3303cb5f25b32c48ae1e15ae799b978b) feat: refactor moderation factory ### 📊 Changes **50 files changed** (+1622 additions, -271 deletions) <details> <summary>View changed files</summary> 📝 `api/.vscode/launch.json` (+1 -1) 📝 `api/app.py` (+2 -1) 📝 `api/config.py` (+4 -0) 📝 `api/controllers/console/__init__.py` (+1 -1) 📝 `api/controllers/console/explore/parameter.py` (+3 -1) ➕ `api/controllers/console/extension.py` (+114 -0) 📝 `api/controllers/service_api/app/app.py` (+3 -1) 📝 `api/controllers/service_api/app/completion.py` (+0 -1) 📝 `api/controllers/web/app.py` (+3 -1) 📝 `api/controllers/web/completion.py` (+1 -1) 📝 `api/core/__init__.py` (+1 -0) 📝 `api/core/callback_handler/llm_callback_handler.py` (+183 -6) ➖ `api/core/chain/sensitive_word_avoidance_chain.py` (+0 -92) 📝 `api/core/completion.py` (+132 -25) 📝 `api/core/conversation_message_task.py` (+26 -0) ➕ `api/core/extension/__init__.py` (+0 -0) ➕ `api/core/extension/api_based_extension_requestor.py` (+62 -0) ➕ `api/core/extension/extensible.py` (+111 -0) ➕ `api/core/extension/extension.py` (+47 -0) ➕ `api/core/external_data_tool/__init__.py` (+0 -0) _...and 30 more files_ </details> ### 📄 Description _No description provided_ --- <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-21 20:20:19 -05:00
yindo closed this issue 2026-02-21 20:20:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#23045