-LAN-
91a00c1fb1
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-17 16:31:29 +08:00
QuantumGhost
66042d8153
refactor(api): Decouple ParameterExtractorNode from LLMNode ( #20843 )
...
- Extract methods used by `ParameterExtractorNode` from `LLMNode` into a separate file.
- Convert `ParameterExtractorNode` into a subclass of `BaseNode`.
- Refactor code referencing the extracted methods to ensure functionality and clarity.
- Fixes the issue that `ParameterExtractorNode` returns error when executed.
- Fix relevant test cases.
Closes #20840 .
2025-06-10 11:47:50 +08:00
Bowen Liang
d83540ccbb
chore: replace pseudo-random generators with secrets module ( #20616 )
2025-06-06 10:48:28 +08:00
HaiyangP
30cd67fb11
A more concise and effective extractor for excel and csv files ( #20625 )
...
Co-authored-by: haiyangpengai <xxxx>
2025-06-05 14:59:55 +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
-LAN-
5d46ec5074
tests: Removes outdated marketplace download test ( #20454 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 01:57:55 +08:00
teawoong Kim
f1b0762e58
fix(http): force multipart/form-data even without files( #20322 ) ( #20323 )
2025-05-28 17:04:38 +08:00
Mio Inamijima
be5c709898
fix: dataset permission check for partial team members ( #19249 ) ( #20242 )
...
Co-authored-by: MioINAMIJIMA <m.inamijima@optimaize-consulting.com >
2025-05-27 14:33:11 +08:00
-LAN-
f3f43a9e10
feat: document extractor chardet encoding ( #20269 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-27 13:27:46 +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
Heyang Wang
88eb174795
fix: add 'floatfmt' when extract number from excel ( #20153 ) ( #20193 )
...
Co-authored-by: wangheyang <wangheyang@corp.netease.com >
Co-authored-by: crazywoola <427733928@qq.com >
2025-05-26 16:41:57 +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
QuantumGhost
75ae9ed166
Simplify execution_metadata Handling for WorkflowNodeExecution ( #20062 )
...
Currently, `WorkflowNodeExecution.execution_metadata_dict` returns `None` when metadata is absent in the database. This requires all callers to perform `None` checks when processing metadata, leading to more complex caller-side logic.
This pull request updates the `execution_metadata_dict` method to return an empty dictionary instead of `None` when metadata is absent. This change would simplify the caller logic, as it removes the need for explicit `None` checks and provides a more consistent data structure to work with.
2025-05-21 18:38:16 +08:00
-LAN-
8e48c5245a
refactor: Use typed SQLAlchemy base model and fix type errors ( #19980 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-21 15:38:03 +08:00
Zihe JI
6641fe24d9
fix: ensure Decimal values in metadata are JSON serializable ( fixes #19936 ) ( #19955 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-05-20 15:38:31 +08:00
QuantumGhost
26919e1026
feat(api): Introduce WorkflowDraftVariable Model ( #19737 )
...
- Introduce `WorkflowDraftVariable` model and the corresponding migration.
- Implement `EnumText`, a custom column type for SQLAlchemy designed
to work seamlessly with enumeration classes based on `StrEnum`.
2025-05-19 22:59:56 +08:00
Hashcon
5a0359336f
feat: add debug log for request and response ( #19781 ) ( #19783 )
...
Co-authored-by: hashjang <hash@geek.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-05-17 17:31:09 +08:00
-LAN-
c82bf51746
fix: correct type mismatch in WorkflowService node execution handling ( #19846 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-17 12:31:27 +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-
3557967e09
fix(config): Allow DB_EXTRAS to set search_path via options ( #19560 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-13 10:10:18 +08:00
-LAN-
9effb3fea0
test(test_dify_config): Update test to use example environment file ( #19427 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-09 11:42:51 +08:00
-LAN-
e85ddde41c
refactor: Remove RepositoryFactory ( #19176 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-06 21:14:51 +08:00
Yeuoly
1a05f3bf53
fix(api): add missing INNER_API_KEY to InnerAPIConfig ( #19166 )
2025-05-06 10:02:14 +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
-LAN-
a482b6d088
feat: support remove first and remove last in variable assigner ( #19144 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-30 15:50:00 +08:00
QuantumGhost
487b107e6f
Enhance Code Consistency Across Repository with .editorconfig ( #19023 )
2025-04-29 18:04:33 +08:00
Novice
1e038f6480
test(graph-engine-test): modify the assert condition ( #19041 )
2025-04-29 09:51:42 +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
Yeuoly
9d7fc07e45
feat: add interfaces of OAuth handler methods for authorization ( #18889 )
2025-04-27 16:00:37 +08:00
ZalterCitty
8ebdd4649c
fix: Update prompt message content types to use Literal and add union type for content ( #17136 )
...
Co-authored-by: 朱庆超 <zhuqingchao@xiaomi.com >
Co-authored-by: crazywoola <427733928@qq.com >
2025-04-22 16:17:55 +08:00
-LAN-
a3bb00eb13
fix: cannot delete workflow version if other version is published as a tool ( #18486 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-21 17:58:22 +08:00
-LAN-
90aeda86db
refactor: Refactors workflow node execution handling ( #18382 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-18 20:06:24 +08:00
Vitor
491a1beed3
fix: invalid new tool call creation logic during response handling in OAI-Compat model ( #17781 )
2025-04-17 16:52:49 +08:00
-LAN-
52a01315c4
feat: add a abstract layer for WorkflowNodeExcetion ( #18026 )
2025-04-17 12:48:52 +09:00
Novice
2cd8ae79b1
fix(fail-branch): prevent streaming output in exception branches ( #17153 )
2025-04-16 22:34:07 +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
-LAN-
513055a3c1
chore: Reorganizes test file structure ( #18155 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-04-16 16:09:17 +08:00
Yongtao Huang
5ca9433c46
Remove dead code ( #17899 )
2025-04-11 20:33:52 +08:00
shirukai
6cf258a809
fix: code block syntax cannot be displayed correctly in react mode ( #16904 )
2025-03-31 16:27:29 +08:00
Novice
437dcbdd68
fix: exclude additional unreachable nodes ( #16329 )
2025-03-20 16:53:56 +08:00
Yongtao Huang
d339403e89
Chore: optimize the code of PromptTransform ( #16143 )
2025-03-19 11:24:57 +08:00
cyflhn
1789437cc5
reopen PR for #14411 ( #16148 )
2025-03-19 10:24:35 +08:00
QuantumGhost
2b4d1cf1db
fix(api): fix fail branch functionality for WorkflowTool ( #15966 )
2025-03-17 11:53:32 +08:00
RookieAgent
8165d0b469
fix: http_request node form-data support array[file] ( #15731 )
2025-03-14 09:58:18 +08:00
-LAN-
49c952a631
fix: streamline file upload configuration handling in manager.py ( #15714 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-03-13 16:32:49 +08:00
-LAN-
3254018ddb
feat(workflow_service): workflow version control api. ( #14860 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-03-10 13:34:31 +08:00
kurokobo
f2b7df94d7
fix: return absolute path as the icon url if CONSOLE_API_URL is empty ( #15279 )
2025-03-10 13:15:06 +08:00