Yeuoly
a84437b245
refactor: refactor FileChunk to use Pydantic validators and extract blob processing logic
...
- Refactor FileChunk class to use Pydantic field and model validators
- Add proper validation for total_length with size constraints
- Implement __iadd__ operator for cleaner chunk appending
- Extract blob chunk processing logic into a dedicated _process_blob_chunks method
- Add comprehensive docstrings for better code documentation
- Add unit tests for FileChunk class
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-12 22:18:11 +08:00
Bowen Liang
2e87e85474
update
2025-08-10 21:23:08 +08:00
Bowen Liang
23ee92e52e
update
2025-08-10 14:10:50 +08:00
Bowen Liang
3449065585
style
2025-08-10 14:10:30 +08:00
Bowen Liang
84eec68421
reuse variables
2025-08-10 14:10:17 +08:00
Bowen Liang
1856a743fc
style
2025-08-10 14:07:39 +08:00
Bowen Liang
76883751eb
update
2025-08-10 14:07:19 +08:00
Bowen Liang
d90e30d4b6
update
2025-08-10 14:05:52 +08:00
Bowen Liang
7f2e18be0c
move file chunk size check ahead
2025-08-10 14:02:00 +08:00
Bowen Liang
e115340e83
make tool file size configurable
2025-08-10 14:00:58 +08:00
Bowen Liang
ed3066a069
bump pydantic-settings~=2.10.1
2025-08-10 14:00:41 +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
Yongtao Huang
e072b7dafa
Chore: remove unused variable pruned_memory ( #23514 )
2025-08-07 09:06:17 +08:00
Guangdong Liu
3ff52f1809
feat: Enhance response validation and parsing in tool.py ( #23456 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 09:04:51 +08:00
ghmark675
ad61b42494
fix(node): fix unexpected extra equals sign in HTTP params ( #23474 )
2025-08-07 09:04:09 +08:00
Yongtao Huang
b8ef0c84e6
Fix: moved `file =` after file presence validation ( #23453 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-08-06 13:44:12 +08:00
Yongtao Huang
6b8b31ff64
Remove unnecessary issubclass check ( #23455 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-06 13:43:55 +08:00
NeatGuyCoding
ad622cea9e
Feat add testcontainers test for workflow draft variable service ( #23466 )
2025-08-06 09:47:56 +08:00
NeatGuyCoding
fc5ed9f316
Feat add testcontainers test for account service ( #23380 )
2025-08-05 20:15:39 +08:00
rouxiaomin
40a11b6942
feat(api):Enhance the scope of expired data cleanup table in the Dify… ( #23414 )
2025-08-05 19:57:43 +08:00
Xiyuan Chen
904af20023
Feat/webapp opt ( #23283 )
2025-08-05 16:07:48 +08:00
heyszt
3b5130b03d
add otel instrument for redis and http request ( #23371 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-05 11:14:51 +08:00
znn
ab78e12089
enhancing logging ( #23332 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-05 10:36:48 +08:00
Will
7fe23a0ca6
remove useless Tool class attributes ( #23389 )
2025-08-05 10:20:28 +08:00
NeatGuyCoding
a724f35672
fix: fetchAppWithTags may return empty when apps is over 100 ( #23350 )
2025-08-04 20:20:43 +08:00
NeatGuyCoding
60c7663a80
Feat add testcontainers test ( #23269 )
2025-08-04 19:27:36 +08:00
Yongtao Huang
146d870098
Fix: avoid Flask route conflict by merging `DocumentDetailApi` and `DocumentDeleteApi` ( #23333 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 14:37:36 +08:00