Commit Graph

4025 Commits (2a98fcb7f8f74af43c111b799805efdbe373937c)

Author SHA1 Message Date
Novice fe3a41194e fix: the parsing of list type returned by MCP 11 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>
11 months ago
luckylhb90 a371390d6c
optimize: batch embedding and qdrant write_consistency_factor parameter (#21776)
Co-authored-by: hobo.l <hobo.l@binance.com>
11 months ago
Jason Young 881a151d30
test: add comprehensive unit tests for encrypter module (#22102) 11 months ago
wangsen3 b237113311
Update clean_document_task.py (#22090) 11 months ago
Novice 746ffc8678 Merge branch 'feat/mcp' into deploy/dev 11 months ago
Novice 762f85fd46 fix: completion and agent app server can't be invoked 11 months ago
zxhlyh 73e209505a merge feat/tool-oauth 11 months ago
-LAN- 4cb50f1809
feat(libs): Introduce `extract_tenant_id` (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.com>
11 months ago
wlleiiwang 89b52471fb
Optimize the memory usage of Tencent Vector Database (#22079)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
11 months ago
Minamiyama 3643ed1014
Feat: description field for env variables (#21556) 11 months ago
Harry c6b76cf43e feat(oauth): refactor session management in tool provider operations 11 months ago
Harry f35b8d6245 feat(oauth): refactor session management in tool provider operations 11 months ago
Novice 24c5ee1d6d Merge branch 'feat/mcp' into deploy/dev 11 months ago
Novice 7b3bb1d960 fix: auth api error handle 11 months ago
Novice 87e8e0f69a fix: change the mcp tool node error type 11 months ago
Harry 86ade96994 feat(oauth): add credential validation for providers 11 months ago
Harry ef330fec2c feat(oauth): add credential validation for providers 11 months ago
Novice f6ddcfdcfd Merge branch 'feat/mcp' into deploy/dev 11 months ago
Novice cca3cff759 Merge branch 'main' into feat/mcp 11 months ago
Novice 704c00d947 fix: magic number 11 months ago
Yongtao Huang 521488f926
Remove tow unused files (#22022) 11 months ago
Jason Young d61ea5a2de
test: add comprehensive unit tests for UrlSigner (#22030) 11 months ago
Davide Delbianco 816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
11 months ago
QuantumGhost d2208cd34e fix(api): migration dify version in MCP code 11 months ago
stream a3e1a15ef6 chore: fix ruff lint check errors 11 months ago
stream 689490142d feat: add endpoint for prompt optimization 11 months ago
stream 2a54cec5a7 feat: add prompt optimization metaprompt 11 months ago
QuantumGhost ccc0e58e64 fix(api): migration dify version in MCP code 11 months ago
Joel df1e84ef99 merge 11 months ago
Novice 0f0c30e978 Merge branch 'feat/mcp' into deploy/dev 11 months ago
Novice 978598f06e refactor: streamable http app server 11 months ago
NFish 1feeea0abb Merge branch 'fix/install-preference-error' into deploy/dev 11 months ago
Jason Young 5c0cb7f912
test: add unit tests for password validation and hashing (#22003) 11 months ago
NeatGuyCoding 2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
NeatGuyCoding 53c4912cbb
feat: add unit tests and validation for aliyun tracing (#22012)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
NeatGuyCoding 1760179093
minro fix: fix a typo for aliyun (#22001)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
Yongtao Huang de54f8d0ef
Chore: remove unreachable code (#21986) 11 months ago
quicksand 5b0b64c7e5
fix: document delete image files check file exist (#21991) 11 months ago
Novice 731ad0d349 Merge branch 'feat/mcp' into deploy/dev 11 months ago
Novice 1a67cb77cc fix: parameter key error 11 months ago
-LAN- 8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882) 11 months ago
baonudesifeizhai b9f56852dc
fix: resolve JSON.parse precision issue causing 'list index out of ra… (#21253) 11 months ago
baonudesifeizhai 108cc3486f
fix(agent): show agent run steps, fixes #21718 (#21945)
Co-authored-by: crazywoola <427733928@qq.com>
11 months ago
NeatGuyCoding ac69b8b191
refactor: extract common url validator for config_entity.py (#21934)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
Novice 2d5b1a2b3d Merge branch 'feat/mcp' into deploy/dev 12 months ago
Novice 17c3033710 chore: change the oauth model 12 months ago
Novice 236e184db6 chore: handle merge conflict 12 months ago
heyszt a201e9faee
feat: Add Aliyun LLM Observability Integration (#21471) 12 months ago
Harry 2017951336 fix: resolve circular dependency in MCPToolProviderController 12 months ago
Harry 1d0ef4c4d8 refactor(tool_manager): clean up unused imports 12 months ago
Harry 5298e06763 Merge branch 'feat/tool-plugin-oauth' into deploy/dev
# Conflicts:
#	api/core/plugin/backwards_invocation/encrypt.py
#	api/core/tools/tool_manager.py
#	api/core/tools/utils/encryption.py
#	api/services/plugin/plugin_parameter_service.py
#	api/services/tools/api_tools_manage_service.py
#	api/services/tools/builtin_tools_manage_service.py
#	api/services/tools/tools_transform_service.py
12 months ago
Harry 0dc5bfb2c7 feat(oauth): refactor tool encryption utils 12 months ago
Harry eaefa1b7e6 feat(oauth): refactor encryption 12 months ago
Harry 9f053f3bbc feat(oauth): rename ToolProviderCredentialType to CredentialType for consistency 12 months ago
Harry 26b46b88c9 feat(oauth): add multi credentials support 12 months ago
NeatGuyCoding 2639f950cc
minor fix: removes the duplicated handling logic for TracingProviderEnum.ARIZE and TracingProviderEnum.PHOENIX from the OpsTraceProviderConfigMap (#21927)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
12 months ago
Harry 9d17bb10b4 fix(oauth): update default credential_type value to 'api-key' 12 months ago
Novice 556d031850 chore: handle migrations 12 months ago
Bowen Liang 6663187eca
test:add unit test for api version config (#21919) 12 months ago
Harry 478c156f7d feat(oauth&mcp): refactor credential encrypter 12 months ago
Harry c160a0e5e3 Merge branch 'feat/tool-plugin-oauth' into deploy/dev
# Conflicts:
#	api/controllers/console/workspace/tool_providers.py
#	api/core/tools/entities/api_entities.py
#	api/core/tools/tool_manager.py
#	api/core/tools/utils/configuration.py
#	api/services/tools/tools_transform_service.py
12 months ago
Harry 9b25b7a8d8 feat(oauth): rename ToolProviderCredentialType to CredentialType for consistency 12 months ago
Harry 9ce6f34dc4 feat(oauth): add multi credentials support 12 months ago
Ganondorf c9c49200e0
use repair_json fix json parse error of HTTPRequestNode (#21909)
Co-authored-by: lizb <lizb@sugon.com>
12 months ago
非法操作 a79f37b686
fix: tts tool must choose a voice (#21877) 12 months ago
baonudesifeizhai 1c7404099d
fix: prevent timeout in file encoding detection for large files (#21453)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
cutiechi 47954aa284
feat(api): validate and reject external datasets in document update (#21783) 12 months ago
Novice f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node (#21861) 12 months ago
NeatGuyCoding 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>
12 months ago
Ali Saleh 1af3d40c1a
feat: Improve Observability with Arize & Phoenix Integration (#19840)
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Gu <guchenhe@gmail.com>
12 months ago
jiangbo721 31eb8548ef
fix: Before publish the app, preview the voice of tts, it raise an er… (#21821)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Yeuoly 980b0188d2
feat(tests): add structured output parser tests for LLM responses (#21838) 12 months ago
Harry b316867bab Merge remote-tracking branch 'origin/main' into feat/tool-plugin-oauth 12 months ago
jiangbo721 e17b33e004
chore: add message status enum (#21825)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Harry 988a76066d feat(oauth): enhance OAuth client handling and add custom client support 12 months ago
Yeuoly 5487463385
fix: add list contents handling in structured LLM output (#21837) 12 months ago
Bowen Liang cc89d7b1a5
remove unused config CURRENT_VERSION (#21832)
as API module's version code refactored into pyproject.toml file in refactor: define the Dify project version in pyproject.toml #20910, the deprecated CURRENT_VERSION is no longger used and should be removed.
12 months ago
-LAN- bb955806e0
chore(version): bump to 1.5.1 (#21808)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
Novice 2c1bf7c411 Merge branch 'main' into feat/mcp 12 months ago
Novice e965eaca1f Merge branch 'feat/mcp' into deploy/dev 12 months ago
Novice 3e9368ce84 refactor: simplify logic based on review suggestions 12 months ago
Harry 6ef1e017df feat(oauth): add support for retrieving credential info and OAuth client schema 12 months ago
efrey kong 826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank (#21803) 12 months ago
Joel e26c9ee44a merge 12 months ago
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 12 months ago
QuantumGhost c2e599cd85
fix(api): Fix resetting sys var causing internal server error (#21604)
and sorts draft variables by their creation time, ensures a consist order.
12 months ago
jiangbo721 71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Novice 39fe35b2e6 Merge branch 'main' into deploy/dev 12 months ago
Harry 7951a1c4df refactor(tool): implement multi provider credentials support 12 months ago
Davide Delbianco c4b960cc1a
Improve Langfuse trace readability (#21777) 12 months ago
NeatGuyCoding a82943a83d
minor fix: add parameters in error msg of Plugin service returned no options (#21662) 12 months ago
jiangbo721 9a4c1fe834
fix: if parameter is not required, continue (#21761)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Bowen Liang b9ff716c18
fix: incorrect api module version in pyproject.toml (#21755)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
baonudesifeizhai 8516d15a4e
fix: handle configure button for notion internal integration (#21412) 12 months ago
quicksand 4198a533ad
fix: code Interpreter error handling not work (#21736) 12 months ago
Novice b814f16ecd Merge branch 'feat/mcp' into deploy/dev 12 months ago
Novice 3102a41ab7 fix: add api return uuid 12 months ago
Harry daec82bd44 feat(oauth): refactor tool provider methods and enhance credential handling 12 months ago
Bowen Liang 1a7ad195f0
refactor: define the Dify project version in pyproject.toml (#20910) 12 months ago
Qiang Lee cf2173644e
Release db.session connection before workflow new thread long time operation (#21726)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
12 months ago
YoungLH b8b9c3a783
fix: set the func.coalesce() second paramter default value #21239 (#21240)
Signed-off-by: YoungLH <974840768@qq.com>
12 months ago
zxhlyh 4200d016f0 Merge branch 'chore/workflow-last-run' into deploy/dev 12 months ago
Han 69b6f6f5d2
Fixes issue 21157/20661 extra quote in agent node (#21674)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
12 months ago
Qiang Lee 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>
12 months ago
Ganondorf 55a6b330ec
Add get document detail service api (#21700)
Co-authored-by: lizb <lizb@sugon.com>
12 months ago
Novice 75511d38c1 Merge branch 'feat/mcp' into deploy/dev 12 months ago
Novice 7ccaadee83 fix: change the server version to support claude 12 months ago
Junyan Qin 654d3d53f8
feat: add `plugin` queue to celery cmd in entrypoint.sh 12 months ago
QuantumGhost 0d98f23549 fix(api): Fix resetting sys var causing internal server error 12 months ago
Junyan Qin d601dd3ae6
chore: commit plugin.py 12 months ago
Junyan Qin db0090972e
Merge branch 'feat/plugin-auto-upgrade' into deploy/dev 12 months ago
Novice 273cb091fa fix: mcp tool node icon 12 months ago
Novice c885b384a5 Merge branch 'main' into feat/mcp 12 months ago
Xin Zhang 37e19de7ab
feat(inner-api/workspace): include tenant details in CreateWorkspace response (#21636) 12 months ago
湛露先生 28f5c37211
Add Env 'CELERY_SENTINEL_PASSWORD' for celery connect redis sentinel. (#21198) 12 months ago
Yeuoly 87efe45240
feat(plugin): Add API endpoint for invoking LLM with structured output (#21624) 12 months ago
Yeuoly 0cb00d5fd2
refactor: move structured output support outside LLM Node (#21565)
Co-authored-by: Novice <novice12185727@gmail.com>
12 months ago
wanttobeamaster cdb9eecbaf
fix: Resolving conflicts caused by tablestore dependency on enum34 (#21605)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
12 months ago
Khoa a06af88b26
Feat/api validate model provider (#21582)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
NeatGuyCoding 33f0457a23
fix: wrong token number when using qa_model and answer is updated. (#21574) 12 months ago
Yeuoly cea6522122
feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities (#21425) 12 months ago
Novice f9c07ffca1 chore: update the mcp support version 12 months ago
Novice ecc4ad0770 fix: the mcp server disable status 12 months ago
Harry 8a954c0b19 Merge branch 'main' into feat/tool-plugin-oauth 12 months ago
Harry f4f6e41074 feat(oauth): add oauth redirect_uri parameters 12 months ago
Harry ba843c2691 feat(oauth): update api 12 months ago
Novice ef35e9febb feat: add server identifer field 12 months ago
jiangbo721 cefb8e4218
chore: Simplify code logic (#21496)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
jiangbo721 90aba77471
chore: remove unused code (#21497)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
NeatGuyCoding 785d4b3de7
feat: refactor: test_dataset unit tests #21499 (#21502) 12 months ago
NeatGuyCoding 6bb82f8ee0
Fix minor comment missing (#21517) 12 months ago
Novice 8f61408cb6 fix: change the mcp tool update logic 12 months ago
Xiyuan Chen d454f09e13
feat: add a magic field in the cancel invite api response (#21505) 12 months ago
Dongyu Li 00f0b569cc
Feat/kb index (#20868)
Co-authored-by: twwu <twwu@dify.ai>
12 months ago
-LAN- 3acaa59885
fix(update_provider_when_message_created): Fix db transaction (#21503)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
-LAN- 2d5cdbe79c
chore(version): Bump to 1.5.0 (#21415)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
-LAN- 8f15341f1e
fix(event_handlers): DB dead lock (#21468)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
Harry 6c9e99b0c6 Merge branch 'main' into feat/tool-plugin-oauth 12 months ago
Maries 1dd2607dfd
feat(oauth): refactor proxy context (#21483) 12 months ago
Harry ce4cc54cc9 feat(oauth): merge tool oauth and remove sequence number branches 12 months ago
Harry 1a2dfd950e Merge branch 'main' into feat/tool-plugin-oauth
# Conflicts:
#	api/core/plugin/impl/oauth.py
#	api/services/plugin/oauth_service.py
12 months ago
Harry a58e99c671 Merge branch 'main' into feat/tool-plugin-oauth 12 months ago
Maries 164e5481c5
feat(oauth): plugin oauth service (#21480) 12 months ago
Novice f783ad68e4 chore(refactor): queries in service and auth components 12 months ago
AuditAIH a098825fcc
Update smtp.py (#21335) 12 months ago
QuantumGhost 268da31332
fix(api): adding variable to variable pool recursively while loading draft variables. (#21478)
This PR fix the issue that `ObjectSegment` are not recursively added to the draft variable pool while loading draft variables from database. It also fixes an issue about loading variables with more than two elements in the its selector.

Enhances #19735.
Closes #21477.
12 months ago
NeatGuyCoding 94f8e48647
Refactor update dataset (fix #21401) (#21402)
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
12 months ago
Harry 8bd05aee4b Merge branch 'feat/plugin-oauth' into feat/tool-plugin-oauth
# Conflicts:
#	api/services/plugin/oauth_service.py
12 months ago
-LAN- c7ee0f2a93
fix(knowledge_base): Unchecked metadata name length (#21454)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago