Yongtao Huang
2ac7a9c8fc
Chore: thanks to bump-pydantic ( #25437 )
2025-09-09 20:07:17 +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
Asuka Minato
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-06 03:32:23 +08:00
taewoong Kim
edf4a1b652
feat: add reasoning format processing to LLMNode for <think> tag handling ( #23313 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 18:15:35 +08:00
coolfinish
cd95237ae4
fix: loop node doesn't exit when it react the condition #24717 ( #24844 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-05 14:38:52 +08:00
Yongtao Huang
ac057a2d40
Chore: remove dead code in class Graph ( #22791 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-09-04 10:30:04 +08:00
-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-03 11:52:26 +08:00
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
-LAN-
a32dde5428
Fix: Resolve workflow_node_execution primary key conflicts with UUID v7 ( #24643 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 14:18:29 +08:00
Yongtao Huang
be3af1e234
Migrate SQLAlchemy from 1.x to 2.0 with automated and manual adjustments ( #23224 )
...
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>
2025-09-02 10:30:19 +08:00
Frederick2313072
5b3cc560d5
fix:hard-coded top-k fallback issue. ( #24879 )
2025-09-01 15:46:37 +08:00
willzhao
ffba341258
[CHORE]: remove redundant-cast ( #24807 )
2025-09-01 14:05:32 +08:00
Yongtao Huang
72acd9b483
Remove redundant from_variable_selector null-check ( #24842 )
2025-08-31 17:00:13 +08:00
Will
c4496e6cf2
chore: use DataFrame.map instead of deprecated DataFrame.applymap ( #24726 )
2025-08-28 21:13:47 +08:00
湛露先生
5c01dd97e8
clean typos words. ( #24667 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-28 15:23:59 +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
-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
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
jiangbo721
1d776c4cd0
feat: If combining text and files, place the text prompt after the fi… ( #24472 )
2025-08-25 17:51:46 +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
-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
-LAN-
da9af7b547
[Chore/Refactor] Use centralized naive_utc_now for UTC datetime operations ( #24352 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-22 23:53:05 +08:00
AuditAIH
2a43e634e8
Update knowledge_retrieval_node.py ( #24111 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 16:43:59 +08:00
Asuka Minato
c5614d04d2
an example of sessionmaker ( #24246 )
2025-08-22 10:17:50 +08:00
Yongtao Huang
106ab7f2a8
Fix: safe defaults for BaseModel dict fields ( #24098 )
...
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>
2025-08-21 21:38:55 +08:00
Guangdong Liu
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
Amy
738aaee101
fix(api):Fix the issue of empty and not empty operations failing in k… ( #24276 )
...
Co-authored-by: liumin <min.liu@tongdun.net>
2025-08-21 14:43:08 +08:00
baonudesifeizhai
ea066f891f
fix: loop exit condition accepts variables from nodes inside the loop #24183 : ( #24257 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-21 10:19:22 +08:00
kurokobo
c69634085d
Revert "Fix: Correct file variable handling for custom tools in workflow ( #24061 )
2025-08-17 23:14:37 +08:00
Yongtao Huang
f40e2cf98a
Fix: remove redundant allowed_keys check in jsonable_encoder ( #23931 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
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>
2025-08-14 19:52:07 +08:00
crazywoola
acba135de1
Revert "feat: support to upload files for visual model call when running LLM node for debugging in a single step" ( #23922 )
2025-08-14 15:52:19 +08:00
Guangdong Liu
9e29309ffd
fix: ensure custom headers are ignored when using bearer or basic authorization ( #23584 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 10:18:12 +08:00
Guangdong Liu
d4756ba659
Fix multipart/form-data boundary issue in HTTP Call node ( #23903 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:01:27 +08:00
goofy
4da6ec787e
feat: support to upload files for visual model call when running LLM node for debugging in a single step ( #23521 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-13 14:07:13 +08:00
xinlmain
b3399642c5
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com>
2025-08-13 02:28:06 +08:00
-LAN-
577062b93a
refactor: simplify variable pool key structure and improve type safety ( #23732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-11 18:10:04 +08:00
Guangdong Liu
79a3c1618f
fix: support custom file types in workflow Start node ( #23672 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-10 11:09:47 +08:00
ghmark675
ad61b42494
fix(node): fix unexpected extra equals sign in HTTP params ( #23474 )
2025-08-07 09:04:09 +08:00
liujin-patsnap
bc18d4d1b9
Fix: Correct file variable handling for custom tools in workflow ( #18427 )
2025-08-02 03:36:04 +08:00
baonudesifeizhai
872ff3f1d4
fix: resolve multipart/form-data boundary issue in HTTP Request compo nent #22880 ( #23008 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-01 10:26:50 +08:00
Yongtao Huang
a434f6240f
Chroe: some misc cleanup ( #23203 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-31 15:33:39 +08:00
kenwoodjw
28478cdc41
feat: support metadata condition filter string array ( #23111 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-30 16:13:45 +08:00
znn
0b44edaca9
request fail when no api key ( #23135 )
2025-07-30 10:36:03 +08:00
NeatGuyCoding
63b6026e6e
minor fix: fix error messages ( #23081 )
2025-07-29 10:59:43 +08:00
呆萌闷油瓶
f72c03a174
feat: Support selecting variables in conditional filtering in list operations. ( #23029 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-28 13:59:34 +08:00
Yongtao Huang
5411fd3757
Fix: correct misplaced `ensure_ascii=False` ( #22997 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-07-26 18:29:03 +08:00
Yongtao Huang
faaf828dff
Remove redundant condition check ( #22983 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-07-25 23:38:16 +08:00
Yongtao Huang
31985d94fa
Fix incorrect assert type in the AgentNode class ( #22964 )
2025-07-25 16:31:21 +08:00
little_huang
32df3b68c7
fix: correct typo in function name paser_docx_part -> parser_docx_part ( #22936 )
2025-07-25 10:33:55 +08:00
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
Yeuoly
206bc4b36d
chore: enhance error message when handling PluginInvokeError ( #22908 )
2025-07-24 21:58:39 +08:00
Yeuoly
9237976988
fix: refine handling of constant and mixed input types in ToolManager and ToolNodeData ( #22903 )
2025-07-24 16:14:08 +08:00
呆萌闷油瓶
371fe7a700
fix: type error in list-operator ( #22803 )
2025-07-24 12:21:20 +08:00
jiangbo721
5a02e599e1
chore: code format model-selector use enum ( #22787 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-24 10:11:24 +08:00
Asuka Minato
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 00:57:45 +08:00
crazywoola
60c37fe492
Added a check to ensure the input `text` is a string before proceeding with parsing ( #22809 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-07-23 13:53:27 +08:00
呆萌闷油瓶
5c7f0a533a
fix : #22784 ( #22795 )
2025-07-22 22:28:45 +08:00
Will
095bae01b2
fix: Invalid expected metadata value type error ( #22793 )
2025-07-22 22:28:16 +08:00
qfl
841e53dbbe
feat(trace): support external trace id propagation ( #22623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-22 15:17:43 +08:00
Novice
e9c9c5d8f1
fix: single step node execution init error ( #22764 )
...
LGTM
2025-07-22 13:00:24 +08:00
jiangbo721
e9893f1518
chore: use 'json_list' instead of 'json' to prevent ambiguity ( #22739 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-22 02:40:40 +08:00
quicksand
d45e48eed7
fix: knowledge retrieval validation error ( #22682 )
2025-07-21 11:22:32 +08:00
Novice
17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version ( #22462 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com>
2025-07-21 09:28:47 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-18 10:08:51 +08:00
-LAN-
b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching ( #22597 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:05 +08:00
Kalo Chin
7a69b57823
Fix jinja2 variable naming inconsistencies ( #22578 )
2025-07-17 22:16:47 +08:00
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
quicksand
10e6b11ff6
fix: code node check decimal precision ( #22522 )
2025-07-17 13:21:17 +08:00
NeatGuyCoding
c3037c5491
minor code fix: remove duplicate type check branch ( #22536 )
2025-07-17 13:20:31 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
Chieh Wang
30aa052a57
feat: Add Citations and Attributions to Agent Node ( #18558 )
...
Co-authored-by: oneness0 <2902216407@qq.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-16 15:46:15 +08:00
QuantumGhost
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
湛露先生
9823edd3a2
fix workflow node iterator . ( #21008 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 10:55:49 +08:00
Jacky Wu
3e96c0c468
fix: close session before doing long latency operation ( #22306 )
2025-07-14 15:16:10 +08:00
Novice
0e793a660d
fix: add the default value to the dark icon ( #22149 )
2025-07-10 17:13:48 +08:00
Yeuoly
94a13d7d62
feat: add support for dark icons in provider and tool entities ( #22081 )
2025-07-10 14:43:31 +08:00
湛露先生
edf5fd28c9
update worklow events logs. ( #19871 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-07-10 14:21:34 +08:00
Novice
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00
baonudesifeizhai
18b58424ec
Fix: Resolve issue with json_output ( #22053 )
2025-07-10 13:34:06 +08:00
Davide Delbianco
816210d744
Expose LLM usage in workflows ( #21766 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-07-08 21:18:00 +08:00
NeatGuyCoding
2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType ( #22013 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-08 09:49:53 +08:00
-LAN-
8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine ( #21882 )
2025-07-07 13:15:18 +08:00
baonudesifeizhai
108cc3486f
fix(agent): show agent run steps, fixes #21718 ( #21945 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-07 09:59:47 +08:00
Ganondorf
c9c49200e0
use repair_json fix json parse error of HTTPRequestNode ( #21909 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-07-04 14:01:17 +08:00
Novice
f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node ( #21861 )
2025-07-03 14:40:47 +08:00
efrey kong
826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank ( #21803 )
2025-07-02 14:43:01 +08:00
QuantumGhost
89250a36b7
fix(api): files not returned in the answer node ( #21807 )
2025-07-02 13:54:10 +08:00
QuantumGhost
c2e599cd85
fix(api): Fix resetting sys var causing internal server error ( #21604 )
...
and sorts draft variables by their creation time, ensures a consist order.
2025-07-02 13:36:35 +08:00
jiangbo721
71d6cf1b1d
fix: Make the latency and logs of web applications consistent. ( #21578 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-02 12:04:33 +08:00
jiangbo721
9a4c1fe834
fix: if parameter is not required, continue ( #21761 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-01 21:25:45 +08:00
Han
69b6f6f5d2
Fixes issue 21157/20661 extra quote in agent node ( #21674 )
...
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
2025-07-01 10:43:46 +08:00
Yeuoly
0cb00d5fd2
refactor: move structured output support outside LLM Node ( #21565 )
...
Co-authored-by: Novice <novice12185727@gmail.com>
2025-06-27 14:55:31 +08:00
NeatGuyCoding
6bb82f8ee0
Fix minor comment missing ( #21517 )
2025-06-26 10:06:49 +08:00
QuantumGhost
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
501d3b6203
feat(api): Explicitly define version method for all BaseNode subclasses ( #21443 )
...
This PR addresses issue #21441 by implementing explicit `version` method definitions for all `BaseNode` subclasses to improve code maintainability.
### Changes
Added explicit `version` method definitions for all `BaseNode` subclasses:
- `QuestionClassifierNode`
- `KnowledgeRetrievalNode`
- `AgentNode`
Added comprehensive test suite to validate:
1. All subclasses of `BaseNode` have explicitly defined `version` method
2. All subclasses have required `_node_type` property
3. The `(node_type, node_version)` combination is unique across all subclasses
2025-06-24 20:27:22 +08:00
quicksand
45146edb31
fix(document_extractor): xlsx file column int type error ( #21408 )
2025-06-24 13:42:13 +08:00