QuantumGhost
04919195cc
Merge remote-tracking branch 'upstream/feat/queue-based-graph-engine' into feat/rag-2
2025-09-17 18:00:48 +08:00
jyong
47b1cd83c7
use DifyCoreRepositoryFactory
2025-09-17 14:38:23 +08:00
-LAN-
1cf788c43b
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-17 12:46:08 +08:00
-LAN-
73a7756350
feat(graph_engine): allow to dumps and loads RSC
2025-09-17 12:45:51 +08:00
-LAN-
02d15ebd5a
feat(graph_engine): support dumps and loads in GraphExecution
2025-09-16 19:38:10 +08:00
jyong
b04d945b3d
Merge branch 'main' into feat/rag-2
2025-09-16 19:29:27 +08:00
jyong
5133623d42
dev/reformat
2025-09-16 19:06:42 +08:00
jyong
98db7d365c
dev/reformat
2025-09-16 17:33:56 +08:00
Jiang
b283b10d3e
Fix/lindorm vdb optimize ( #25748 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-16 16:54:18 +08:00
jyong
1c6e57d3df
dev/reformat
2025-09-16 16:41:50 +08:00
jyong
0ec037b803
dev/reformat
2025-09-16 16:08:04 +08:00
jyong
05aec66424
fix re-chunk document
2025-09-16 16:05:01 +08:00
jyong
2f1c47406c
Merge branch 'feat/rag-2' into feat/add-dataset-service-api-enable
...
# Conflicts:
# api/controllers/console/datasets/datasets.py
# api/controllers/service_api/wraps.py
# api/services/dataset_service.py
2025-09-16 15:21:23 +08:00
QuantumGhost
dd34002db2
Merge remote-tracking branch 'upstream/main' into feat/rag-2
2025-09-16 14:59:35 +08:00
jyong
c463f31f56
fix document retry
2025-09-16 14:52:33 +08:00
jyong
8346506978
fix document retry
2025-09-16 14:14:09 +08:00
-LAN-
b5684f1992
refactor(graph_engine): remove unused parameters from Engine
2025-09-16 14:11:42 +08:00
-LAN-
bd13cf05eb
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-16 12:59:26 +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
-LAN-
5f263147f9
fix: make mypy happy
2025-09-16 12:51:11 +08:00
-LAN-
b68afdfa64
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-16 12:32:16 +08:00
-LAN-
da87fce751
feat(graph_engine): dump and load ready queue
2025-09-16 04:19:46 +08:00
-LAN-
d5342927d0
chore: change _outputs type to dict[str, object]
2025-09-16 01:53:25 +08:00
湛露先生
0bbf4fb66a
correct typos . ( #25717 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-09-15 21:22:40 +08:00
autofix-ci[bot]
754d790c89
[autofix.ci] apply automated fixes (attempt 2/3)
2025-09-15 07:58:44 +00:00
autofix-ci[bot]
a099a35e51
[autofix.ci] apply automated fixes
2025-09-15 07:56:51 +00:00
-LAN-
2dd893e60d
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-15 15:54:42 +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
-LAN-
b8ee1d4697
Merge branch 'main' into feat/queue-based-graph-engine
2025-09-15 12:21:18 +08:00
jyong
7eb8259e3d
fix priority task
2025-09-15 11:44:13 +08:00
Ritoban Dutta
67a686cf98
[Chore/Refactor] use __all__ to specify export member. ( #25681 )
2025-09-15 09:45:35 +08:00
ChasePassion
a3f2c05632
optimize _merge_splits function by using enumerate instead of manual index tracking ( #25680 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-15 09:41:16 +08:00
-LAN-
b4ef1de30f
feat(graph_engine): add ready_queue state persistence to GraphRuntimeState
...
- Add ReadyQueueState TypedDict for type-safe queue serialization
- Add ready_queue attribute to GraphRuntimeState for initializing with pre-existing queue state
- Update GraphEngine to load ready_queue from GraphRuntimeState on initialization
- Implement proper type hints using ReadyQueueState for better type safety
- Add comprehensive tests for ready_queue loading functionality
The ready_queue is read-only after initialization and allows resuming workflow
execution with a pre-populated queue of nodes ready to execute.
2025-09-15 03:05:10 +08:00
jyong
80c32a130f
add dataset service api enable
2025-09-14 20:43:49 +08:00
autofix-ci[bot]
0f15a2baca
[autofix.ci] apply automated fixes
2025-09-13 20:20:53 +00:00
-LAN-
4cdc19fd05
feat(graph_engine): add abstract layer and dump / load methods for ready queue.
2025-09-14 04:19:24 +08:00
-LAN-
b0e815c3c7
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-13 01:31:17 +08:00
-LAN-
1b0f92a331
feat(stress-test): add comprehensive stress testing suite using Locust ( #25617 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 22:25:05 +08:00
Krito.
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
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-09-12 21:14:26 +08:00
kenwoodjw
c91253d05d
fix segment deletion race condition ( #24408 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.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-09-12 15:29:57 +08:00
Yeuoly
ec808f3fe8
refactor: centralize default end user session ID constant ( #25416 )
...
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 10:27:16 +08:00
Novice
17b5309e47
fix: single step system file error ( #25533 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 09:47:45 +08:00
-LAN-
872cff7bab
chore(iteration_node): convert some Any to object
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:40:12 +08:00
-LAN-
8fb69429f9
feat(graph_engine): support parallel mode in iteration node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:37:46 +08:00
-LAN-
85064bd8cf
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-11 15:13:31 +08:00
-LAN-
ba5df3612b
fix: tests
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:13:18 +08:00
-LAN-
a923ab1ab8
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-11 15:01:16 +08:00
-LAN-
b4c1766932
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 21:48:05 +08:00
-LAN-
00a1af8506
refactor(graph_engine): use singledispatch in Node
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 20:59:34 +08:00
jyong
c295b1d645
fix user_id missed
2025-09-10 13:50:12 +08:00