d1a6779bbb
fix:update latest commits ( #53 )
...
* test: adding some web tests (#27792 )
* feat: add validation to prevent saving empty opening statement in conversation opener modal (#27843 )
* fix(web): improve the consistency of the inputs-form UI (#27837 )
* fix(web): increase z-index of PortalToFollowElemContent (#27823 )
* fix: installation_id is missing when in tools page (#27849 )
* fix: avoid passing empty uniqueIdentifier to InstallFromMarketplace (#27802 )
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* test: create new test scripts and update some existing test scripts o… (#27850 )
* feat: change feedback to forum (#27862 )
* chore: translate i18n files and update type definitions (#27868 )
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
* Fix/template transformer line number (#27867 )
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
* bump vite to 6.4.1 (#27877 )
* Add WEAVIATE_GRPC_ENDPOINT as designed in weaviate migration guide (#27861 )
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Fix: correct DraftWorkflowApi.post response model (#27289 )
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix Version 2.0.0-beta.2: Chat annotations Api Error #25506 (#27206 )
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
* fix jina reader creadential migration command (#27883 )
* fix agent putout the output of workflow-tool twice (#26835 ) (#27087 )
* fix jina reader transform (#27922 )
* fix: prevent fetch version info in enterprise edition (#27923 )
* fix(api): fix `VariablePool.get` adding unexpected keys to variable_dictionary (#26767 )
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* refactor: implement tenant self queue for rag tasks (#27559 )
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
* fix: bump brotli to 1.2.0 resloved CVE-2025-6176 (#27950 )
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
* docs: clarify how to obtain workflow_id for version execution (#28007 )
Signed-off-by: OneZero-Y <aukovyps@163.com >
* fix: fix https://github.com/langgenius/dify/issues/27939 (#27985 )
* fix: the model list encountered two children with the same key (#27956 )
Co-authored-by: haokai <haokai@shuwen.com >
* add onupdate=func.current_timestamp() (#28014 )
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* chore(deps): bump scipy-stubs from 1.16.2.3 to 1.16.3.0 in /api (#28025 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix typo in weaviate comment, improve time test precision, and add security tests for get-icon utility (#27919 )
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* feat: Add Audio Content Support for MCP Tools (#27979 )
* fix: elasticsearch_vector version (#28028 )
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* fix workflow default updated_at (#28047 )
* feat(api): Introduce Broadcast Channel (#27835 )
This PR introduces a `BroadcastChannel` abstraction with broadcasting and at-most once delivery semantics, serving as the communication component between celery worker and API server.
It also includes a reference implementation backed by Redis PubSub.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix
* back
---------
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
Signed-off-by: kenwoodjw <blackxin55+@gmail.com >
Signed-off-by: OneZero-Y <aukovyps@163.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: aka James4u <smart.jamesjin@gmail.com >
Co-authored-by: Novice <novice12185727@gmail.com >
Co-authored-by: yangzheli <43645580+yangzheli@users.noreply.github.com >
Co-authored-by: Elliott <105957288+Elliott-byte@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: johnny0120 <johnny0120@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Gritty_dev <101377478+codomposer@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wangjifeng <163279492+kk-wangjifeng@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Boris Polonsky <BorisPolonsky@users.noreply.github.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: Cursx <33718736+Cursx@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: red_sun <56100962+redSun64@users.noreply.github.com >
Co-authored-by: NFish <douxc512@gmail.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: hj24 <huangjian@dify.ai >
Co-authored-by: kenwoodjw <blackxin55+@gmail.com >
Co-authored-by: OneZero-Y <aukovyps@163.com >
Co-authored-by: wangxiaolei <fatelei@gmail.com >
Co-authored-by: Kenn <kennfalcon@gmail.com >
Co-authored-by: haokai <haokai@shuwen.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com >
Co-authored-by: Will <vvfriday@gmail.com >
Co-authored-by: huangzhuo1949 <167434202+huangzhuo1949@users.noreply.github.com >
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com >
2025-11-10 21:31:11 +08:00
fcc71124b1
feat:mysql adaptation for meta db ( #50 )
...
* phase1:uuid stringdefault timestamp date
* phase2:json adapt
* phase3:BinaryData,ARRAY,Text,
* fix sa.String()
* fix defalut valud
* models adapt
* models adapt supplement
* fix pg unique dialect
* supplement
* migration fix
* migration fix
* date sql adapt
* model adapt fix
* config adapt
* migration fix
* fix
* fix anotation in .env.example
* config feat
* config fix
* .env.example adapt fix
2025-11-07 15:35:31 +08:00
3c23375607
refactor: Use Repository Pattern for Model Layer ( #27663 )
2025-11-04 09:53:22 +08:00
eaa02e3d55
Add SQLAlchemy Mapped annotations to MessageFeedback ( #27768 )
2025-11-04 09:39:59 +08:00
4461df1bd9
refactor(api): add SQLAlchemy 2.x Mapped type hints to Message model ( #27709 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-01 01:16:07 +08:00
32c715c4d0
rm type ignore ( #25715 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-10-21 11:26:58 +08:00
19cc6ea993
fix 27003 ( #27005 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-17 09:10:16 +08:00
7065b67d07
add app mode for message ( #26876 )
2025-10-16 10:19:49 +08:00
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
25c69ac540
one example of Session ( #24135 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-24 03:32:48 +08:00
5bc6e8a433
Fix: correct regex for file-preview URL re-signing ( #25620 )
...
Fixes #25619
The regex patterns for file-preview and image-preview contained an unescaped `?`,
which caused incorrect matches such as `file-previe` or `image-previw`.
This led to malformed URLs being incorrectly re-signed.
Changes:
- Escape `?` in both file-preview and image-preview regex patterns.
- Ensure only valid URLs are re-signed.
Added unit tests to cover:
- Valid file-preview and image-preview URLs (correctly re-signed).
- Misspelled file/image preview URLs (no longer incorrectly matched).
Other:
- Fix a deprecated function `datetime.utcnow()`
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-22 10:58:29 +08:00
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: jyong <718720800@qq.com >
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: quicksand <quicksandzn@gmail.com >
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com >
2025-09-18 12:49:10 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-12 21:14:26 +08:00
ec808f3fe8
refactor: centralize default end user session ID constant ( #25416 )
...
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-12 10:27:16 +08:00
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-10 13:00:17 +08:00
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-09-08 09:42:27 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-06 03:32:23 +08:00
14e7ba4818
chore: change the oauth_provider_apps table to uuidV7 ( #24792 )
2025-08-29 17:54:14 +08:00
f32e176d6a
feat: oauth provider ( #24206 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com >
2025-08-29 14:10:51 +08:00
837c0ddacc
Chore: remove dead func AppModelConfig.copy() with wrong logic ( #24747 )
2025-08-29 11:38:24 +08:00
2a29c61041
Refactor: replace count() > 0 check with exists() ( #24583 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-27 17:46:52 +08:00
58165c3951
example on orm typing ( #23322 )
2025-08-26 18:16:58 +08:00
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
79ea94483e
refine some orm types ( #22885 )
2025-07-31 18:43:04 +08:00
1c05491f1c
Chore: remove duplicate TYPE_CHECKING import ( #23013 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com >
2025-07-28 10:04:45 +08:00
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
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-23 00:39:59 +08:00
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-07-17 09:33:07 +08:00
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
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-10 14:01:34 +08:00
ebc4fdc4b2
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
e17b33e004
chore: add message status enum ( #21825 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-02 21:22:28 +08:00
9ded6f6a40
[fix] #21678 User input of remote file link on the run page form causes conversation/message interface error ( #21683 )
...
Co-authored-by: 李强04 <liqiang04@gaotu.cn >
2025-07-01 10:40:39 +08:00
90aba77471
chore: remove unused code ( #21497 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-06-26 10:08:17 +08:00
8f15341f1e
fix(event_handlers): DB dead lock ( #21468 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-06-25 16:20:37 +08:00
9de552cb42
fix: first message query error ( #21444 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-06-24 20:32:50 +08:00
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
30cfc9c172
Feat/plugin install scope management ( #19963 )
2025-06-18 16:25:00 +08:00
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 04:34:13 +08:00
6f982eb7e4
feat: add author_name for app list card ( #16900 )
...
Co-authored-by: crazywoola <427733928@qq.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-05-26 18:20:53 +08:00
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
c76d763639
add endpoint of get feedbacks ( #18697 )
...
Co-authored-by: lizb <lizb@sugon.com >
2025-05-13 10:35:14 +08:00
792b321a81
refactor(models): Use the SQLAlchemy base model. ( #19435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-09 13:52:05 +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- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-04-30 17:28:02 +08:00
edcfd7761b
if as_attachment is in the url, add it to the sign_url ( #18930 )
2025-04-28 14:25:59 +08:00
205535c8e9
chore: fix reimported ( #18610 )
2025-04-23 16:48:00 +08:00
e90c532c3a
fix retrival resource miss in chatflow ( #18307 )
2025-04-17 18:05:15 +08:00
aead48726e
fix: cannot regenerate with image( #15060 ) ( #16611 )
...
Co-authored-by: werido <359066432@qq.com >
2025-04-16 09:56:46 +08:00
cc08451eb8
fix: fix file number limit error ( #17848 )
2025-04-11 15:26:26 +08:00