jyong
d0dd728e6c
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# api/core/app/entities/queue_entities.py
# api/core/workflow/graph_engine/entities/event.py
2025-08-29 11:29:51 +08:00
jyong
1db04aa729
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
2025-08-28 18:12:49 +08:00
-LAN-
c396788128
chore(graph_engine): add final mark to classes
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 15:38:35 +08:00
湛露先生
5c01dd97e8
clean typos words. ( #24667 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-28 15:23:59 +08:00
-LAN-
e3a7b1f691
fix: type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 05:24:18 +08:00
-LAN-
8aab7f49c3
chore(graph_engine): Use `XXX | None` instead of `Optional[XXX]`
2025-08-28 05:09:33 +08:00
autofix-ci[bot]
1e12c1cbf2
[autofix.ci] apply automated fixes
2025-08-27 21:00:36 +00:00
-LAN-
affedd6ce4
chore(graph_engine): Use `XXX | None` instead of `Optional[XXX]`
2025-08-28 04:59:49 +08:00
-LAN-
ef21097774
refactor(graph_engine): Remove unnecessary check from SkipPropagator
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:45:26 +08:00
-LAN-
1d377fe994
refactor(graph_engine): Use _ to mark unused variable in BranchHandler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:44:45 +08:00
-LAN-
c82697f267
refactor(graph_engine): Remove `node_id` from SkipPropagator.skip_branch_paths
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:43:56 +08:00
-LAN-
98b25c0bbc
refactor(graph_engine): Convert attrs to private in error_handler
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:42:37 +08:00
-LAN-
1cd0792606
chore(graph_events): Improve type hints
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:41:48 +08:00
-LAN-
7cbf4093f4
chore(graph_engine): Use `TYPE | None` instead of `Optional`
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:30:50 +08:00
-LAN-
8129ca7c05
chore(graph_engine): Move error_strategy.py to protocols/
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 04:29:32 +08:00
-LAN-
65617f000d
feat(event_collector): Update to use ReadWriteLock
2025-08-28 03:26:42 +08:00
-LAN-
55085a9ca2
chore(graph_engine): add type hint for event_queue
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-28 02:38:56 +08:00
jyong
392514fa13
Merge branch 'feat/queue-based-graph-engine' into feat/rag-2
...
# Conflicts:
# api/commands.py
# api/core/app/apps/common/workflow_response_converter.py
# api/core/llm_generator/llm_generator.py
# api/core/plugin/entities/plugin.py
# api/core/plugin/impl/tool.py
# api/core/rag/index_processor/index_processor_base.py
# api/core/workflow/entities/workflow_execution.py
# api/core/workflow/entities/workflow_node_execution.py
# api/core/workflow/enums.py
# api/core/workflow/graph_engine/entities/graph.py
# api/core/workflow/graph_engine/graph_engine.py
# api/core/workflow/nodes/enums.py
# api/services/dataset_service.py
2025-08-27 16:05:59 +08:00
autofix-ci[bot]
48cbf4c78f
[autofix.ci] apply automated fixes
2025-08-27 15:33:30 +08:00
-LAN-
8c35663220
feat: queue-based graph engine
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-27 15:33:28 +08:00
twwu
85fd97e090
Merge branch 'main' into feat/rag-2
2025-08-25 15:30:18 +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
twwu
8c44151e6f
Merge branch 'main' into feat/rag-2
2025-08-22 17:40:34 +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
jyong
22b3933cc3
Merge branch 'main' into feat/rag-2
...
# Conflicts:
# api/core/workflow/entities/variable_pool.py
2025-08-12 11:13:04 +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
zxhlyh
a95cf6f8b0
merge main
2025-07-28 16:00:38 +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
twwu
5b2c99e183
Merge branch 'main' into feat/rag-2
2025-07-18 14:03:48 +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
zxhlyh
01566035e3
merge main
2025-07-17 16:48:43 +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
twwu
682b65034c
Merge branch 'main' into feat/rag-2
2025-07-14 11:17:42 +08:00
湛露先生
edf5fd28c9
update worklow events logs. ( #19871 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-07-10 14:21:34 +08:00
twwu
9e44f2b805
Merge branch 'main' into feat/rag-2
2025-07-09 15:54:57 +08:00
-LAN-
8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine ( #21882 )
2025-07-07 13:15:18 +08:00
jyong
e23d7e39ec
Merge branch 'feat/datasource' into feat/r2
...
# Conflicts:
# api/services/rag_pipeline/rag_pipeline.py
# web/app/components/workflow/constants.ts
# web/app/components/workflow/header/run-and-history.tsx
# web/app/components/workflow/hooks/use-nodes-interactions.ts
# web/app/components/workflow/hooks/use-workflow-interactions.ts
# web/app/components/workflow/hooks/use-workflow.ts
# web/app/components/workflow/index.tsx
# web/app/components/workflow/nodes/_base/components/panel-operator/panel-operator-popup.tsx
# web/app/components/workflow/nodes/_base/panel.tsx
# web/app/components/workflow/nodes/code/use-config.ts
# web/app/components/workflow/nodes/llm/default.ts
# web/app/components/workflow/panel/index.tsx
# web/app/components/workflow/panel/version-history-panel/index.tsx
# web/app/components/workflow/store/workflow/index.ts
# web/app/components/workflow/types.ts
# web/config/index.ts
# web/types/workflow.ts
2025-07-02 14:01:59 +08:00
jyong
540096a8d8
Merge branch 'main' into feat/r2
...
# Conflicts:
# api/core/plugin/impl/oauth.py
# api/core/workflow/entities/variable_pool.py
# api/models/workflow.py
# api/services/dataset_service.py
2025-06-25 14:35:23 +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
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
Dongyu Li
b77081a19e
feat(datasource): update datasource icon
2025-06-23 15:57:37 +08:00
jyong
f7fbded8b9
Merge branch 'main' into feat/r2
2025-06-19 13:32:07 +08:00
-LAN-
879f839d75
refactor(graph_engine): Merge duplicated if block ( #20784 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-06-18 14:33:29 +08:00
jyong
f7a4e5d1a6
Merge branch 'main' into feat/r2
2025-06-18 10:57:44 +08:00
Dongyu Li
739ebf2117
feat(datasource): change datasource result type to event-stream
2025-06-17 18:24:09 +08:00
-LAN-
0dcacdf83d
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-06-17 16:31:29 +08:00
Dongyu Li
c5976f5a09
feat(datasource): change datasource result type to event-stream
2025-06-17 13:51:41 +08:00
jyong
41fef8a21f
r2
2025-06-16 13:48:43 +08:00
jyong
9cdd2cbb27
r2
2025-06-03 19:02:57 +08:00
jyong
309fffd1e4
Merge branch 'main' into feat/r2
...
# Conflicts:
# api/core/repositories/sqlalchemy_workflow_node_execution_repository.py
# api/core/workflow/entities/node_entities.py
# api/core/workflow/enums.py
2025-06-03 18:56:49 +08:00