-LAN-
64c1234724
refactor(graph_engine): Merge worker management into one WorkerPool
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-01 03:23:47 +08:00
-LAN-
202fdfcb81
refactor(graph_engine): Remove backward compatibility code
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-01 02:41:16 +08:00
-LAN-
e2f4c9ba8d
refactor(graph_engine): Merge state managers into unified_state_manager
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-01 02:08:08 +08:00
-LAN-
546d75d84d
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-01 00:29:28 +08:00
Asuka Minato
cb04c21141
model_config = ConfigDict(extra='allow') ( #24859 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 23:21:41 +08:00
Yongtao Huang
72acd9b483
Remove redundant from_variable_selector null-check ( #24842 )
2025-08-31 17:00:13 +08:00
QuantumGhost
e9e7d4f3cd
Merge branch 'feat/rag-2' into feat/workflow-draft-var-optimize
2025-08-31 15:17:23 +08:00
QuantumGhost
c72d847ac7
feat(api): support array[boolean] truncation
2025-08-31 14:32:53 +08:00
QuantumGhost
a527bd42b5
chore(api): optimize file url signing
2025-08-31 13:45:16 +08:00
QuantumGhost
621b75b343
feat(api): implement truncation for SSE events
2025-08-31 13:45:15 +08:00
QuantumGhost
6b9d2e98b9
feat(api): Implement truncation for WorkflowNodeExecution
2025-08-31 13:44:39 +08:00
QuantumGhost
13eb9f7d7d
feat(api): implement truncation for draft var
2025-08-31 13:44:38 +08:00
Asuka Minato
9f528d23d4
poc of validate config ( #24837 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 02:41:52 +08:00
-LAN-
a8fe4ea802
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-30 16:36:10 +08:00
-LAN-
82193580de
chore: improve typing
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-30 16:35:57 +08:00
horochx
0fe078d25e
fix: workflow_finish_to_stream_response assert exception with celery … ( #24674 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-30 00:59:21 +08:00
-LAN-
5415d0c6d1
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 23:17:30 +08:00
Novice
1a34ff8a67
fix: change the mcp server strucutre to support github copilot ( #24788 )
2025-08-29 18:00:58 +08:00
jyong
c2afb84884
fix chunk format
2025-08-29 17:10:18 +08:00
-LAN-
8eb78c04b2
chore(token_buffer_memory): code format
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-29 17:02:51 +08:00
-LAN-
22ee318cf8
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 17:01:42 +08:00
jyong
3c0adfb48a
fix chunk format
2025-08-29 16:27:22 +08:00
-LAN-
20ae3eae54
feat: add filename support to multi-modal prompt messages ( #24777 )
2025-08-29 16:22:26 +08:00
-LAN-
f2bc4f5d87
fix: resolve type error in node_factory by using type guard for node_type_str
2025-08-29 16:16:58 +08:00
QIN2DIM
929d9e0b3f
feat(api): maintain assistant content parts and file handling in advanced chat ( #24663 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-29 15:19:55 +08:00
jyong
5cf795f2b8
fix preview run
2025-08-29 14:48:51 +08:00
Bowen Liang
3d5a4df9d0
chore: use orjson in streaming event JSON serialisation for performance improvement ( #24763 )
2025-08-29 14:06:07 +08:00
-LAN-
dce4d0ff80
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-29 13:22:13 +08:00
-LAN-
3dee8064ba
feat: enhance typing
2025-08-29 13:17:02 +08:00
jyong
d0dd728e6c
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# api/core/app/entities/queue_entities.py
# api/core/workflow/graph_engine/entities/event.py
2025-08-29 11:29:51 +08:00
jyong
0bb3407385
fix preview run
2025-08-29 11:25:08 +08:00
Bowen Liang
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
jyong
5b4335c4b5
fix preview run
2025-08-28 22:02:22 +08:00
jyong
39080eed10
fix preview run
2025-08-28 22:01:49 +08:00
Will
c4496e6cf2
chore: use DataFrame.map instead of deprecated DataFrame.applymap ( #24726 )
2025-08-28 21:13:47 +08:00
jyong
1db04aa729
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-08-28 18:12:49 +08:00
jyong
64772fb413
fix preview run
2025-08-28 18:12:27 +08:00
-LAN-
bfbb36756a
feat(graph_engine): Add NodeExecutionType.ROOT and auto mark skipped in Graph.init
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 16:41:51 +08:00
-LAN-
d7e0c5f759
chore: use 'XXX | None' instead of Optional[XXX] in graph.py
2025-08-28 15:45:22 +08:00
jyong
a9f7ee029e
fix preview run
2025-08-28 15:39:22 +08:00
-LAN-
c396788128
chore(graph_engine): add final mark to classes
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 15:38:35 +08:00
湛露先生
5c01dd97e8
clean typos words. ( #24667 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-28 15:23:59 +08:00
mr0609
30f2d756a7
fix_trace_config ( #24669 )
...
Co-authored-by: renming <renming@renmingdeMacBook-Air.local>
2025-08-28 13:54:49 +08:00
Asuka Minato
4adf85d7d4
example for rm extra cast ( #24646 )
2025-08-28 09:37:39 +08:00
Asuka Minato
d2f234757b
example try rm ignore ( #24649 )
2025-08-28 09:36:16 +08:00
-LAN-
e3a7b1f691
fix: type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 05:24:18 +08:00
-LAN-
8aab7f49c3
chore(graph_engine): Use XXX | None instead of Optional[XXX]
2025-08-28 05:09:33 +08:00
autofix-ci[bot]
1e12c1cbf2
[autofix.ci] apply automated fixes
2025-08-27 21:00:36 +00:00
-LAN-
affedd6ce4
chore(graph_engine): Use XXX | None instead of Optional[XXX]
2025-08-28 04:59:49 +08:00
-LAN-
ef21097774
refactor(graph_engine): Remove unnecessary check from SkipPropagator
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:45:26 +08:00
-LAN-
1d377fe994
refactor(graph_engine): Use _ to mark unused variable in BranchHandler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:44:45 +08:00
-LAN-
c82697f267
refactor(graph_engine): Remove node_id from SkipPropagator.skip_branch_paths
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:43:56 +08:00
-LAN-
98b25c0bbc
refactor(graph_engine): Convert attrs to private in error_handler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:42:37 +08:00
-LAN-
1cd0792606
chore(graph_events): Improve type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:41:48 +08:00
-LAN-
7cbf4093f4
chore(graph_engine): Use TYPE | None instead of Optional
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:30:50 +08:00
-LAN-
8129ca7c05
chore(graph_engine): Move error_strategy.py to protocols/
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:29:32 +08:00
-LAN-
65617f000d
feat(event_collector): Update to use ReadWriteLock
2025-08-28 03:26:42 +08:00
-LAN-
55085a9ca2
chore(graph_engine): add type hint for event_queue
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 02:38:56 +08:00
-LAN-
9dc1e9724e
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-08-28 02:26:40 +08:00
jyong
4403a26f37
merge new graph engine
2025-08-27 20:44:14 +08:00
jyong
88abaa840c
merge new graph engine
2025-08-27 18:33:38 +08:00
Asuka Minato
4cd00efe3b
add more current_user typing ( #24612 )
2025-08-27 18:19:49 +08:00
jyong
90d72f5ddf
merge new graph engine
2025-08-27 17:46:46 +08:00
jyong
392514fa13
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
...
# Conflicts:
# api/commands.py
# api/core/app/apps/common/workflow_response_converter.py
# api/core/llm_generator/llm_generator.py
# api/core/plugin/entities/plugin.py
# api/core/plugin/impl/tool.py
# api/core/rag/index_processor/index_processor_base.py
# api/core/workflow/entities/workflow_execution.py
# api/core/workflow/entities/workflow_node_execution.py
# api/core/workflow/enums.py
# api/core/workflow/graph_engine/entities/graph.py
# api/core/workflow/graph_engine/graph_engine.py
# api/core/workflow/nodes/enums.py
# api/services/dataset_service.py
2025-08-27 16:05:59 +08:00
autofix-ci[bot]
48cbf4c78f
[autofix.ci] apply automated fixes
2025-08-27 15:33:30 +08:00
-LAN-
8c35663220
feat: queue-based graph engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:33:28 +08:00
QuantumGhost
421a3284bc
fix(api): fix incorrectly handling of array[boolean] constant in loop node ( #24619 )
2025-08-27 15:07:01 +08:00
Guangdong Liu
372074edba
refactor(http-request): Remove the reflective calls to ssrf_proxy and replace them with explicitly defined dictionary retrievals. ( #24596 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 13:23:34 +08:00
Yongtao Huang
826f19e968
Chore : rm dead code detected by pylance ( #24588 )
2025-08-27 13:19:40 +08:00
Maries
c06cfcbb5a
fix: tool provider deadlock ( #24532 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
2025-08-27 12:27:20 +08:00
-LAN-
726c429772
fix: handle non-array segment types in Loop node ( #24590 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-27 11:21:42 +08:00
twwu
da48e54778
Merge branch 'main' into feat/rag-2
2025-08-27 11:16:27 +08:00
jiangbo721
66e80f9dac
fix: code lint ( #24563 )
2025-08-26 23:35:30 +08:00
Petrus Han
d9e26eba65
fix: rag/milvus clarify full-text search warning with actionable guidance ( #24570 )
2025-08-26 23:32:26 +08:00
Yeuoly
d5e6e38c58
refactor: unify blob chunk merging logic for plugin tool and agent ( #24575 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 21:15:23 +08:00
Asuka Minato
58165c3951
example on orm typing ( #23322 )
2025-08-26 18:16:58 +08:00
Joel
dac72b078d
feat: support bool type variable frontend ( #24437 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-08-26 18:16:05 +08:00
Yongtao Huang
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-26 18:10:31 +08:00
Harry
61f2f8fd31
refactor(schemas): update titles in JSON schemas for consistency and clarity
2025-08-26 16:03:59 +08:00
Harry
46019ea927
refactor(resolver): enhance schema reference resolution with improved error handling and caching
2025-08-26 15:47:34 +08:00
Harry
7e20273bce
refactor(resolver): implement BFS approach for resolving references in Dify schemas
2025-08-26 15:47:34 +08:00
GuanMu
47f480c0dc
fix: unify log format, use placeholders instead of string concatenation ( #24544 )
2025-08-26 15:45:16 +08:00
huangzhuo1949
98473e9d4f
fix:external dataset weight rerank bug ( #24533 )
...
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
2025-08-26 14:54:40 +08:00
湛露先生
13d3271ec0
code cleans ,and add exception message. ( #24536 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-26 14:52:11 +08:00
-LAN-
04954918a5
Merge commit from fork
...
* fix(oraclevector): SQL Injection
Signed-off-by: -LAN- <laipz8200@outlook.com>
* fix(oraclevector): Remove bind variables from FETCH FIRST clause
Oracle doesn't support bind variables in the FETCH FIRST clause.
Fixed by using validated integers directly in the SQL string while
maintaining proper input validation to prevent SQL injection.
- Updated search_by_vector method to use validated top_k directly
- Updated search_by_full_text method to use validated top_k directly
- Adjusted parameter numbering for document_ids_filter placeholders
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-26 13:51:23 +08:00
Harry
0f3ca1d8f4
fix: ruff
2025-08-26 12:51:40 +08:00
Harry
c911ac8c01
refactor(console): add spec controller import and enhance tool output schema resolution
2025-08-26 11:07:12 +08:00
Asuka Minato
99fec40117
example of remove some reflections ( #24488 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 23:16:59 +08:00
湛露先生
3df04c7e9a
Fix TypeError: object of type int has no len() ( #24484 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-25 19:50:51 +08:00
jiangbo721
1d776c4cd0
feat: If combining text and files, place the text prompt after the fi… ( #24472 )
2025-08-25 17:51:46 +08:00
jyong
f418164648
add pipeline async run
2025-08-25 17:33:49 +08:00
jyong
4fc498bd48
fix
2025-08-25 16:55:08 +08:00
jyong
101d6504fb
fix
2025-08-25 16:14:22 +08:00
非法操作
6010d5f24c
feat: add multi model credentials ( #24451 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-25 16:12:29 +08:00
twwu
85fd97e090
Merge branch 'main' into feat/rag-2
2025-08-25 15:30:18 +08:00
huayaoyue6
23dcb2dc1b
fix(vector): use semantic version comparison for version check ( #24409 )
2025-08-24 21:04:33 +08:00
Qiang Lee
b84bb4164f
fix : #24292 HTTP Request Node Unable to Access File from Start Node When Using Remote URL in Workflow API Call ( #24293 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-24 00:32:42 +08:00
Yongtao Huang
1d09708eb7
Fix incorrect exception reference for json.dumps() ( #24329 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-24 00:31:04 +08:00
-LAN-
2e47558f4b
fix: correct agent node token counting to properly separate prompt and completion tokens ( #24368 )
2025-08-23 11:00:14 +08:00
Davide Delbianco
0a2111f33d
Expose agent node usage ( #24355 )
2025-08-23 10:57:58 +08:00