dify/api/core
Harry f20452622a fix(trigger): improve event retrieval handling in PluginTriggerProviderController
- Updated the `get_event` method to return `None` instead of raising a ValueError when an event is not found, enhancing error handling.
- Adjusted the `get_event_parameters` method to handle cases where the event may be `None`, returning an empty dictionary instead of causing an error.
- Improved type hinting for better clarity and type safety.
2025-10-17 14:43:43 +08:00
..
agent feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
app Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-16 18:30:33 +08:00
base feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
callback_handler feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
datasource fix RetrievalMethod StrEnum (#26768) 2025-10-13 10:29:37 +08:00
entities Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-16 18:30:33 +08:00
errors chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
extension change all to httpx (#26119) 2025-10-10 23:41:16 +08:00
external_data_tool chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
file feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
helper Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-10 19:43:23 +08:00
llm_generator remove .value (#26633) 2025-10-11 09:08:29 +08:00
mcp use model_validate (#26182) 2025-10-10 17:30:13 +09:00
memory chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
model_runtime fix RetrievalMethod StrEnum (#26768) 2025-10-13 10:29:37 +08:00
moderation use model_validate (#26182) 2025-10-10 17:30:13 +09:00
ops use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
plugin Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-16 18:30:33 +08:00
prompt chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
rag refactor: Update Firecrawl to use v2 API (#24734) 2025-10-15 10:48:54 +08:00
repositories use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
schemas Fix: replace stdout prints with debug logging (#25931) 2025-09-18 21:03:20 +08:00
tools Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-16 18:30:33 +08:00
trigger fix(trigger): improve event retrieval handling in PluginTriggerProviderController 2025-10-17 14:43:43 +08:00
variables feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workflow fix(trigger): trigger node is marked as 'branch' type 2025-10-17 13:37:46 +08:00
__init__.py Fix basedpyright type errors (#25435) 2025-09-10 01:54:26 +08:00
hosting_configuration.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
indexing_runner.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
model_manager.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00
provider_manager.py fix enum and type (#26756) 2025-10-11 17:46:44 +08:00