Commit Graph
204 Commits
Author SHA1 Message Date
cefb8e4218 chore: Simplify code logic (#21496)
Co-authored-by: 刘江波 <[email protected]>
2025-06-26 10:09:52 +08:00
QuantumGhostandGitHub 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
湛露先生andGitHub 8331b63baa add func args missing in apps chat. (#21085)
Signed-off-by: zhanluxianshen <[email protected]>
2025-06-18 20:42:33 +08:00
湛露先生andGitHub 6d033d4064 clean duplicate validate for dataset_configs (#20775)
Signed-off-by: zhanluxianshen <[email protected]>
2025-06-18 14:34:58 +08:00
-LAN-andGitHub 0dcacdf83d feat: add a flask_context_manager. (#21061)
Signed-off-by: -LAN- <[email protected]>
2025-06-17 16:31:29 +08:00
af83120832 🐛 Fix(Gemini LLM): Support Gemini 0.2.x plugin on agent app (#20794)
Co-authored-by: QuantumGhost <[email protected]>
2025-06-12 00:49:38 +08:00
-LAN-andGitHub 257bf13fef refactor: Removes unused LLMMode value_of method (#20575)
Signed-off-by: -LAN- <[email protected]>
2025-06-03 16:36:10 +08:00
-LAN-andGitHub a6ea15e63c Refactor/message cycle manage and knowledge retrieval (#20460)
Signed-off-by: -LAN- <[email protected]>
2025-05-30 14:36:44 +08:00
-LAN-andGitHub db488bef51 refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID (#20459)
Signed-off-by: -LAN- <[email protected]>
2025-05-30 11:05:08 +08:00
-LAN-andGitHub f7fb10635f refactor(workflow): Rename workflow node execution models (#20458)
Signed-off-by: -LAN- <[email protected]>
2025-05-30 04:56:37 +08:00
-LAN-andGitHub 32e779eef3 refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey (#20457)
Signed-off-by: -LAN- <[email protected]>
2025-05-30 04:47:56 +08:00
-LAN-andGitHub 482e50aae9 Refactor/remove db from cycle manager (#20455)
Signed-off-by: -LAN- <[email protected]>
2025-05-30 04:34:13 +08:00
NoviceandGitHub b2ab401279 chore: remove agent turn limits (#19930) 2025-05-29 09:51:56 +08:00
-LAN-andGitHub eaaf551497 fix: Instance <Account> is not bound to a Session (#20347)
Signed-off-by: -LAN- <[email protected]>
2025-05-28 16:36:08 +08:00
-LAN-andGitHub f233a64eb5 fix(workflow): fetch user failed when workflow run in parallel mode (#20321)
Signed-off-by: -LAN- <[email protected]>
2025-05-27 22:41:07 +08:00
-LAN-andGitHub b357eca307 fix: Copy request context and current user in app generators. (#20240)
Signed-off-by: -LAN- <[email protected]>
2025-05-27 10:56:23 +08:00
非法操作andGitHub acd4b9a8ac fix: not save workflow_run_id of chatflow message (#20257) 2025-05-27 10:43:22 +08:00
-LAN-andGitHub 6b3666f826 feat: Split WorkflowCycleManager (#20071)
Signed-off-by: -LAN- <[email protected]>
2025-05-22 09:49:25 +08:00
-LAN-andGitHub d31235ca13 feat: Introduce WorkflowExecution Domain Entity and Repository, Replace WorkflowRun Direct Usage, and Unify Stream Response Logic (#20067)
Signed-off-by: -LAN- <[email protected]>
2025-05-21 22:01:53 +08:00
PanpanandGitHub ef3569e667 feat: support chatflow start node custom input field hidden (#19678) 2025-05-21 13:52:21 +08:00
4977bb21ec feat(workflow): domain model for workflow node execution (#19430)
Signed-off-by: -LAN- <[email protected]>
Co-authored-by: Copilot <[email protected]>
2025-05-17 00:56:16 +08:00
-LAN-andGitHub f23cf98317 refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <[email protected]>
2025-05-06 21:14:51 +08:00
349c3cf7b8 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- <[email protected]>
Co-authored-by: -LAN- <[email protected]>
2025-04-30 17:28:02 +08:00
Kevin9703andGitHub 94cc0b7a12 fix(workflow_cycle_manage): failed nodes were not updated in workflow_node_executions (#18994) 2025-04-29 10:31:08 +08:00
-LAN-andGitHub d9aa2b155a refactor: Refactors repository imports structure (#18901)
Signed-off-by: -LAN- <[email protected]>
2025-04-27 17:29:03 +08:00
-LAN-andGitHub c104febf63 refactor: Apply DI to WorkflowNodeExecutionRepository. (#18794)
Signed-off-by: -LAN- <[email protected]>
2025-04-25 18:05:36 +08:00
5e2b3b34e5 issue: #17056 : Add a reason field to the message_replace event (#17195)
Co-authored-by: 聂政 <[email protected]>
2025-04-25 10:08:06 +08:00
d242e4b95b fix agentflow error if first variable is num (#18660)
Co-authored-by: lizb <[email protected]>
2025-04-24 11:55:29 +08:00
-LAN-andGitHub 6d9dd3109e feat: add a abstract layer for WorkflowNodeExcetion (#18026) 2025-04-17 12:48:52 +09:00
YeuolyandGitHub 358fd28c28 feat: fetch app info in plugins (#18202) 2025-04-16 20:27:29 +08:00
cac0d3c33e fix: implement robust file type checks to align with existing logic (#17557)
Co-authored-by: Bowen Liang <[email protected]>
2025-04-16 19:21:50 +08:00
kenwoodjwandGitHub 53efb2bad5 fix chat message type error (#17997)
Signed-off-by: kenwoodjw <[email protected]>
2025-04-14 16:05:46 +08:00
Good WoodandGitHub cc08451eb8 fix: fix file number limit error (#17848) 2025-04-11 15:26:26 +08:00
d3157b46ee feat(large_language_model): Adds plugin-based token counting configuration option (#17706)
Signed-off-by: -LAN- <[email protected]>
Co-authored-by: Yeuoly <[email protected]>
2025-04-09 20:52:58 +08:00
非法操作andGitHub 44f911a0a8 chore: docstring not match the function parameter (#17162) 2025-03-31 13:19:15 +08:00
a1aa325ce3 Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id (#17075)
Co-authored-by: 刘江波 <[email protected]>
2025-03-29 14:15:53 +08:00
5d77730c78 feat(api): optimize conversation name generation logic in message app (#16917)
Co-authored-by: yuanlong <[email protected]>
Co-authored-by: crazywoola <[email protected]>
2025-03-27 15:18:45 +08:00
Yingchun LaiandGitHub d7e00ae691 feat: Skip Redis operations if RateLimit is disabled (#12226) 2025-03-21 19:55:27 +08:00
97eadb867c chore: use ConversationService.get_conversation instead of AgentChatA… (#16136)
Co-authored-by: 刘江波 <[email protected]>
2025-03-19 11:16:23 +08:00
e428628fcc enhance: avoid to use transaction Redis commands in rate limiter (#15917)
Co-authored-by: crazywoola <[email protected]>
2025-03-19 10:51:38 +08:00
JyongandGitHub abeaea4f79 Support knowledge metadata filter (#15982) 2025-03-18 16:42:19 +08:00
kurokoboandGitHub 86d3fff666 fix: respect resolution settings for vision for basic chatbot, text generator, and parameter extractor node (#16041) 2025-03-18 14:37:07 +08:00
Bowen LiangandGitHub 9e782d4c1e chore: bump ruff to 0.11.0 and fix linting violations (#15953) 2025-03-17 16:13:11 +08:00
-LAN-andGitHub 49c952a631 fix: streamline file upload configuration handling in manager.py (#15714)
Signed-off-by: -LAN- <[email protected]>
2025-03-13 16:32:49 +08:00
Fei HeandGitHub 36ae0e5476 fix: set score_threshold only when score_threshold_enabled is true. (#14221) 2025-03-12 20:55:57 +08:00
NoviceandGitHub 778861f461 fix: agent node can't use in parallel (#15047) 2025-03-06 13:13:24 +08:00
2c17bb2c36 Feature/newnew workflow loop node (#14863)
Co-authored-by: arkunzz <[email protected]>
2025-03-05 17:41:15 +08:00
QunandGitHub f0fb38fed4 unify moderation and annotation's response behavior in message log of chatflow app with other types of app (#14800) 2025-03-04 09:09:32 +08:00
YeuolyandGitHub 490b6d092e Fix/plugin race condition (#14253) 2025-02-25 12:20:47 +08:00
3f34b8b0d1 fix: remove duplicated code (#14047)
Co-authored-by: 刘江波 <[email protected]>
2025-02-19 22:03:24 +08:00