Harry
b283a2b3d9
feat(trigger): add API endpoint to retrieve trigger plugin icons and enhance workflow response handling
...
- Introduced `TriggerProviderIconApi` to fetch icons for trigger plugins based on tenant and provider ID.
- Updated `WorkflowResponseConverter` to include trigger plugin icons in the response.
- Implemented `get_trigger_plugin_icon` method in `TriggerManager` for icon retrieval logic.
- Adjusted `Node` class to correctly set provider information for trigger plugins.
- Modified TypeScript types to accommodate new provider ID field in workflow nodes.
2025-10-13 16:50:32 +08:00
lyzno1
f3b415c095
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-13 13:21:51 +08:00
Asuka Minato
24cd7bbc62
fix RetrievalMethod StrEnum ( #26768 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-13 10:29:37 +08:00
Asuka Minato
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
Arno Ren
78f09801b5
fix : #26668 restore manual tool parameter values ( #26733 )
...
Co-authored-by: renzeyu1 <renzeyu1@lixiang.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-10 23:37:10 +08:00
lyzno1
bae8e44b32
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-10 19:43:23 +08:00
Asuka Minato
ab2eacb6c1
use model_validate ( #26182 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-10-10 17:30:13 +09:00
lyzno1
85f1cf1d90
Merge branch 'main' into feat/trigger
2025-10-10 15:16:00 +08:00
Novice
5d3e8a31d0
fix: restore array flattening behavior in iteration node ( #26695 )
2025-10-10 10:54:32 +08:00
Asuka Minato
3c4aa24198
Refactor: Remove unnecessary casts and tighten type checking ( #26625 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-09 22:11:14 +08:00
Harry
91318d3d04
refactor(trigger): rename trigger references to event for consistency
...
- Updated variable names and types from 'trigger' to 'event' across multiple files to enhance clarity and maintain consistency in the codebase.
- Adjusted related data structures and API responses to reflect the new naming convention.
- Improved type annotations and error handling in the workflow trigger run API and associated services.
2025-10-09 03:12:35 +08:00
lyzno1
04d94e3337
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-06 19:12:16 +08:00
-LAN-
4a475bf1cd
chore: Raise default string length limits ( #26592 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
2025-10-06 10:40:13 +08:00
hjlarry
cc5a315039
fix pyright exception
2025-10-02 20:26:29 +08:00
lyzno1
1bfa8e6662
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-30 18:56:21 +08:00
Asuka Minato
decf0f3da0
Fix: Remove workflow/nodes from pyright exclusion ( #26461 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-30 15:39:04 +08:00
quicksand
809f48f733
fix: document is not bound to a session ( #26480 )
2025-09-30 14:24:40 +08:00
lyzno1
15413108f0
chore: remove unused empty enums.py file
2025-09-30 13:52:33 +08:00
goofy
86c3c58e64
support returning structured output when using LLM API non streaming invocation ( #26451 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-30 10:58:35 +08:00
casio12r
aa3129c2a9
Fix a typo in prompt ( #25583 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-30 10:50:43 +08:00
goofy
b4d4351203
fix single-step runs support user input as structured_output variable values ( #26430 )
2025-09-30 10:38:55 +08:00
lyzno1
4a6903fdb4
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-30 08:00:16 +08:00
-LAN-
b6cea71023
fix(workflow): sync iteration conversation variables ( #26368 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-29 18:15:22 +08:00
sqewad
6462328620
fix: variable not found #26144 ( #26155 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: lix43 <lix43@chinatelecom.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-29 18:15:05 +08:00
lyzno1
8fc88f8cbf
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-28 19:32:33 +08:00
-LAN-
d00a72a435
fix(graph_engine): block response nodes during streaming ( #26364 )
2025-09-28 17:46:39 +08:00
湛露先生
36580221aa
fix workflow variable split judge. ( #26355 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-28 17:46:19 +08:00
lyzno1
f620e78b20
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-28 13:40:46 +08:00
非法操作
272102c06d
doc: fix graph engine readme ( #26337 )
2025-09-28 13:37:51 +08:00
goofy
244c132656
fix compatibility problem caused by tool node attribute 'tool_node_version' judgement error ( #26274 )
2025-09-28 10:44:20 +08:00
hjlarry
8df80781d9
_node_type has changed to node_type in new version
2025-09-28 09:36:45 +08:00
Harry
896f3252b8
refactor(api): refactor all
...
- Replaced direct imports of `TriggerProviderID` and `ToolProviderID` from `core.plugin.entities.plugin` with imports from `models.provider_ids` for better organization.
- Refactored workflow node classes to inherit from a unified `Node` class, improving consistency and maintainability.
- Removed unused code and comments to clean up the implementation, particularly in the `workflow_trigger.py` and `builtin_tools_manage_service.py` files.
These changes enhance the clarity and structure of the codebase, facilitating easier future modifications.
2025-09-25 18:22:30 +08:00
yessenia
6853a699e1
Merge branch 'main' into feat/trigger
2025-09-25 17:43:39 +08:00
yessenia
cd07eef639
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-25 17:14:24 +08:00
quicksand
a4acc64afd
fix(api):LLM node losing Flask context during parallel iterations ( #26098 )
2025-09-24 10:09:35 +08:00
Jyong
dd08957381
fix full_text_search name ( #26104 )
2025-09-23 16:40:26 +08:00
Harry
ef9a741781
feat(trigger): enhance trigger management with new error handling and response structure
...
- Added `TriggerInvokeError` and `TriggerIgnoreEventError` for better error categorization during trigger invocation.
- Updated `TriggerInvokeResponse` to include a `cancelled` field, indicating if a trigger was ignored.
- Enhanced `TriggerManager` to handle specific errors and return appropriate responses.
- Refactored `dispatch_triggered_workflows` to improve workflow execution logic and error handling.
These changes improve the robustness and clarity of the trigger management system.
2025-09-23 16:01:59 +08:00
quicksand
407323f817
fix(api): graph engine debug logging NodeRunRetryEvent not effective ( #26085 )
2025-09-23 13:46:45 +08:00
-LAN-
2e2c87c5a1
fix(graph_engine): error strategy fall. ( #26078 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-23 01:51:43 +08:00
Asuka Minato
f4522fd695
try contextmanager ( #26074 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-23 00:35:54 +08:00
Novice
d823da18db
fix: iteration and loop node single step run ( #26036 )
2025-09-22 19:14:24 +08:00
lyzno1
906028b1fb
fix: start node validation
2025-09-22 12:58:20 +08:00
Yongtao Huang
b3dafd913b
Chore: correct inconsistent logging and typo ( #25945 )
2025-09-19 10:36:16 +08:00
lyzno1
59f56d8c94
feat: schedule trigger default daily midnight ( #25937 )
2025-09-19 08:05:00 +08:00
QuantumGhost
13fe2ca8fe
fix(api): fix single stepping variable loading ( #25908 )
2025-09-18 17:30:02 +08:00
-LAN-
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: twwu <twwu@dify.ai>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: jyong <718720800@qq.com>
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com>
Co-authored-by: quicksand <quicksandzn@gmail.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: nite-knite <nkCoding@gmail.com>
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com>
2025-09-18 12:49:10 +08:00
Harry
0cb0cea167
feat(trigger): enhance trigger plugin data structure and error handling
...
- Added `plugin_unique_identifier` to `PluginTriggerData` and `TriggerProviderApiEntity` to improve identification of trigger plugins.
- Introduced `PluginTriggerDispatchData` for structured dispatch data in Celery tasks, enhancing the clarity of trigger dispatching.
- Updated `dispatch_triggered_workflows_async` to utilize the new dispatch data structure, improving error handling and logging for trigger invocations.
- Enhanced metadata handling in `TriggerPluginNode` to include trigger information, aiding in debugging and tracking.
These changes improve the robustness and maintainability of trigger plugin interactions within the workflow system.
2025-09-16 15:39:40 +08:00
Asuka Minato
bdd85b36a4
ruff check preview ( #25653 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 12:58:12 +08:00
湛露先生
0bbf4fb66a
correct typos . ( #25717 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-09-15 21:22:40 +08:00
-LAN-
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00