kurokobo
c69634085d
Revert "Fix: Correct file variable handling for custom tools in workflow (#24061)
2 months ago
湛露先生
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>
2 months ago
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>
2 months ago
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>
2 months ago
Yongtao Huang
8b601a983c
Fix missing user_id in trace_manager (#24024)
2 months ago
耐小心
4b9812ce6a
fix: move database service call inside session context in workflow draft variable API (#23996)
2 months ago
Yongtao Huang
c9e18346ce
Chore: remove empty files and unused code (#23990)
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com>
2 months ago
Will
658157e9a1
chore: improved type annotations in MCP-related codes (#23984)
2 months ago
Will
821fe26b56
fix comparison with callable (#23978)
2 months ago
xubo
f560116fb2
fix: 504 Gateway Time-out error on /console/api/version endpoint (#23961)
2 months ago
heyszt
aa71173dbb
Feat: External_trace_id compatible with OpenTelemetry (#23918)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2 months ago
NeatGuyCoding
11fdcb18c6
feature: add test for tool engine serialization (#23951)
2 months ago
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>
2 months ago
-LAN-
e340fccafb
feat: integrate flask-orjson for improved JSON serialization performance (#23935)
2 months ago
Alex Chim
4a2e6af9b5
Fixes #23921 (#23924)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2 months ago
crazywoola
acba135de1
Revert "feat: support to upload files for visual model call when running LLM node for debugging in a single step" (#23922)
2 months ago
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>
2 months ago
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>
2 months ago
NeatGuyCoding
e0f0813b7c
Add Test Containers Based Tests for App Generation Services (#23899)
2 months ago
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>
2 months ago
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
2 months ago
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>
2 months ago
Will
5aaa47e25d
fix: messages updated_at (#23869)
2 months ago
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>
2 months ago
kenwoodjw
21e1b825fe
fix: optimize dataset cleanup task (#23828)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2 months ago
NeatGuyCoding
1cf7c3430a
Add more comprehensive Test Containers Based Tests for advanced prompt service (#23850)
2 months ago
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.
2 months ago
-LAN-
74ab057f56
refactor: improve Redis wrapper type hints and fix None value handling (#23845)
2 months ago
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>
2 months ago
Bowen Liang
a77dfb69b0
chore: update uv to 0.8.9 (#23833)
2 months ago
NeatGuyCoding
cb46726fa4
Add Test Containers Based Tests for File Service (#23771)
2 months ago
Will
1ffe190557
Feat/improved mcp timeout configs (#23605)
Co-authored-by: crazywoola <427733928@qq.com>
2 months ago
jiangbo721
c0bb2ec851
feat: If combining text and files, place the text prompt after the fi… (#23779)
Co-authored-by: 刘江波 <jiangbo721@163.com>
2 months ago
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>
2 months ago
Jason Young
b38f195a0d
test: add comprehensive test suite for rate limiting module (#23765)
2 months ago
Jason Young
cdee5aab3a
fix: update integration tests to use 2-element variable selectors (#23766)
2 months ago
QuantumGhost
4240e2dd29
fix(api): fix flaky tests by generating unique variable names (#23768)
2 months ago
Yongtao Huang
a44ca29717
Chore: remove unused var in `ModelProviderFactory` (#23690)
2 months ago
-LAN-
332e8e68ee
refactor: Change _queue_manager to public attribute queue_manager in task pipelines (#23747)
2 months ago
-LAN-
577062b93a
refactor: simplify variable pool key structure and improve type safety (#23732)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 months ago
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.
2 months ago
Wu Tianwei
0baccb9e82
chore(version): bump version to 1.7.2 (#23740)
2 months ago
-LAN-
43411d7a9e
chore: remove debug log statements from DifyAPIRepositoryFactory (#23734)
2 months ago
-LAN-
2dbf20a3e9
fix: resolve circular import in AppGenerateEntity (#23731)
2 months ago
-LAN-
aaf9fc1562
fix: add @property decorator to pydantic computed_field for compatibility (#23728)
2 months ago
NeatGuyCoding
4a72fa6268
fix: Enhance doc_form null checking, exception handling, and rollback logic (#23713)
2 months ago
NeatGuyCoding
6083b1d618
Feat add testcontainers test for message service (#23703)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 months ago
Yongtao Huang
36b221b170
Fix model_setting_map key mismatch (#23699)
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2 months ago
Guangdong Liu
d1fc98200c
fix: update HTTP request timeout fields to use Field with default values (#23694)
2 months ago
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>
2 months ago