dify/api/core/helper
Harry 2a3ce6baa9 feat(trigger): enhance plugin and trigger integration with updated naming conventions
- Refactored `PluginFetchDynamicSelectOptionsApi` to replace the `extra` argument with `credential_id`, improving clarity in dynamic option fetching.
- Updated `ProviderConfigEncrypter` to rename `mask_tool_credentials` to `mask_credentials` for consistency, and added a new method to maintain backward compatibility.
- Enhanced `PluginParameterService` to utilize `credential_id` for fetching subscriptions, improving the handling of trigger credentials.
- Adjusted various components and types in the frontend to replace `tool_name` with `trigger_name`, ensuring consistency across the application.
- Introduced `multiple` property in `TriggerParameter` to support multi-select functionality.

These changes improve the integration of triggers and plugins, enhance code clarity, and align naming conventions across the codebase.
2025-09-08 23:14:50 +08:00
..
code_executor feat: integrate flask-orjson for improved JSON serialization performance (#23935) 2025-08-14 19:50:59 +08:00
__init__.py feat: server multi models support (#799) 2023-08-12 00:57:00 +08:00
download.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
encrypter.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
marketplace.py refactor: migrate marketplace.py from requests to httpx (#24015) 2025-09-01 14:28:21 +08:00
model_provider_cache.py feat: mypy for all type check (#10921) 2024-12-24 18:38:51 +08:00
moderation.py make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
module_import_helper.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
position_helper.py chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
provider_cache.py refactor(trigger): update trigger provider API and clean up unused classes 2025-09-04 17:45:15 +08:00
provider_encryption.py feat(trigger): enhance plugin and trigger integration with updated naming conventions 2025-09-08 23:14:50 +08:00
ssrf_proxy.py Refactor: use logger = logging.getLogger(__name__) in logging (#24515) 2025-08-26 18:10:31 +08:00
tool_parameter_cache.py chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
trace_id_helper.py refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling (#24284) 2025-08-21 18:18:49 +08:00