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
jyong
f73d6b6a51
fix style check
2025-09-17 20:57:41 +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
-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
98db7d365c
dev/reformat
2025-09-16 17:33:56 +08:00
jyong
05aec66424
fix re-chunk document
2025-09-16 16:05:01 +08:00
QuantumGhost
dd34002db2
Merge remote-tracking branch 'upstream/main' into feat/rag-2
2025-09-16 14:59:35 +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
-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-
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
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
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
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-
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
-LAN-
7e69403dda
refactor(graph_engine): use singledispatchmethod in event_handler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 03:12:33 +08:00
-LAN-
836ed1f380
refactor(graph_engine): Move ErrorHandler into a single file package
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 02:35:05 +08:00
-LAN-
9cf2b2b231
fix: type errors
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 02:22:58 +08:00
-LAN-
2a97a69825
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-10 02:03:45 +08:00
-LAN-
f17c71e08a
refactor(graph_engine): Move GraphStateManager to single file package.
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:55:30 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
-LAN-
d52621fce3
refactor(graph_engine): Merge error strategies into error_handler.py
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:49:46 +08:00
-LAN-
e060d7c28c
refactor(graph_engine): remove Optional
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:49:15 +08:00
-LAN-
ea5dfe41d5
chore: ignore comment
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-10 01:36:11 +08:00
-LAN-
a23c8fcb1a
refactor: move execution limits from engine core to layer
...
Remove max_execution_time and max_execution_steps from ExecutionContext and GraphEngine since these limits are now handled by ExecutionLimitsLayer. This follows the separation of concerns principle by keeping execution limits as a cross-cutting concern handled by layers rather than embedded in core engine components.
Changes:
- Remove max_execution_time and max_execution_steps from ExecutionContext
- Remove these parameters from GraphEngine.__init__()
- Remove max_execution_time from Dispatcher
- Update workflow_entry.py to no longer pass these parameters
- Update all tests to remove these parameters
2025-09-10 01:32:45 +08:00
-LAN-
e0e82fbfaa
refactor: extract _run method into smaller focused methods in IterationNode
...
- Extract iterator variable retrieval and validation logic
- Separate empty iteration handling
- Create dedicated methods for iteration execution and result handling
- Improve type hints and use modern Python syntax
- Enhance code readability and maintainability
2025-09-10 01:15:36 +08:00
-LAN-
1c9f40f92a
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-09 22:16:59 +08:00
-LAN-
6ffa2ebabf
feat: improve error handling in graph node creation
...
- Replace ValueError catch with generic Exception
- Use logger.exception for automatic traceback logging
- Abort on node creation failure instead of continuing
2025-09-09 22:16:42 +08:00
Yongtao Huang
2ac7a9c8fc
Chore: thanks to bump-pydantic ( #25437 )
2025-09-09 20:07:17 +08:00
-LAN-
23cd615489
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-09-08 14:30:43 +08:00
-LAN-
299141ae01
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-08 13:56:45 +08:00
Ding
ce2281d31b
Fix: Parameter Extractor Uses Correct Prompt for Prompt Mode in Chat Models ( #24636 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-08 10:29:12 +08:00
-LAN-
7e629fd783
fix: update iteration node to use correct variable segment types ( #25315 )
2025-09-07 21:31:41 +08:00
-LAN-
abb53f11ad
Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine
2025-09-06 16:05:13 +08:00