Commit Graph

451 Commits (d50bdc1d70c73a32707d96f7f38cce4eea8bdb3e)

Author SHA1 Message Date
QuantumGhost 3af1a6d8c4 refactor(api): rename ExecutionDecisionHook to CommandSource
Use structured types for commands.
8 months ago
QuantumGhost 5de663d52a test(api): fix broken tests 8 months ago
QuantumGhost ff7f1c1f17 refactor(api): Rename `continuation_node_id` to `next_node_id`
in `WorkflowSuspension`.

This aligns with the naming convension of the codebase.
8 months ago
QuantumGhost b804f7179f docs(api): Update docs for `generate_string` and `BaseNode` 8 months ago
QuantumGhost e0343febde feat(api): support the suspension of graph engine
Add a simple test case
8 months ago
QuantumGhost f900a92ee7 refactor(api): Simplify the constructor of `GraphEngine`
Move most contextual arguments into `GraphInitParams`.
8 months ago
QuantumGhost d99ad77837 feat(api): tracking execution time in GraphRuntimeState
use wall clock for time measurement (As the execution may be continued on another node)
8 months ago
QuantumGhost 55c2c4a6b6 feat(api): track routing information in RouteNodeState 8 months ago
QuantumGhost 9d6774c87b feat(api): introduce SUSPENDED status for workflow, add correspond events. 8 months ago
QuantumGhost 5177458999 feat(api): move `max_execution_steps` and `max_execution_time` to GraphInitParams. 8 months ago
QuantumGhost 838630c39e feat(api): Add model for workflow suspension 8 months ago
quicksand d45e48eed7
fix: knowledge retrieval validation error (#22682) 8 months ago
Novice 17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version (#22462)
Co-authored-by: JzoNg <jzongcode@gmail.com>
8 months ago
Aryan Raj ce794335e9
Fix/replace datetime patterns with naive utc now (#22654) 8 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>
8 months ago
-LAN- b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597)
Signed-off-by: -LAN- <laipz8200@outlook.com>
8 months ago
Kalo Chin 7a69b57823
Fix jinja2 variable naming inconsistencies (#22578) 8 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>
8 months ago
quicksand 10e6b11ff6
fix: code node check decimal precision (#22522) 9 months ago
NeatGuyCoding c3037c5491
minor code fix: remove duplicate type check branch (#22536) 9 months ago
yihong d2933c2bfe
fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
9 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>
9 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.
9 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>
9 months ago
Jacky Wu 3e96c0c468
fix: close session before doing long latency operation (#22306) 9 months ago
Novice 0e793a660d
fix: add the default value to the dark icon (#22149) 9 months ago
Yeuoly 94a13d7d62
feat: add support for dark icons in provider and tool entities (#22081) 9 months ago
湛露先生 edf5fd28c9
update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
9 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
9 months ago
baonudesifeizhai 18b58424ec
Fix: Resolve issue with json_output (#22053) 9 months ago
Davide Delbianco 816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
9 months ago
NeatGuyCoding 2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
9 months ago
-LAN- 8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882) 9 months ago
baonudesifeizhai 108cc3486f
fix(agent): show agent run steps, fixes #21718 (#21945)
Co-authored-by: crazywoola <427733928@qq.com>
9 months ago
Ganondorf c9c49200e0
use repair_json fix json parse error of HTTPRequestNode (#21909)
Co-authored-by: lizb <lizb@sugon.com>
9 months ago
Novice f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node (#21861) 9 months ago
efrey kong 826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank (#21803) 9 months ago
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 9 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.
9 months ago
jiangbo721 71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
jiangbo721 9a4c1fe834
fix: if parameter is not required, continue (#21761)
Co-authored-by: 刘江波 <jiangbo721@163.com>
9 months ago
Han 69b6f6f5d2
Fixes issue 21157/20661 extra quote in agent node (#21674)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
9 months ago
Yeuoly 0cb00d5fd2
refactor: move structured output support outside LLM Node (#21565)
Co-authored-by: Novice <novice12185727@gmail.com>
9 months ago
NeatGuyCoding 6bb82f8ee0
Fix minor comment missing (#21517) 9 months ago
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.
9 months ago
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
9 months ago
quicksand 45146edb31
fix(document_extractor): xlsx file column int type error (#21408) 9 months ago
QuantumGhost 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.
9 months ago
QuantumGhost 3f9ced5374
Revert "feat:conversation variable support file array" (#21273) 9 months ago
ZalterCitty 6325129761
fix wrongly remove reset nodes (#20880)
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
9 months ago