-LAN- and GitHub
577062b93a
refactor: simplify variable pool key structure and improve type safety ( #23732 )
...
Signed-off-by: -LAN- <[email protected] >
2025-08-11 18:10:04 +08:00
Asuka Minato and GitHub
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
2025-07-18 10:08:51 +08:00
QuantumGhost and GitHub
2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization ( #22025 )
...
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025 )
This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.
Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types
Closes #22024 .
2025-07-16 12:31:37 +08:00
湛露先生 and GitHub
edf5fd28c9
update worklow events logs. ( #19871 )
...
Signed-off-by: zhanluxianshen <[email protected] >
2025-07-10 14:21:34 +08:00
-LAN- and GitHub
8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine ( #21882 )
2025-07-07 13:15:18 +08:00
QuantumGhost and GitHub
268da31332
fix(api): adding variable to variable pool recursively while loading draft variables. ( #21478 )
...
This PR fix the issue that `ObjectSegment` are not recursively added to the draft variable pool while loading draft variables from database. It also fixes an issue about loading variables with more than two elements in the its selector.
Enhances #19735 .
Closes #21477 .
2025-06-25 12:39:22 +08:00
QuantumGhost and GitHub
10b738a296
feat: Persist Variables for Enhanced Debugging Workflow ( #20699 )
...
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.
By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.
Key highlights of this change:
- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.
Closes #19735 .
2025-06-24 09:05:29 +08:00
-LAN- and GitHub
879f839d75
refactor(graph_engine): Merge duplicated if block ( #20784 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-18 14:33:29 +08:00
-LAN- and GitHub
0dcacdf83d
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-17 16:31:29 +08:00
-LAN- and GitHub
72fdafc180
refactor: Replaces direct DB session usage with context managers ( #20569 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-03 16:16:06 +08:00
-LAN- and GitHub
a6ea15e63c
Refactor/message cycle manage and knowledge retrieval ( #20460 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-30 14:36:44 +08:00
-LAN- and GitHub
32e779eef3
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey ( #20457 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-30 04:47:56 +08:00
-LAN- and GitHub
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-30 04:34:13 +08:00
-LAN- and GitHub
f233a64eb5
fix(workflow): fetch user failed when workflow run in parallel mode ( #20321 )
...
Signed-off-by: -LAN- <[email protected] >
2025-05-27 22:41:07 +08:00
Bowen Liang and GitHub
cbc8ebd8f5
chore: bump pydantic to 2.11 and pydantic-settings to 2.9 ( #15049 )
2025-05-08 17:39:51 +08:00
Yongtao Huang and GitHub
5d72003ebb
Remove dead code ( #17899 )
2025-04-11 20:33:52 +08:00
-LAN- and GitHub
ec29bcf013
feat(graph_engine): yield control to other threads before node run. ( #17689 )
...
Signed-off-by: -LAN- <[email protected] >
2025-04-09 17:02:47 +08:00
fe0d932f50
fix: fail-branch stream output error ( #13401 )
...
Co-authored-by: Novice Lee <[email protected] >
2025-03-17 19:35:37 +08:00
5646442931
fix: iteration total tokens calculate error ( #15813 )
...
Co-authored-by: 刘江波 <[email protected] >
2025-03-14 17:44:24 +08:00
Novice and GitHub
778861f461
fix: agent node can't use in parallel ( #15047 )
2025-03-06 13:13:24 +08:00
2c17bb2c36
Feature/newnew workflow loop node ( #14863 )
...
Co-authored-by: arkunzz <[email protected] >
2025-03-05 17:41:15 +08:00
Novice and GitHub
24d80000ac
chore: Restore the parts that were overwritten during conflict resolution. ( #14141 )
2025-03-04 11:21:16 +08:00
+110
403e2d58b9
Introduce Plugins ( #13836 )
...
Signed-off-by: yihong0618 <[email protected] >
Signed-off-by: -LAN- <[email protected] >
Signed-off-by: xhe <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: takatost <[email protected] >
Co-authored-by: kurokobo <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: Yi <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: twwu <[email protected] >
Co-authored-by: Hiroshi Fujita <[email protected] >
Co-authored-by: AkaraChen <[email protected] >
Co-authored-by: NFish <[email protected] >
Co-authored-by: Wu Tianwei <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: Novice <[email protected] >
Co-authored-by: Hiroki Nagai <[email protected] >
Co-authored-by: Gen Sato <[email protected] >
Co-authored-by: eux <[email protected] >
Co-authored-by: huangzhuo1949 <[email protected] >
Co-authored-by: huangzhuo <[email protected] >
Co-authored-by: lotsik <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: nite-knite <[email protected] >
Co-authored-by: Jyong <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gakkiyomi <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: CN-P5 <[email protected] >
Co-authored-by: Chuehnone <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Kevin9703 <[email protected] >
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: Boris Feld <[email protected] >
Co-authored-by: mbo <[email protected] >
Co-authored-by: mabo <[email protected] >
Co-authored-by: Warren Chen <[email protected] >
Co-authored-by: JzoNgKVO <[email protected] >
Co-authored-by: jiandanfeng <[email protected] >
Co-authored-by: zhu-an <[email protected] >
Co-authored-by: zhaoqingyu.1075 <[email protected] >
Co-authored-by: 海狸大師 <[email protected] >
Co-authored-by: Xu Song <[email protected] >
Co-authored-by: rayshaw001 <[email protected] >
Co-authored-by: Ding Jiatong <[email protected] >
Co-authored-by: Bowen Liang <[email protected] >
Co-authored-by: JasonVV <[email protected] >
Co-authored-by: le0zh <[email protected] >
Co-authored-by: zhuxinliang <[email protected] >
Co-authored-by: k-zaku <[email protected] >
Co-authored-by: luckylhb90 <[email protected] >
Co-authored-by: hobo.l <[email protected] >
Co-authored-by: jiangbo721 <[email protected] >
Co-authored-by: 刘江波 <[email protected] >
Co-authored-by: Shun Miyazawa <[email protected] >
Co-authored-by: EricPan <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: sino <[email protected] >
Co-authored-by: Jhvcc <[email protected] >
Co-authored-by: lowell <[email protected] >
Co-authored-by: Boris Polonsky <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: IWAI, Masaharu <[email protected] >
Co-authored-by: Yueh-Po Peng (Yabi) <[email protected] >
Co-authored-by: Jason <[email protected] >
Co-authored-by: Xin Zhang <[email protected] >
Co-authored-by: yjc980121 <[email protected] >
Co-authored-by: heyszt <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Abdullah AlOsaimi <[email protected] >
Co-authored-by: Yingchun Lai <[email protected] >
Co-authored-by: Hash Brown <[email protected] >
Co-authored-by: zuodongxu <[email protected] >
Co-authored-by: Masashi Tomooka <[email protected] >
Co-authored-by: aplio <[email protected] >
Co-authored-by: Obada Khalili <[email protected] >
Co-authored-by: Nam Vu <[email protected] >
Co-authored-by: Kei YAMAZAKI <[email protected] >
Co-authored-by: TechnoHouse <[email protected] >
Co-authored-by: Riddhimaan-Senapati <[email protected] >
Co-authored-by: MaFee921 <[email protected] >
Co-authored-by: te-chan <[email protected] >
Co-authored-by: HQidea <[email protected] >
Co-authored-by: Joshbly <[email protected] >
Co-authored-by: xhe <[email protected] >
Co-authored-by: weiwenyan-dev <[email protected] >
Co-authored-by: ex_wenyan.wei <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: engchina <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 呆萌闷油瓶 <[email protected] >
Co-authored-by: Kemal <[email protected] >
Co-authored-by: Lazy_Frog <[email protected] >
Co-authored-by: Yi Xiao <[email protected] >
Co-authored-by: Steven sun <[email protected] >
Co-authored-by: steven <[email protected] >
Co-authored-by: Kalo Chin <[email protected] >
Co-authored-by: Katy Tao <[email protected] >
Co-authored-by: depy <[email protected] >
Co-authored-by: 胡春东 <[email protected] >
Co-authored-by: Junjie.M <[email protected] >
Co-authored-by: MuYu <[email protected] >
Co-authored-by: Naoki Takashima <[email protected] >
Co-authored-by: Summer-Gu <[email protected] >
Co-authored-by: Fei He <[email protected] >
Co-authored-by: ybalbert001 <[email protected] >
Co-authored-by: Yuanbo Li <[email protected] >
Co-authored-by: douxc <[email protected] >
Co-authored-by: liuzhenghua <[email protected] >
Co-authored-by: Wu Jiayang <[email protected] >
Co-authored-by: Your Name <[email protected] >
Co-authored-by: kimjion <[email protected] >
Co-authored-by: AugNSo <[email protected] >
Co-authored-by: llinvokerl <[email protected] >
Co-authored-by: liusurong.lsr <[email protected] >
Co-authored-by: Vasu Negi <[email protected] >
Co-authored-by: Hundredwz <[email protected] >
Co-authored-by: Xiyuan Chen <[email protected] >
2025-02-17 17:05:13 +08:00
Novice and GitHub
f0b9257387
fix: error in obtaining end_to_node_id during conditional parallel execution ( #13673 )
2025-02-13 18:00:28 +08:00
c00e7d3f65
fix: retry log running error ( #13472 )
...
Co-authored-by: Novice Lee <[email protected] >
2025-02-11 15:48:55 +08:00
b7c11c1818
Fix the problem of Workflow terminates after parallel tasks execution, merge node not triggered ( #12498 )
...
Co-authored-by: Novice Lee <[email protected] >
2025-02-07 13:56:08 +08:00
-LAN- and GitHub
26b5680913
fix: improve merge branch node ID checks in graph engine ( #12128 )
...
Signed-off-by: -LAN- <[email protected] >
2024-12-26 23:33:45 +08:00
yihong and GitHub
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
yihong and GitHub
6a0ff3686c
fix: fix typo ( #12034 )
...
Signed-off-by: yihong0618 <[email protected] >
2024-12-24 15:23:27 +08:00
c1aa55f3ea
fix: remove the unused retry index field ( #11903 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: -LAN- <[email protected] >
2024-12-23 14:32:11 +08:00
dacd457478
feat: add workflow parallel depth limit configuration ( #11460 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: zxhlyh <[email protected] >
2024-12-20 14:52:20 +08:00
7abc7fa573
Feat: Retry on node execution errors ( #11871 )
...
Co-authored-by: Novice Lee <[email protected] >
2024-12-20 14:14:06 +08:00
Kazuhisa Wada and GitHub
63f1dd7877
Make max_submit_count configurable via Config ( #11673 )
2024-12-16 12:59:37 +08:00
79a710ce98
Feat: continue on error ( #11458 )
...
Co-authored-by: Novice Lee <[email protected] >
Co-authored-by: Novice Lee <[email protected] >
2024-12-11 14:22:42 +08:00
-LAN- and GitHub
537068cfde
refactor(iteration_node): use Sequence and Mapping in parameters ( #11483 )
...
Signed-off-by: -LAN- <[email protected] >
2024-12-09 15:41:20 +08:00
e135ffc2c1
Feat: upgrade variable assigner ( #11285 )
...
Signed-off-by: -LAN- <[email protected] >
Co-authored-by: -LAN- <[email protected] >
2024-12-03 13:56:40 +08:00
-LAN- and GitHub
9789905a1f
chore(*): Removes debugging print statements ( #11145 )
...
Signed-off-by: -LAN- <[email protected] >
2024-11-26 22:03:19 +08:00
Bowen Liang and GitHub
6c8e208ef3
chore: bump minimum supported Python version to 3.11 ( #10386 )
2024-11-24 13:28:46 +08:00
Bowen Liang and GitHub
51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message ( #10425 )
2024-11-15 15:41:40 +08:00
Novice and GitHub
f414d241c1
Feat/iteration single run time ( #10512 )
2024-11-11 14:47:52 +08:00
Novice and GitHub
d1505b15c4
feat: Iteration node support parallel mode ( #9493 )
2024-11-05 10:32:49 +08:00
-LAN- and GitHub
72ea3d6b98
fix(workflow): Take back LLM streaming output after IF-ELSE ( #9875 )
2024-10-25 22:33:34 +08:00
-LAN- and GitHub
e61752bd3a
feat/enhance the multi-modal support ( #8818 )
2024-10-21 10:43:49 +08:00
takatost and GitHub
e0a3307563
fix(workflow): "Max submit count reached" error occurred when executing workflow as tool in iteration ( #8595 )
2024-09-20 19:47:25 +08:00
takatost and GitHub
ffd2f61dd9
fix: thread_pool submit count in parallel workflow not releasing ( #8549 )
2024-09-19 15:34:56 +08:00
takatost and GitHub
88c9834ef2
chore(workflow): Optimize the iteration when selecting a variable from a branch in the output variable causes iteration index err ( #8440 )
2024-09-14 18:02:43 +08:00
Bowen Liang and GitHub
a1104ab97e
chore: refurish python code by applying Pylint linter rules ( #8322 )
2024-09-13 22:42:08 +08:00
takatost and GitHub
cd3eaed335
fix(workflow): both parallel and single branch errors occur in if-else ( #8378 )
2024-09-13 19:55:54 +08:00
Bowen Liang and GitHub
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00