8bitpd
6b1606f4f4
fix: keep idempotent when init AnalyticdbVectorBySql ( #24239 )
...
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2025-08-20 23:22:27 +08:00
Asuka Minato
d12255025c
add tyck tool (currently ignore the error) ( #22592 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-20 16:40:12 +08:00
Asuka Minato
864872d24e
Httpx example ( #24151 )
2025-08-20 16:39:23 +08:00
Xiyuan Chen
cfefe4f738
Feat: Education ( #24208 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-20 15:38:14 +08:00
NeatGuyCoding
870e3daa95
hotfix: fix multiple case match syntax ( #24204 )
2025-08-20 14:45:46 +08:00
yihong
4c1ad40f8e
docs: format all md files ( #24195 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-08-20 13:49:11 +08:00
Yongtao Huang
52857eb6b3
Fix: replace `get_builtin_provider` with `get_plugin_provider` ( #24191 )
2025-08-20 09:37:25 +08:00
NeatGuyCoding
e6183074f3
feat: add testcontainers based tests for model provider service ( #24193 )
2025-08-20 09:33:09 +08:00
Yongtao Huang
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
Yongtao Huang
7c7618c083
Remove the second `if self.runtime is None:` check ( #24171 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-19 18:27:30 +08:00
Stream
c2606f9062
fix: correct behaviour of code fix ( #24152 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-19 14:18:49 +08:00
Asuka Minato
70da81d0e5
try ast-grep ( #24149 )
2025-08-19 13:41:52 +08:00
9527MrLi
75199442c1
feat: Implements periodic deletion of workflow run logs that exceed t… ( #23881 )
...
Co-authored-by: shiyun.li973792 <shiyun.li@seres.cn>
Co-authored-by: 1wangshu <suewangswu@gmail.com>
Co-authored-by: Blackoutta <hyytez@gmail.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-19 09:47:34 +08:00
NeatGuyCoding
60cc82aff1
feat: add testcontainers based tests for feature service ( #24026 )
2025-08-19 09:32:47 +08:00
Asuka Minato
ebd2c8236d
an example of suppress ( #24136 )
2025-08-19 00:21:26 +08:00
Zhehao Peng
c0702aacac
Use typing.Literal to replace str places ( #24099 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 21:34:13 +08:00
He Wang
670d479e32
Bump pyobvector to 0.2.15 ( #24120 )
2025-08-18 17:36:27 +08:00
Stream
ae7de7d36b
fix: treat default template of code as empty ( #24106 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 16:52:27 +08:00
crazywoola
8288b1dcab
Revert "fix pg_vector extension requires SUPERUSER, but not availabl… ( #24108 )
2025-08-18 16:46:15 +08:00
Elvis_LEE
16d1289a0a
fix pg_vector extension requires SUPERUSER, but not available on Huawei Cloud RDS ( #24093 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 16:29:36 +08:00
Junyan Qin (Chin)
531e784a92
feat: no longer enable auto upgrade when marketplace is disabled (#24… ( #24101 )
2025-08-18 15:57:33 +08:00
Bo Wu
790a6ec203
fix: return empty list instead of raising exception for qdrant search when score_threshold is 1 ( #24032 )
2025-08-18 12:44:05 +08:00
Joel
de9c5f10b3
feat: enchance prompt and code ( #23633 )
...
Co-authored-by: stream <stream@dify.ai>
Co-authored-by: Stream <1542763342@qq.com>
Co-authored-by: Stream <Stream_2@qq.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 12:29:12 +08:00
Maries
a7fe0e3f87
fix(oauth): redis compatibility ( #23959 )
2025-08-18 11:14:08 +08:00
-LAN-
052d0e059e
feat: add Redis SSL/TLS certificate authentication support ( #23624 )
2025-08-18 10:59:07 +08:00
NeatGuyCoding
80f0594f4b
feat: add testcontainers based tests for model loadbalancing service ( #24066 )
2025-08-18 09:54:22 +08:00
NeatGuyCoding
97b24f48d5
feat: add testcontainers based tests for metadata service ( #24048 )
2025-08-18 09:43:20 +08:00
kurokobo
c69634085d
Revert "Fix: Correct file variable handling for custom tools in workflow ( #24061 )
2025-08-17 23:14:37 +08:00
湛露先生
0a9af45194
no used function for message_queue. ( #24027 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-17 09:33:22 +08:00
Yongtao Huang
32fa817eaa
Update mypy.ini ( #24014 )
...
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-16 19:29:19 +08:00
Yongtao Huang
af10b3c5fa
Fix: add 'api_key' alias for backward compatibility ( #24022 )
...
Signed-off-by: Yongtao Huang <yongtaoh@gmail.com>
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-16 19:28:31 +08:00
Yongtao Huang
8b601a983c
Fix missing user_id in trace_manager ( #24024 )
2025-08-16 11:08:30 +08:00
耐小心
4b9812ce6a
fix: move database service call inside session context in workflow draft variable API ( #23996 )
2025-08-15 18:23:42 +08:00
Yongtao Huang
c9e18346ce
Chore: remove empty files and unused code ( #23990 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2025-08-15 16:28:41 +08:00
Will
658157e9a1
chore: improved type annotations in MCP-related codes ( #23984 )
2025-08-15 15:19:30 +08:00
Will
821fe26b56
fix comparison with callable ( #23978 )
2025-08-15 15:03:00 +08:00
xubo
f560116fb2
fix: 504 Gateway Time-out error on /console/api/version endpoint ( #23961 )
2025-08-15 11:25:25 +08:00
heyszt
aa71173dbb
Feat: External_trace_id compatible with OpenTelemetry ( #23918 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-15 09:13:41 +08:00
NeatGuyCoding
11fdcb18c6
feature: add test for tool engine serialization ( #23951 )
2025-08-15 09:12:29 +08:00
Yongtao Huang
f40e2cf98a
Fix: remove redundant allowed_keys check in jsonable_encoder ( #23931 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
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-14 19:52:07 +08:00
-LAN-
e340fccafb
feat: integrate flask-orjson for improved JSON serialization performance ( #23935 )
2025-08-14 19:50:59 +08:00
Alex Chim
4a2e6af9b5
Fixes #23921 ( #23924 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 15:54:25 +08:00
crazywoola
acba135de1
Revert "feat: support to upload files for visual model call when running LLM node for debugging in a single step" ( #23922 )
2025-08-14 15:52:19 +08:00
crazywoola
c39dfad7b6
fix: mime_type could be None ( #23880 )
...
Co-authored-by: -LAN- <laipz8200@outlook.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>
2025-08-14 13:40:06 +08:00
Guangdong Liu
9e29309ffd
fix: ensure custom headers are ignored when using bearer or basic authorization ( #23584 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 10:18:12 +08:00
NeatGuyCoding
e0f0813b7c
Add Test Containers Based Tests for App Generation Services ( #23899 )
2025-08-14 10:16:41 +08:00
Guangdong Liu
d4756ba659
Fix multipart/form-data boundary issue in HTTP Call node ( #23903 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-14 10:01:27 +08:00
QuantumGhost
7286b4ad06
fix(api): resolve "Message not exists" error in admin feedback creation ( #23232 )
...
Fix regression introduced in PR #22580 where admin users encountered
"Message not exists" errors when creating feedback on messages created
by other users.
The issue was caused by `MessageService.create_feedback()` incorrectly
filtering messages by the current user's ID, preventing admins from
accessing messages created by end users.
Reverts: #22580
2025-08-13 23:57:25 +08:00
Yongtao Huang
bf2f03f911
Restructure the File errors in controller ( #23801 )
...
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-13 17:06:07 +08:00
Will
5aaa47e25d
fix: messages updated_at ( #23869 )
2025-08-13 15:34:52 +08:00
goofy
4da6ec787e
feat: support to upload files for visual model call when running LLM node for debugging in a single step ( #23521 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-13 14:07:13 +08:00
kenwoodjw
21e1b825fe
fix: optimize dataset cleanup task ( #23828 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-13 11:22:03 +08:00
NeatGuyCoding
1cf7c3430a
Add more comprehensive Test Containers Based Tests for advanced prompt service ( #23850 )
2025-08-13 11:21:32 +08:00
QuantumGhost
e600070a61
feat(api): auto-delete WorkflowDraftVariable when app is deleted ( #23737 )
...
This commit introduces a background task that automatically deletes `WorkflowDraftVariable` records when
their associated workflow apps are deleted.
Additionally, it adds a new cleanup script
`cleanup-orphaned-draft-variables` to remove existing orphaned draft variables from the database.
2025-08-13 11:13:08 +08:00
-LAN-
74ab057f56
refactor: improve Redis wrapper type hints and fix None value handling ( #23845 )
2025-08-13 09:46:02 +08:00
xinlmain
b3399642c5
feat: Add an asynchronous repository to improve workflow performance ( #20050 )
...
Co-authored-by: liangxin <liangxin@shein.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: liangxin <xinlmain@gmail.com>
2025-08-13 02:28:06 +08:00
Bowen Liang
a77dfb69b0
chore: update uv to 0.8.9 ( #23833 )
2025-08-12 23:41:39 +08:00
NeatGuyCoding
cb46726fa4
Add Test Containers Based Tests for File Service ( #23771 )
2025-08-12 18:16:07 +08:00
Will
1ffe190557
Feat/improved mcp timeout configs ( #23605 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-12 13:14:00 +08:00
jiangbo721
c0bb2ec851
feat: If combining text and files, place the text prompt after the fi… ( #23779 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-08-12 10:36:55 +08:00
engchina
7566d90dfe
fix issue #23758 ( #23764 )
...
Co-authored-by: root <root@thinkpad-pc.localdomain>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-12 10:26:13 +08:00
Jason Young
b38f195a0d
test: add comprehensive test suite for rate limiting module ( #23765 )
2025-08-12 10:05:30 +08:00
Jason Young
cdee5aab3a
fix: update integration tests to use 2-element variable selectors ( #23766 )
2025-08-12 09:33:09 +08:00
QuantumGhost
4240e2dd29
fix(api): fix flaky tests by generating unique variable names ( #23768 )
2025-08-12 09:31:15 +08:00
Yongtao Huang
a44ca29717
Chore: remove unused var in `ModelProviderFactory` ( #23690 )
2025-08-11 22:04:11 +08:00
-LAN-
332e8e68ee
refactor: Change _queue_manager to public attribute queue_manager in task pipelines ( #23747 )
2025-08-11 18:18:07 +08:00
-LAN-
577062b93a
refactor: simplify variable pool key structure and improve type safety ( #23732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-11 18:10:04 +08:00
QuantumGhost
223c1a8089
test(api): fix flaky tests in TestWorkflowDraftVariableService ( #23749 )
...
Fix flaky test
`TestWorkflowDraftVariableService.test_list_variables_without_values_success`
caused by low entropy in test data generation that led to
duplicate values violating unique constraints.
Also improve data generation in other tests within
`TestWorkflowDraftVariableService` to reduce the likelihood of
generating duplicate test data.
2025-08-11 17:39:58 +08:00
Wu Tianwei
0baccb9e82
chore(version): bump version to 1.7.2 ( #23740 )
2025-08-11 17:12:44 +08:00
-LAN-
43411d7a9e
chore: remove debug log statements from DifyAPIRepositoryFactory ( #23734 )
2025-08-11 15:39:20 +08:00
-LAN-
2dbf20a3e9
fix: resolve circular import in AppGenerateEntity ( #23731 )
2025-08-11 15:38:28 +08:00
-LAN-
aaf9fc1562
fix: add @property decorator to pydantic computed_field for compatibility ( #23728 )
2025-08-11 15:34:19 +08:00
NeatGuyCoding
4a72fa6268
fix: Enhance doc_form null checking, exception handling, and rollback logic ( #23713 )
2025-08-11 13:53:40 +08:00
NeatGuyCoding
6083b1d618
Feat add testcontainers test for message service ( #23703 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-08-11 10:49:32 +08:00
Yongtao Huang
36b221b170
Fix model_setting_map key mismatch ( #23699 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-11 09:33:26 +08:00
Guangdong Liu
d1fc98200c
fix: update HTTP request timeout fields to use Field with default values ( #23694 )
2025-08-11 09:30:16 +08:00
Guangdong Liu
79a3c1618f
fix: support custom file types in workflow Start node ( #23672 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-10 11:09:47 +08:00
NeatGuyCoding
5f8967918e
Feat add testcontainers test for app dsl service ( #23675 )
2025-08-10 11:03:46 +08:00
-LAN-
6900b08134
fix: sync missing conversation variables for existing conversations ( #23649 )
2025-08-09 22:42:18 +08:00
Yongtao Huang
431e0105de
Fix bare raise in if blocks ( #23671 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-09 22:40:55 +08:00
-LAN-
cbe0d9d053
fix: conversation pinned filter returns incorrect results when no conversations are pinned ( #23670 )
2025-08-09 22:40:28 +08:00
NeatGuyCoding
41345199d8
Feat add testcontainers test for api base extendsion service ( #23652 )
2025-08-09 12:57:24 +08:00
yunqiqiliang
14e1c16cf2
Fix ClickZetta stability and reduce logging noise ( #23632 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 22:57:47 +08:00
crazywoola
1c60b7f070
Revert "feat: improved MCP timeout" ( #23602 )
2025-08-08 11:20:53 +08:00
znn
084dcd1a50
using message_file event instead of message event ( #22988 )
2025-08-08 09:50:20 +08:00
湛露先生
fd536a943a
word extractor cleans. ( #20926 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-08-08 09:37:51 +08:00
jiangbo721
6f80fb72cb
feat: tools json response support datetime uuid etc ( #22738 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-08-08 09:26:50 +08:00
yunqiqiliang
62772e8871
fix: ensure vector database cleanup on dataset deletion regardless of document presence (affects all 33 vector databases) ( #23574 )
...
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:18:43 +08:00
Will
4b0480c8b3
feat: improved MCP timeout ( #23546 )
2025-08-08 09:08:14 +08:00
Yongtao Huang
c8c591d73c
Fix incorrect exception handling in db query ( #23582 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-08 09:07:59 +08:00
lyzno1
2edd32fdea
fix: resolve AppCard description overlap with tag area ( #23585 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:05:55 +08:00
NeatGuyCoding
5889059ce4
Feat add testcontainers test for annnotation service ( #23593 )
2025-08-08 09:03:50 +08:00
-LAN-
7230497bf4
fix: empty arrays should convert to empty string in LLM prompts ( #23590 )
2025-08-08 08:50:37 +08:00
lyzno1
d98071a088
feat: add Service API file preview endpoint ( #23534 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:44:29 +08:00
BotAndyGao
ac02c12e49
fix: resolve Windows path separator issue in Huawei OBS operations ( #23475 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:17:46 +08:00
Qiang Lee
e9045a8838
Fix: Apply Metadata Filters Correctly in Full-Text Search Mode for Tencent Cloud Vector Database ( #23564 )
2025-08-07 05:36:06 -07:00
-LAN-
55487ba0c6
fix: exclude dev dependencies from production Docker image ( #23562 )
2025-08-07 05:35:32 -07:00
yunqiqiliang
e01510e2a6
feat: Add Clickzetta Lakehouse vector database integration ( #22551 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-07 14:21:46 +08:00
goofy
ad1b1193fa
fix localtime_to_timestamp tool throws 'no attribute localize error' when it executes without specifying a timezone parameter ( #23517 )
2025-08-07 11:14:45 +08:00
NeatGuyCoding
d253ca192a
Feat add testcontainers test for app service ( #23523 )
2025-08-07 09:13:30 +08:00