Asuka Minato
9bc8bb6e91
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
Will
9ed729595f
fix: improved conversation name ( #22840 )
2025-07-24 11:28:05 +08:00
Asuka Minato
8b2d7fc78e
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-
1be9acd738
feat: decouple WorkflowAppRunner from AppRunner ( #21739 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-07-23 14:56:06 +08:00
qfl
4ed8876348
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
Aryan Raj
849f75d2c6
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
-LAN-
30dcae62c0
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-
2ad05e003c
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
Maries
ed2a4c40e2
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
jiangbo721
050b54b137
chore: remove unused code ( #22501 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-17 09:33:31 +08:00
yihong
f5afd34990
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-07-17 09:33:07 +08:00
QuantumGhost
a92b9971a4
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-
417e538311
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
NeatGuyCoding
e9b5342fe0
moving the MessageStatus class from the models.model module to models.enums module ( #21867 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com >
2025-07-03 13:56:23 +08:00
jiangbo721
6367e97fdc
chore: add message status enum ( #21825 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-02 21:22:28 +08:00
QuantumGhost
702142fde6
fix(api): files not returned in the answer node ( #21807 )
2025-07-02 13:54:10 +08:00
QuantumGhost
cd0ca0585f
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
134f664c30
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
Qiang Lee
9cdc335210
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
4101edd068
chore: Simplify code logic ( #21496 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-06-26 10:09:52 +08:00
QuantumGhost
4e7ba9c0b6
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
湛露先生
0ef751bbcc
add func args missing in apps chat. ( #21085 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2025-06-18 20:42:33 +08:00
湛露先生
de0d927885
clean duplicate validate for dataset_configs ( #20775 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com >
2025-06-18 14:34:58 +08:00
-LAN-
91a00c1fb1
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-17 16:31:29 +08:00
Takuya Ono
91956a60bc
🐛 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
-LAN-
f2d4916ad6
refactor: Removes unused LLMMode value_of method ( #20575 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-03 16:36:10 +08:00
-LAN-
34eb5d4f72
Refactor/message cycle manage and knowledge retrieval ( #20460 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 14:36:44 +08:00
-LAN-
22ac77b430
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-
699569de48
refactor(workflow): Rename workflow node execution models ( #20458 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:56:37 +08:00
-LAN-
b7823f5485
refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey ( #20457 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:47:56 +08:00
-LAN-
03db78adc6
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:34:13 +08:00
Novice
8e8c6dd75e
chore: remove agent turn limits ( #19930 )
2025-05-29 09:51:56 +08:00
-LAN-
03bd887488
fix: Instance <Account> is not bound to a Session ( #20347 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-28 16:36:08 +08:00
-LAN-
f83c429473
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-
526441d63f
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
非法操作
277408ea51
fix: not save workflow_run_id of chatflow message ( #20257 )
2025-05-27 10:43:22 +08:00
-LAN-
fe2214c8ee
feat: Split WorkflowCycleManager ( #20071 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-22 09:49:25 +08:00
-LAN-
eb81971a95
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
Panpan
840b69469a
feat: support chatflow start node custom input field hidden ( #19678 )
2025-05-21 13:52:21 +08:00
-LAN-
9073106299
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-
e85ddde41c
refactor: Remove RepositoryFactory ( #19176 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-06 21:14:51 +08:00
QuantumGhost
a1ffe78fc7
feat(api): Add image multimodal support for LLMNode ( #17372 )
...
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.
This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.
To integrate file outputs into workflows, adjustments to the frontend code
are necessary.
For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.
Close #15814 .
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-04-30 17:28:02 +08:00
Kevin9703
c0bf6d03e0
fix(workflow_cycle_manage): failed nodes were not updated in workflow_node_executions ( #18994 )
2025-04-29 10:31:08 +08:00
-LAN-
636c26d18b
refactor: Refactors repository imports structure ( #18901 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-27 17:29:03 +08:00
-LAN-
0bf04ad36f
refactor: Apply DI to WorkflowNodeExecutionRepository. ( #18794 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-25 18:05:36 +08:00
just2gooo
35edf8340e
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
e650bc4d28
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-
52a01315c4
feat: add a abstract layer for WorkflowNodeExcetion ( #18026 )
2025-04-17 12:48:52 +09:00
Yeuoly
7f47f9bdc5
feat: fetch app info in plugins ( #18202 )
2025-04-16 20:27:29 +08:00
Arcaner
377992af1e
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