-LAN-
0934b89da9
chore(import-linter): add a rule to make model_runtime isolate ( #31706 )
2026-01-29 15:06:40 +08:00
Asuka Minato
3bcfb4031a
refactor: ExporleBanner to TypeBase ( #31698 )
2026-01-29 15:34:14 +09:00
Nie Ronghua
ceb6914793
refactor(model): Refactor plugin model schema cache to be process-global to prevent redundant Daemon API calls ( #31689 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2026-01-29 14:31:15 +08:00
盐粒 Yanli
dbfc47e8b0
fix: SSRF in WordExtractor URL download (credit to @EaEa0001 ) ( #31678 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-29 14:01:21 +08:00
FFXN
c2473d85dc
feat: Add summary index for knowledge. ( #31625 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yansong Zhang <916125788@qq.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-29 13:47:35 +08:00
yyh
8a96f9f8df
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-29 11:44:01 +08:00
eux
b48a10d7ec
feat(qdrant): implement full-text search with multi-keyword support ( #31658 )
2026-01-29 11:12:18 +08:00
fenglin
91532ef429
fix: add list type support for ToolInput constant value in tool node ( #31276 )
...
Co-authored-by: qiaofenglin <qiaofenglin@baidu.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-29 10:49:29 +08:00
Harry
0495dc5085
feat(skill): tool switcher for llm node
...
- Added an `enabled` field to `DifyCliToolConfig` and `ToolDependency` to manage tool activation status.
- Updated `DifyCliConfig` to handle tool dependencies more effectively, ensuring only enabled tools are processed.
- Refactored `SkillCompiler` to utilize `tool_id` for better identification of tools and improved handling of disabled tools.
- Introduced a new method `_extract_disabled_tools` in `LLMNode` to streamline the extraction of disabled tools from node data.
- Enhanced metadata parsing to account for tool enablement, improving overall tool management.
2026-01-29 01:21:18 +08:00
Stream
2df4445aa7
fix: structured output should be non-streaming
2026-01-28 21:38:58 +08:00
yyh
d63a012680
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-28 21:29:25 +08:00
Harry
144089d3ed
feat(skill): tool switcher implementation
...
- Introduced a new regex pattern for tool groups to support multiple tool placeholders.
- Updated the DefaultToolResolver to format outputs for specific built-in tools (bash, python).
- Enhanced the SkillCompiler to filter out disabled tools in tool groups, ensuring only enabled tools are rendered.
- Added tests to verify the correct behavior of tool group filtering and rendering.
2026-01-28 21:16:10 +08:00
Harry
0c1e812d21
fix: defer sandbox SDK imports for gevent
2026-01-28 20:51:22 +08:00
Harry
e95241b94f
fix: command node
2026-01-28 20:51:22 +08:00
Harry
2513e191fb
feat: add computer use feature to LLMNodeData
...
- Introduced a new boolean field `computer_use` in LLMNodeData to indicate whether the computer use feature should be enabled.
- Updated LLMNode to check the `computer_use` field when determining sandbox usage, ensuring proper error handling if sandbox is not available.
- Removed the obsolete `_has_skill_prompt` method to streamline the code.
2026-01-28 20:51:22 +08:00
-LAN-
24ebe2f5c6
refactor(graph_engine): Add a Config class for graph engine. ( #31663 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2026-01-28 19:57:55 +08:00
Novice
209e4f8f7b
fix: structured output prompt skill should be false
2026-01-28 19:07:01 +08:00
yyh
f00d9186e4
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/commands.py
2026-01-28 16:03:44 +08:00
Novice
ca95b6684f
chore: improve assemble variable context generation
2026-01-28 15:34:28 +08:00
moonpanda
78198c6452
fix: vdb-migrate command did not use for parent-child segment migration ( #31605 )
...
Co-authored-by: warlocgao <warlocgao@tencent.com>
2026-01-28 14:54:50 +08:00
Harry
190453d397
fix: add timeout to queue.get() in QueueTransportReadCloser to prevent indefinite blocking
2026-01-28 14:45:17 +08:00
Harry
40a8e8febc
fix: add timeout to queue.get() in DockerDemuxer to prevent indefinite blocking
2026-01-28 13:52:31 +08:00
Harry
392cec2f54
Revert "refactor: replace threading with gevent primitives for cooperative scheduling"
...
This reverts commit 27781d6b7e .
2026-01-28 13:51:48 +08:00
Harry
27781d6b7e
refactor: replace threading with gevent primitives for cooperative scheduling
...
Updated multiple modules to utilize gevent for concurrency, ensuring compatibility with gevent-based WSGI servers. This includes replacing threading.Thread and threading.Event with gevent.spawn and gevent.event.Event, respectively, to prevent blocking and improve performance during I/O operations.
- Refactored SandboxBuilder, Sandbox, CommandFuture, and DockerDemuxer to use gevent.
- Added detailed docstrings explaining the changes and benefits of using gevent primitives.
This change enhances the responsiveness and efficiency of the application in a gevent environment.
2026-01-28 13:29:53 +08:00
yyh
d10d3b7021
chore: api linter
2026-01-28 11:42:55 +08:00
yyh
a38b8987b4
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/app/apps/workflow/app_runner.py
2026-01-28 11:41:58 +08:00
Novice
cd688a0d8f
fix: nested node single step run
2026-01-28 10:18:10 +08:00
Stream
a571b3abb2
chore: fix type issues
2026-01-28 06:43:08 +08:00
Stream
9d287647c1
fix: load $context correctly in step run llm node
2026-01-28 06:35:01 +08:00
Stream
403114eee9
chore: run ruff
2026-01-28 05:20:37 +08:00
Stream
efbd92fc7f
chore: run ruff
2026-01-28 05:20:19 +08:00
Stream
71d44ec52c
fix: union type handling
2026-01-28 02:07:03 +08:00
-LAN-
3d414678e3
fix(graph_engine): Cannot run single iteration or loop node ( #31470 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2026-01-28 01:05:59 +08:00
-LAN-
d76ad15fca
refactor(graph_engine): move observability layer and persistence laye… ( #31620 )
2026-01-28 00:54:21 +08:00
NeatGuyCoding
144ef0880a
fix(cors): correct CORS resource pattern for /console/api routes ( #31485 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
2026-01-27 20:03:32 +08:00
yyh
ae9c7d4e9f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-27 19:55:03 +08:00
Asuka Minato
8ec4233611
fix: doc not gen bug ( #31547 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
2026-01-27 20:19:39 +09:00
Harry
bf66627204
feat(skills): enhance skill retrieval by incorporating user context and app model in API endpoints
2026-01-27 19:11:52 +08:00
Harry
506163ab2d
feat(sandbox): restructure file handling by introducing a new inspector module with runtime and archive sources
2026-01-27 19:11:52 +08:00
Harry
951af125af
feat(skills): implement API endpoints for retrieving skill references in workflows and add related data models
2026-01-27 19:11:52 +08:00
Stream
a4a85f7168
feat: improve the suggest-question prompt
2026-01-27 19:10:43 +08:00
Stream
8174b67e24
fix: call get_text_content instead of accessing content directly
2026-01-27 18:56:13 +08:00
Stream
ae23d30da2
fix: call get_text_content instead of accessing content directly
2026-01-27 18:54:36 +08:00
Stream
adf104becd
fix: enhanced structured output
2026-01-27 18:33:51 +08:00
yyh
5d41f67fe1
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/workflow/graph_events/__init__.py
2026-01-27 16:22:02 +08:00
Asuka Minato
e482588ef8
fix: ConsoleDatasetListQuery request.args.to_dict() ( #31598 )
2026-01-27 17:12:52 +09:00
Harry
85ecf1a198
feat(sandbox): add file extension attribute to SandboxFileNode and update related logic
2026-01-27 15:58:14 +08:00
Harry
57a588265a
refactor(archive-storage): streamline archive handling by introducing dynamic archive name and path properties
2026-01-27 15:31:26 +08:00
heyszt
eca26a9b9b
feat: Enhances OpenTelemetry node parsers ( #30706 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 15:30:21 +08:00
Novice
2fb391a642
fix: generation stream abort
2026-01-27 15:28:35 +08:00
yyh
c9e428facf
Merge branch 'feat/support-agent-sandbox' of https://github.com/langgenius/dify into feat/support-agent-sandbox
2026-01-27 15:21:22 +08:00
yyh
1beafd8558
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-27 15:17:40 +08:00
Harry
504280995d
refactor(tool-access): rename ToolKey to ToolDescription and update ToolAccessPolicy to use mappings for allowed tools and credentials
2026-01-27 15:14:12 +08:00
Harry
b889ab8853
refactor(download): replace wget with curl for asset and archive downloads
2026-01-27 15:14:07 +08:00
Harry
394a811e5e
fix(local-env): replace os.rmdir with shutil.rmtree for directory removal
2026-01-27 15:13:55 +08:00
Harry
a29f569e08
feat(sandbox): enhance logging with colored output and add AppAssetAttrsInitializer
2026-01-27 14:19:27 +08:00
Harry
64b6a5dd31
feat(sandbox-zip-service): using sandbox to zip files
...
- refactor allllllllll!!!!!!
2026-01-27 14:19:27 +08:00
Harry
9094f9d313
feat(zip-sandbox): special use of sandbox implementation
2026-01-27 14:19:27 +08:00
Harry
89eb7b17db
feat(dify-cli): session level tool white list
2026-01-27 14:19:26 +08:00
hjlarry
a9e1394011
add skill markdown file collaboration
2026-01-27 14:08:44 +08:00
hj24
b4eef76c14
fix: billing account deletion ( #31556 )
2026-01-27 11:18:23 +08:00
dependabot[bot]
cbf7f646d9
chore(deps): bump pypdf from 6.6.0 to 6.6.2 in /api ( #31568 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-27 11:06:13 +08:00
Novice
f0f796fdc0
fix: remove additional sse event
2026-01-27 10:49:37 +08:00
E.G
f6be9cd90d
refactor: replace request.args.get with Pydantic BaseModel validation ( #31104 )
...
Co-authored-by: GlobalStar117 <GlobalStar117@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-27 10:48:42 +08:00
dependabot[bot]
360f3bb32f
chore(deps): bump pycryptodome from 3.19.1 to 3.23.0 in /api ( #31504 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-27 10:43:05 +08:00
hjlarry
c4e5eba6c3
switch to skills tab, keep ws connected and ensure has leader
2026-01-27 10:22:05 +08:00
Novice
585e11a1fc
fix: llm invoke condition
2026-01-27 10:12:51 +08:00
盐粒 Yanli
f00d823f9f
chore: move agent notes into docstrings ( #31560 )
2026-01-27 09:32:26 +08:00
Stream
6b439b1699
fix: behave correctly when user is not talking Dify
2026-01-27 00:33:41 +08:00
wangxiaolei
e48419937b
feat: chatflow support multimodal ( #31293 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-27 00:24:48 +08:00
Stream
b57b1a6926
feat: generate better instructions
2026-01-27 00:09:11 +08:00
Stream
a9fb73fa31
fix: avoid flask backend error
2026-01-27 00:02:41 +08:00
yyh
87d033e186
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-26 23:12:44 +08:00
Asuka Minato
5eaf0c733a
fix: service api doc can not gen ( #31549 )
2026-01-26 21:59:02 +09:00
Junyan Qin (Chin)
f01f555146
chore: increase plugin cache ttl to 1 hour ( #31552 )
2026-01-26 19:48:33 +08:00
Joel
2e954388f5
merge
2026-01-26 16:57:45 +08:00
Asuka Minato
eba5eac3fa
refactor: api/controllers/console/setup.py to ov3 ( #31465 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-26 15:04:33 +08:00
Asuka Minato
19008dce13
refactor: api/controllers/console/version.py to v3 ( #31463 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-26 15:04:25 +08:00
盐粒 Yanli
92011d0a31
refactor: LLM plugin invoke parsing ( #31499 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-26 14:59:57 +08:00
Xiangxuan Qu
a51ced0a4f
refactor: pass BaseModel instances instead of dict ( #31514 )
...
Co-authored-by: fghpdf <fghpdf@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-26 14:50:14 +08:00
Novice
87bcd70f59
feat: add tool call based structured output
2026-01-26 14:17:57 +08:00
Harry
39799b9db7
feat(sandbox): artifact browser
2026-01-26 14:13:36 +08:00
zyssyz123
7c12e923b6
feat: add trial model list in system features ( #31313 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: hj24 <mambahj24@gmail.com>
2026-01-26 11:52:05 +08:00
yyh
83c3c23c27
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-26 11:18:41 +08:00
Asuka Minato
b9f1d65d4f
refactor: example of refine dict / Mapping ( #31498 )
2026-01-26 10:23:38 +08:00
hjlarry
b44169de41
fix mysql-connector-python 9.6 not work
2026-01-26 09:37:21 +08:00
Stream
bd2ee70c63
fix: remove output tokens constraint
...
Signed-off-by: Stream <Stream_2@qq.com>
2026-01-26 02:53:40 +08:00
Harry
87dba2765b
fix(tests): remove unnecessary noqa directive from test function
2026-01-26 01:12:07 +08:00
Harry
af17e20f99
feat(sandbox): implement sandbox archive upload/download endpoints and security enhancements
...
- Added sandbox archive upload and download proxy endpoints with signed URL verification.
- Introduced security helpers for generating and verifying signed URLs.
- Updated file-related API routes to include sandbox archive functionality.
- Refactored app asset storage methods to streamline download/upload URL generation.
2026-01-26 01:11:53 +08:00
Harry
47835aaad9
feat(app-assets): add upload functionality and update proxy handling
2026-01-25 15:34:53 +08:00
Harry
c035133353
refactor(asset-storage): fix security problems
2026-01-25 03:44:36 +08:00
hjlarry
1c943eb89f
fix migration file version
2026-01-25 00:05:19 +08:00
hjlarry
4c596aaac2
Merge branch 'feat/collaboration2' into feat/support-agent-sandbox
2026-01-25 00:00:03 +08:00
hjlarry
f4321279b9
fix migration file
2026-01-24 19:51:43 +08:00
autofix-ci[bot]
89b2ae01a6
[autofix.ci] apply automated fixes
2026-01-24 07:26:47 +00:00
hjlarry
edb4457684
Merge remote-tracking branch 'myori/main' into feat/collaboration2
2026-01-24 15:22:07 +08:00
dependabot[bot]
9d38af6d99
chore(deps): bump pyasn1 from 0.6.1 to 0.6.2 in /api ( #31140 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-24 10:31:56 +08:00
TomoOkuyama
0772d49257
fix(api): fix IRIS hybrid search returning zero results ( #31309 )
...
Co-authored-by: Tomo Okuyama <tomo.okuyama@intersystems.com>
2026-01-24 10:29:19 +08:00
-LAN-
67eb8c052d
refactor: single-node workflow runner helpers ( #31472 )
2026-01-24 10:27:44 +08:00
Asuka Minato
5c4028d557
refactor: port AppModelConfig ( #30919 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-24 10:25:51 +08:00