Commit Graph

4130 Commits (feat/rag-2)

Author SHA1 Message Date
twwu 5b2c99e183 Merge branch 'main' into feat/rag-2 7 months ago
birkhoff 71d96b671b
feat: update VECTOR_STORE supported types in api/.env.example (#22617)
Co-authored-by: nicksarno <nicksarno@ztm-tech.com>
7 months ago
kurokobo a93db6d797
fix: correct tracing for workflows and chatflows for phoenix (#22547) 7 months ago
Jason Young f2389771cf
test: add comprehensive API key authentication service tests (#22572) 7 months ago
znn ed263aed9f
fix text splitter (#22596) 7 months ago
Harry 633bfc25e0 feat: update provider parameter naming and refactor related logic in datasource_auth.py 7 months ago
Harry 0ac5c0bf3e feat: refactor OAuth provider handling and improve provider name generation 7 months ago
-LAN- 1f9cd99bc2
refactor: elegant event dispatch patterns (92% complexity reduction) (#22600)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
7 months ago
jiangbo721 ffee6f3288
fix: admin feedback uses the same method create_feedback (#22580)
Co-authored-by: 刘江波 <jiangbo721@163.com>
7 months ago
-LAN- 460a825ef1
refactor: decouple Node and NodeData (#22581)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
7 months ago
kenwoodjw 61a5741c05
fix celery config (#22566)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
7 months ago
-LAN- 1715dd4320
refactor: Fix some type error (#22594)
Signed-off-by: -LAN- <laipz8200@outlook.com>
7 months ago
-LAN- b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching (#22597)
Signed-off-by: -LAN- <laipz8200@outlook.com>
7 months ago
hato_code 62586719b3
fix: remove redundant partial member list retrieval in dataset API (#15492) 7 months ago
helojo e7d80bf7bf
Fix: the pict type picture was not processed in the docx (#19305)
Co-authored-by: zqgame <zqgame@zqgame.local>
7 months ago
Kalo Chin 7a69b57823
Fix jinja2 variable naming inconsistencies (#22578) 7 months ago
Harry 3388e83920 Merge remote-tracking branch 'origin/main' into feat/rag-2
# Conflicts:
#	.github/workflows/build-push.yml
#	web/app/components/workflow/nodes/_base/components/workflow-panel/index.tsx
7 months ago
Maries a4ef900916
Support OAuth Integration for Plugin Tools (#22550)
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
7 months ago
zxhlyh e0e0a7661d merge main 7 months ago
zxhlyh de47b56ca4 merge main 7 months ago
zxhlyh 01566035e3 merge main 7 months ago
jyong cc96b7f507 r2 transform 7 months ago
jyong ad7650e724 r2 transform 7 months ago
jyong d0c78d079b r2 transform 7 months ago
jyong 761ea0eedb r2 transform 7 months ago
Jason Young 74caebac32
test: add comprehensive OAuth authentication unit tests (#22528) 7 months ago
Stream 4b2baeea65
fix: use model provided by user in prompt generator (#22541) (#22542)
Co-authored-by: stream <stream@dify.ai>
7 months ago
NeatGuyCoding 93c27b134d
minor typo fix: remove debug code and fix typo (#22539) 7 months ago
NeatGuyCoding 853c97a910
minor bug fix: wrong default metrics endpoint (#22535) 7 months ago
quicksand 10e6b11ff6
fix: code node check decimal precision (#22522) 7 months ago
NeatGuyCoding c3037c5491
minor code fix: remove duplicate type check branch (#22536) 7 months ago
quicksand e4ae1e2b94
fix (ci) : remove test_url_signer (#22525) 7 months ago
zyssyz123 a4f421028c
Feat/change user email (#22213)
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
7 months ago
jiangbo721 fb5c6dd644
chore: remove unused code (#22501)
Co-authored-by: 刘江波 <jiangbo721@163.com>
7 months ago
yihong d2933c2bfe
fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
7 months ago
kenwoodjw 3587bd4040
fix mcp error not input (#22505)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
7 months ago
jyong a39d7e1f85 r2 transform 7 months ago
heyszt f082452c9b
feat: add otel endpoint config (#22492) 7 months ago
jyong aaa5b0e295 r2 transform 7 months ago
Chieh Wang 30aa052a57
feat: Add Citations and Attributions to Agent Node (#18558)
Co-authored-by: oneness0 <2902216407@qq.com>
Co-authored-by: Novice <novice12185727@gmail.com>
7 months ago
qfl bdb9f29948
feat(app): support custom max_active_requests per app (#22073) 7 months ago
baonudesifeizhai d52fb18457
feat: auto-fill MCP server description with app description #22443 (#22477) 7 months ago
jyong c660c98b04 r2 transform 7 months ago
heyszt 2c9ee54a16
fix aliyun trace session_id (#22468) 7 months ago
QuantumGhost ddfd8c8525
feat(api): add UUIDv7 implementation in SQL and Python (#22058)
This PR introduces UUIDv7 implementations in both Python and SQL to establish the foundation for migrating from UUIDv4 to UUIDv7 as proposed in #19754.

ID generation algorithm of existing models are not changed, and new models should use UUIDv7 for ID generation.

Close #19754.
7 months ago
QuantumGhost 2c1ab4879f
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)
refactor(api): Separate SegmentType for Integer/Float to Enable Pydantic Serialization (#22025)

This PR addresses serialization issues in the VariablePool model by separating the `value_type` tags for `IntegerSegment`/`FloatSegment` and `IntegerVariable`/`FloatVariable`. Previously, both Integer and Float types shared the same `SegmentType.NUMBER` tag, causing conflicts during serialization.

Key changes:
- Introduce distinct `value_type` tags for Integer and Float segments/variables
- Add `VariableUnion` and `SegmentUnion` types for proper type discrimination
- Leverage Pydantic's discriminated union feature for seamless serialization/deserialization
- Enable accurate serialization of data structures containing these types

Closes #22024.
7 months ago
jyong 675ff9bd7d r2 transform 7 months ago
jyong 6363ecef97 r2 transform 7 months ago
NeatGuyCoding bf542233a9
minor fix: using Pydantic model_validate instead of deprecated parse_obj (#22239)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
7 months ago
Jason Young 38106074b4
test: add comprehensive unit tests for console authentication and authorization decorators (#22439) 7 months ago
jyong 384073f025 r2 transform 7 months ago
jyong 2012ea3213 r2 transform 7 months ago
NeatGuyCoding 7bf3d2c8bf
fix(api): Fix potential thread leak in MCP `BaseSession` (#22169)
The `BaseSession` class in the `core/mcp/session` package uses `ThreadPoolExecutor` 
to run the receive loop but fails to properly clean up the executor and receiver 
future, leading to potential thread leaks.

This PR addresses this issue by:
- Initializing `_executor` and `_receiver_future` attributes to `None` for proper cleanup checks
- Adding graceful shutdown with a 5-second timeout in the `__exit__` method
- Ensuring the ThreadPoolExecutor is properly shut down to prevent resource leaks

This fix prevents memory leaks and hanging threads in long-running scenarios where 
multiple MCP sessions are created and destroyed.

Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 months ago
Jacky Wu da53bf511f
chore: add SQLALCHEMY_POOL_USE_LIFO option and missing SQLALCHEMY_POOL_PRE_PING env default value. (#22371) 7 months ago
jyong 1ad73ccdc8 r2 7 months ago
jyong 96484731a2 r2 7 months ago
quicksand 14f79ee652
fix: create api workflow run repository error (#22422) 7 months ago
-LAN- df89629e04
fix: conversatino statistic including data from debugger (#22412)
Signed-off-by: -LAN- <laipz8200@outlook.com>
7 months ago
jyong 537e535d9a r2 7 months ago
jyong 3a3b60bab5 r2 7 months ago
Hao Cheng 32c541a9ed
fix: generate deterministic operationId for root endpoints without one (#19888) 7 months ago
quicksand 5247c19498
fix: code result included "error" field (#22392) 7 months ago
湛露先生 9823edd3a2
fix workflow node iterator . (#21008)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 months ago
homejim 8e910d8c59
fix(plugin): introduce response_type parameter in plugin list API to enable paginated response support (#22251) 7 months ago
wanttobeamaster bf7b2c339b
tablestore vector support more method (#22225)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
7 months ago
quicksand ebb88bbe0b
improve opik workflow_trace span name to node name (#22356) 7 months ago
jyong 63111e8050 r2 7 months ago
jyong a919e3e135 r2 7 months ago
jyong 4b9a5a66c1 r2 7 months ago
Jacky Wu 3e96c0c468
fix: close session before doing long latency operation (#22306) 7 months ago
-LAN- 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>
7 months ago
jyong 928751a856 r2 7 months ago
twwu 682b65034c Merge branch 'main' into feat/rag-2 7 months ago
Novice 1d54ffcf89
fix: error parsing object type parameters for code node (#22230) 7 months ago
Jason Young 27e5e2745b
test: add comprehensive unit tests for login decorator (#22294) 7 months ago
znn 1b26f9a4c6
fixing Enum part in backend and making it same as front end (#22296) 7 months ago
Bowen Liang e7388779a1
chore: bump ruff to 0.12.x (#22259) 7 months ago
NeatGuyCoding 6c233e05a9
minor fix: wrong and (#22242) 7 months ago
NeatGuyCoding 9f013f7644
Add unit test for account service (#22278) 7 months ago
Jason Young 253d8e5a5f
test: add comprehensive unit tests for PassportService with exception handling optimization (#22268) 7 months ago
jyong 9c4356e9a1 r2 7 months ago
jyong 3b70f8ac08 r2 7 months ago
Garden12138 2a85f28963
fix:Fixed the problem of plugin installation failure caused by incons… (#22156) 7 months ago
K d5624ba671
fix: resolve Docker file URL networking issue for plugins (#21334) (#21382)
Co-authored-by: crazywoola <427733928@qq.com>
7 months ago
诗浓 e576b989b8
feat(tool): add support for API key authentication via query parameter (#21656) 7 months ago
NeatGuyCoding f929bfb94c
minor fix: remove duplicates, fix typo, and add restriction for get mcp server (#22170)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
7 months ago
诗浓 f4df80e093
fix(custom_tool): omit optional parameters instead of setting them to None (#22171) 7 months ago
Maries 390e4cc0bf
chore(version): bump to 1.6.0 (#22136) 7 months ago
Novice 0e793a660d
fix: add the default value to the dark icon (#22149) 7 months ago
非法操作 7b2cab5767
feat: support ping method for MCP server (#22144) 7 months ago
Yeuoly 94a13d7d62
feat: add support for dark icons in provider and tool entities (#22081) 7 months ago
湛露先生 edf5fd28c9
update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
7 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
7 months ago
baonudesifeizhai 18b58424ec
Fix: Resolve issue with json_output (#22053) 7 months ago
Yongtao Huang 10858ea1dc
Chore: rm useless import and vars (#22108) 7 months ago
NeatGuyCoding 6f8c7a66c8
feat: add redis fallback mechanism #21043 (#21044)
Co-authored-by: tech <cto@sb>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
7 months ago
luckylhb90 a371390d6c
optimize: batch embedding and qdrant write_consistency_factor parameter (#21776)
Co-authored-by: hobo.l <hobo.l@binance.com>
7 months ago
twwu e2a141b3bb Merge branch 'main' into feat/rag-2 7 months ago
Jason Young 881a151d30
test: add comprehensive unit tests for encrypter module (#22102) 7 months ago
wangsen3 b237113311
Update clean_document_task.py (#22090) 7 months ago