Commit Graph

3177 Commits

Author SHA1 Message Date
jyong ea38b4bcbe fix mypy 2025-09-17 23:15:03 +08:00
jyong 8cc6927fed fix mypy 2025-09-17 23:04:03 +08:00
jyong efce1b04e0 fix style check 2025-09-17 22:34:11 +08:00
QuantumGhost 73d4bb596a
fix: fix import linting, remove incorrect tests (#25849) 2025-09-17 21:26:35 +08:00
QuantumGhost 6c6f1cf24c fix(api): fix import linting 2025-09-17 21:18:27 +08:00
jyong f73d6b6a51 fix style check 2025-09-17 20:57:41 +08:00
jyong 055f7644fb Merge branch 'feat/rag-2' into feat/merge-migrations
# Conflicts:
#	api/services/workflow_service.py
2025-09-17 20:42:33 +08:00
QuantumGhost 3c9258a02b
fix(plugin): fix EndUser id does not match session_id (#25847) 2025-09-17 20:34:29 +08:00
Harry 8352128a27 fix(plugin): fix EndUser id does not match session_id 2025-09-17 20:18:10 +08:00
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 caf4b16b8e
Update api/core/datasource/utils/message_transformer.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-17 17:51:53 +08:00
jyong 69a402ba99 fix style check 2025-09-17 17:34:05 +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