-LAN-
b357eca307
fix: Copy request context and current user in app generators. (#20240)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
Heyang Wang
b9b5d43dc6
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>
5 місяці тому
-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>
5 місяці тому
QuantumGhost
13dc1c8795
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.
5 місяці тому
-LAN-
3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors (#19980)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
Zihe JI
87f9d11d65
fix: ensure Decimal values in metadata are JSON serializable (fixes #19936) (#19955)
Co-authored-by: crazywoola <427733928@qq.com>
5 місяці тому
QuantumGhost
6a9e0b1005
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`.
5 місяці тому
Hashcon
6a74c97a0a
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>
5 місяці тому
-LAN-
7d0106b220
fix: correct type mismatch in WorkflowService node execution handling (#19846)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
-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>
5 місяці тому
-LAN-
0fed5c1193
fix(config): Allow DB_EXTRAS to set search_path via options (#19560)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
-LAN-
56cff485d0
test(vdb/huaweicloudvectordb): Fix the wrong import path (#19413)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
-LAN-
b4064fa092
test(test_dify_config): Update test to use example environment file (#19427)
Signed-off-by: -LAN- <laipz8200@outlook.com>
5 місяці тому
-LAN-
f23cf98317
refactor: Remove RepositoryFactory (#19176)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
Novice
0cfc82d731
fix(structured-output): reasoning model's json format parsing (#19261)
6 місяці тому
Bowen Liang
8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions (#19224)
6 місяці тому
Yeuoly
8ac3a223a8
fix(api): add missing INNER_API_KEY to InnerAPIConfig (#19166)
6 місяці тому
Hao Cheng
bb1d1dc263
fix: fix API tool integration test (#19187)
6 місяці тому
QuantumGhost
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- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
-LAN-
bcc95e520b
feat: support remove first and remove last in variable assigner (#19144)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
QuantumGhost
bd1bbfee4b
Enhance Code Consistency Across Repository with `.editorconfig` (#19023)
6 місяці тому
Ahmad Zidan
8266815cda
feat: add AWS Managed IAM auth for OpenSearch vector DB (#18963)
6 місяці тому
Novice
e36b1a7016
test(graph-engine-test): modify the assert condition (#19041)
6 місяці тому
-LAN-
d9aa2b155a
refactor: Refactors repository imports structure (#18901)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
Yeuoly
0e0ec4691a
feat: add interfaces of OAuth handler methods for authorization (#18889)
6 місяці тому
Yeuoly
abafa68647
refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876)
6 місяці тому
王晓阳
0babdffe3e
feat: support vastbase vector database (#16308)
6 місяці тому
ZalterCitty
a1158cc946
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>
6 місяці тому
lauding
eb1ce3dd6b
feat: support huawei cloud vector database (#16141)
6 місяці тому
-LAN-
2543162dec
fix: cannot delete workflow version if other version is published as a tool (#18486)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
-LAN-
44a2eca449
refactor: Refactors workflow node execution handling (#18382)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
Vitor
defd5520ea
fix: invalid new tool call creation logic during response handling in OAI-Compat model (#17781)
6 місяці тому
-LAN-
6d9dd3109e
feat: add a abstract layer for WorkflowNodeExcetion (#18026)
6 місяці тому
Novice
c91045a9d0
fix(fail-branch): prevent streaming output in exception branches (#17153)
6 місяці тому
Arcaner
cac0d3c33e
fix: implement robust file type checks to align with existing logic (#17557)
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
6 місяці тому
-LAN-
c6e2970b65
chore: Reorganizes test file structure (#18155)
Signed-off-by: -LAN- <laipz8200@outlook.com>
6 місяці тому
Bowen Liang
12de1d175c
build: introduce uv as Python package manager (#16317)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
6 місяці тому
Yongtao Huang
5d72003ebb
Remove dead code (#17899)
6 місяці тому
yihong
f04d52c044
fix: autocorrect everything in api (#17859)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
6 місяці тому
zxfishhack
5541a1f80e
robust for json parser (#17687)
6 місяці тому
wlleiiwang
42a42a7962
FEAT: support Tencent vectordb to full text search (#16865)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
6 місяці тому
shirukai
6cf258a809
fix: code block syntax cannot be displayed correctly in react mode (#16904)
7 місяці тому
wanttobeamaster
7f70cadacb
feat: support Tablestore vector database (#16601)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
7 місяці тому
wlleiiwang
a743d5dc71
feat: tencent vectordb: use grpc client and set upsert batch size (#16016)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
7 місяці тому
Novice
437dcbdd68
fix: exclude additional unreachable nodes (#16329)
7 місяці тому
Yongtao Huang
d339403e89
Chore: optimize the code of PromptTransform (#16143)
7 місяці тому
cyflhn
1789437cc5
reopen PR for #14411 (#16148)
7 місяці тому
LittleFish-15
223ab5a38f
feat: support openGauss vector database (#15865)
7 місяці тому
QuantumGhost
2b4d1cf1db
fix(api): fix fail branch functionality for `WorkflowTool` (#15966)
7 місяці тому
RookieAgent
8165d0b469
fix: http_request node form-data support array[file] (#15731)
7 місяці тому