-LAN-
332e8e68ee
refactor: Change _queue_manager to public attribute queue_manager in task pipelines ( #23747 )
2025-08-11 18:18:07 +08:00
twwu
fc779d00df
Merge branch 'main' into feat/rag-2
2025-08-11 11:15:58 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
jyong
6d00ffa509
add old auth transform
2025-07-29 11:18:06 +08:00
zxhlyh
a95cf6f8b0
merge main
2025-07-28 16:00:38 +08:00
jyong
f4dd22b9cb
r2 transform
2025-07-25 15:17:03 +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
bae2af0c85
Merge branch main into feat/rag-2
2025-07-24 17:40:04 +08:00
Will
a327d024e9
fix: improved conversation name ( #22840 )
2025-07-24 11:28:05 +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
-LAN-
6b544aa0b9
feat: decouple WorkflowAppRunner from AppRunner ( #21739 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-23 14:56:06 +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
zxhlyh
4d36e784b7
merge main
2025-07-21 17:45:26 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
jyong
dc359c6442
r2 transform
2025-07-18 19:04:46 +08:00
Harry
f325662141
feat: refactor DatasourceNode and KnowledgeIndexNode to use _node_data attribute
2025-07-18 14:25:11 +08:00
twwu
5b2c99e183
Merge branch 'main' into feat/rag-2
2025-07-18 14:03:48 +08:00
-LAN-
1f9cd99bc2
refactor: elegant event dispatch patterns (92% complexity reduction) ( #22600 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-18 10:34:47 +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
jiangbo721
fb5c6dd644
chore: remove unused code ( #22501 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-17 09:33:31 +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
-LAN-
6eb155ae69
feat(api/repo): Allow to config repository implementation ( #21458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-14 14:54:38 +08:00
jyong
8b97551f1a
r2
2025-07-09 18:50:13 +08:00
jyong
bd33b9ffec
r2
2025-07-09 17:34:42 +08:00
jyong
b538eee5dd
r2
2025-07-09 17:28:52 +08:00
jyong
b5e4ce6c68
r2
2025-07-09 14:27:49 +08:00
jyong
db886ae3fb
r2
2025-07-08 14:04:44 +08:00
jyong
44c2efcfe4
r2
2025-07-03 18:56:42 +08:00
jyong
832bef053f
Merge branch 'main' into feat/r2
...
# Conflicts:
# docker/docker-compose.middleware.yaml
# web/app/components/workflow-app/components/workflow-main.tsx
# web/app/components/workflow-app/hooks/index.ts
# web/app/components/workflow/hooks-store/store.ts
# web/app/components/workflow/hooks/index.ts
# web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx
2025-07-02 18:20:05 +08:00
jyong
81b07dc3be
r2
2025-07-02 18:15:23 +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
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
Qiang Lee
cf2173644e
Release db.session connection before workflow new thread long time operation ( #21726 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
2025-07-01 12:05:29 +08:00
jiangbo721
cefb8e4218
chore: Simplify code logic ( #21496 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-06-26 10:09:52 +08:00
jyong
efccbe4039
r2
2025-06-25 17:32:26 +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
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
Dongyu Li
b12a8eeb90
feat(datasource): change datasource result type to event-stream
2025-06-20 10:09:47 +08:00
jyong
725fc72c6f
Merge branch 'feat/r2' into deploy/rag-dev
2025-06-19 15:31:03 +08:00
jyong
b618f3bd9e
r2
2025-06-19 15:30:46 +08:00
jyong
9620d6bcd8
Merge branch 'feat/r2' into deploy/rag-dev
...
# Conflicts:
# web/i18n/zh-Hans/app.ts
2025-06-19 13:32:49 +08:00
jyong
f7fbded8b9
Merge branch 'main' into feat/r2
2025-06-19 13:32:07 +08:00
jyong
cc2cd85ff5
Merge branch 'feat/r2' into deploy/rag-dev
2025-06-19 10:46:15 +08:00
jyong
6ec742539a
r2
2025-06-19 10:45:59 +08:00
湛露先生
8331b63baa
add func args missing in apps chat. ( #21085 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-06-18 20:42:33 +08:00
Dongyu Li
2cf980026e
feat(datasource): change datasource result type to event-stream
2025-06-18 16:04:47 +08:00
Dongyu Li
224111081b
feat(datasource): change datasource result type to event-stream
2025-06-18 16:04:40 +08:00
jyong
ac917bb56d
r2
2025-06-18 11:05:52 +08:00
jyong
f7a4e5d1a6
Merge branch 'main' into feat/r2
2025-06-18 10:57:44 +08:00
jyong
7f7ea92a45
r2
2025-06-17 19:06:17 +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
b277acc298
Merge branch 'main' into feat/r2
2025-06-16 14:08:02 +08:00
Takuya Ono
af83120832
🐛 Fix(Gemini LLM): Support Gemini 0.2.x plugin on agent app ( #20794 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-06-12 00:49:38 +08:00
jyong
66fa68fa18
r2
2025-06-11 16:36:36 +08:00
jyong
9e84a5321d
r2
2025-06-05 14:55:09 +08:00
jyong
8a86a2c817
r2
2025-06-05 14:09:50 +08:00
jyong
abcca11479
r2
2025-06-03 19:10:40 +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
jyong
ab1730bbaa
r2
2025-06-03 16:51:21 +08:00
jyong
b8f3b23b1a
r2
2025-06-03 15:51:31 +08:00
-LAN-
a6ea15e63c
Refactor/message cycle manage and knowledge retrieval ( #20460 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 14:36:44 +08:00
-LAN-
db488bef51
refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID ( #20459 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 11:05:08 +08:00
-LAN-
f7fb10635f
refactor(workflow): Rename workflow node execution models ( #20458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 04:56:37 +08:00
-LAN-
32e779eef3
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey ( #20457 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 04:47:56 +08:00
-LAN-
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 04:34:13 +08:00
jyong
cb5cfb2dae
r2
2025-05-30 00:03:43 +08:00
jyong
e7c48c0b69
r2
2025-05-29 23:04:04 +08:00
jyong
a025db137d
Merge branch 'main' into feat/r2
2025-05-29 09:54:28 +08:00
jyong
7f59ffe7af
r2
2025-05-28 17:56:04 +08:00
-LAN-
f233a64eb5
fix(workflow): fetch user failed when workflow run in parallel mode ( #20321 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-27 22:41:07 +08:00
-LAN-
b357eca307
fix: Copy request context and current user in app generators. ( #20240 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-27 10:56:23 +08:00
非法操作
acd4b9a8ac
fix: not save workflow_run_id of chatflow message ( #20257 )
2025-05-27 10:43:22 +08:00
Yeuoly
83ca7f8deb
feat: add datasource support to PluginDeclaration and PluginCategory
2025-05-26 17:32:25 +08:00
jyong
678d6ffe2b
r2
2025-05-26 17:00:16 +08:00
jyong
ef0e41de07
r2
2025-05-26 16:02:11 +08:00
jyong
35be8721b9
Merge branch 'main' into feat/r2
2025-05-26 14:50:33 +08:00
jyong
665ffbdc10
r2
2025-05-26 14:49:59 +08:00
jyong
6d547447d3
r2
2025-05-23 19:30:48 +08:00
jyong
64d997fdb0
r2
2025-05-23 15:55:41 +08:00
jyong
b82b26bba5
r2
2025-05-23 00:05:57 +08:00
-LAN-
6b3666f826
feat: Split WorkflowCycleManager ( #20071 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-22 09:49:25 +08:00
-LAN-
d31235ca13
feat: Introduce WorkflowExecution Domain Entity and Repository, Replace WorkflowRun Direct Usage, and Unify Stream Response Logic ( #20067 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-21 22:01:53 +08:00
-LAN-
4977bb21ec
feat(workflow): domain model for workflow node execution ( #19430 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-17 00:56:16 +08:00
-LAN-
f23cf98317
refactor: Remove RepositoryFactory ( #19176 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-06 21:14:51 +08:00
-LAN-
d9aa2b155a
refactor: Refactors repository imports structure ( #18901 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-27 17:29:03 +08:00
-LAN-
c104febf63
refactor: Apply DI to WorkflowNodeExecutionRepository. ( #18794 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-25 18:05:36 +08:00
just2gooo
5e2b3b34e5
issue: #17056 : Add a reason field to the message_replace event ( #17195 )
...
Co-authored-by: 聂政 <niezheng@pjlab.org.cn>
2025-04-25 10:08:06 +08:00
Ganondorf
d242e4b95b
fix agentflow error if first variable is num ( #18660 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-04-24 11:55:29 +08:00
-LAN-
6d9dd3109e
feat: add a abstract layer for WorkflowNodeExcetion ( #18026 )
2025-04-17 12:48:52 +09:00
Arcaner
cac0d3c33e
fix: implement robust file type checks to align with existing logic ( #17557 )
...
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
2025-04-16 19:21:50 +08:00
kenwoodjw
53efb2bad5
fix chat message type error ( #17997 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-04-14 16:05:46 +08:00
-LAN-
d3157b46ee
feat(large_language_model): Adds plugin-based token counting configuration option ( #17706 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-04-09 20:52:58 +08:00
非法操作
44f911a0a8
chore: docstring not match the function parameter ( #17162 )
2025-03-31 13:19:15 +08:00
Alex
5d77730c78
feat(api): optimize conversation name generation logic in message app ( #16917 )
...
Co-authored-by: yuanlong <yuanlong@boco.com.cn>
Co-authored-by: crazywoola <427733928@qq.com>
2025-03-27 15:18:45 +08:00
jiangbo721
97eadb867c
chore: use ConversationService.get_conversation instead of AgentChatA… ( #16136 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-03-19 11:16:23 +08:00