Commit Graph

465 Commits (1605ab9f52f2a394969f59d4bdc9db323038d95c)

Author SHA1 Message Date
GuanMu 1605ab9f52
Merge a9f8329660 into bd43ca6275 10 months ago
Yeuoly 9237976988
fix: refine handling of constant and mixed input types in ToolManager and ToolNodeData (#22903) 10 months ago
呆萌闷油瓶 371fe7a700
fix: type error in list-operator (#22803) 10 months ago
jiangbo721 5a02e599e1
chore: code format model-selector use enum (#22787)
Co-authored-by: 刘江波 <jiangbo721@163.com>
10 months ago
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>
10 months ago
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>
10 months ago
呆萌闷油瓶 5c7f0a533a
fix: #22784 (#22795) 10 months ago
Will 095bae01b2
fix: Invalid expected metadata value type error (#22793) 10 months ago
qfl 841e53dbbe
feat(trace): support external trace id propagation (#22623)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
10 months ago
Novice e9c9c5d8f1
fix: single step node execution init error (#22764)
LGTM
10 months ago
GuanMu 838eda1384 fix : https://github.com/langgenius/dify/pull/20921#discussion_r2220751387 10 months ago
jiangbo721 e9893f1518
chore: use 'json_list' instead of 'json' to prevent ambiguity (#22739)
Co-authored-by: 刘江波 <jiangbo721@163.com>
10 months ago
GuanMu 868542dea8 Fix AnswerNode attribute access and update tests to include outputs 10 months ago
GuanMu 6d20b71e92 Merge upstream main and resolve conflicts in task pipeline and answer node tests 10 months ago
quicksand d45e48eed7
fix: knowledge retrieval validation error (#22682) 10 months ago
Novice 17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version (#22462)
Co-authored-by: JzoNg <jzongcode@gmail.com>
10 months ago
Aryan Raj ce794335e9
Fix/replace datetime patterns with naive utc now (#22654) 10 months ago
-LAN- 460a825ef1
refactor: decouple Node and NodeData (#22581)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
10 months ago
-LAN- b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597)
Signed-off-by: -LAN- <laipz8200@outlook.com>
10 months ago
Kalo Chin 7a69b57823
Fix jinja2 variable naming inconsistencies (#22578) 10 months ago
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
10 months ago
quicksand 10e6b11ff6
fix: code node check decimal precision (#22522) 10 months ago
NeatGuyCoding c3037c5491
minor code fix: remove duplicate type check branch (#22536) 10 months ago
yihong d2933c2bfe
fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
10 months ago
GuanMu 54520e1256 Fix: Update the type of answer_stream_variable_selectors_mapping to a list of GenerateRouteChunk and add the answer_end_dependencies field in AnswerStreamGenerateRoute to support mapping and dependency management of stream variable selectors. 10 months ago
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>
10 months ago
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.
10 months ago
GuanMu ea3a99efcd fix: Simplify the formatting of output variables, improve code readability; update test cases to verify the correctness of different output configurations. 10 months ago
GuanMu 81027f6077 Test:Add multiple test cases to verify the correctness of different output configurations, including complex outputs and handling of missing variables. 10 months ago
GuanMu 3b70c408f9 Merge upstream/main - resolved conflicts in answer_node.py
- Combined output variables functionality with upstream ArrayFileSegment changes
- Maintained both features: custom outputs and proper file handling
10 months ago
湛露先生 9823edd3a2
fix workflow node iterator . (#21008)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
10 months ago
Jacky Wu 3e96c0c468
fix: close session before doing long latency operation (#22306) 10 months ago
Novice 0e793a660d
fix: add the default value to the dark icon (#22149) 10 months ago
Yeuoly 94a13d7d62
feat: add support for dark icons in provider and tool entities (#22081) 10 months ago
湛露先生 edf5fd28c9
update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
10 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
10 months ago
baonudesifeizhai 18b58424ec
Fix: Resolve issue with json_output (#22053) 10 months ago
Davide Delbianco 816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
11 months ago
NeatGuyCoding 2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
-LAN- 8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882) 11 months ago
baonudesifeizhai 108cc3486f
fix(agent): show agent run steps, fixes #21718 (#21945)
Co-authored-by: crazywoola <427733928@qq.com>
11 months ago
Ganondorf c9c49200e0
use repair_json fix json parse error of HTTPRequestNode (#21909)
Co-authored-by: lizb <lizb@sugon.com>
11 months ago
Novice f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node (#21861) 11 months ago
efrey kong 826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank (#21803) 11 months ago
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 11 months ago
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.
11 months ago
jiangbo721 71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
11 months ago
jiangbo721 9a4c1fe834
fix: if parameter is not required, continue (#21761)
Co-authored-by: 刘江波 <jiangbo721@163.com>
11 months ago
Han 69b6f6f5d2
Fixes issue 21157/20661 extra quote in agent node (#21674)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
11 months ago
Yeuoly 0cb00d5fd2
refactor: move structured output support outside LLM Node (#21565)
Co-authored-by: Novice <novice12185727@gmail.com>
11 months ago