yyh
6ee9078349
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
...
# Conflicts:
# api/.env.example
# api/uv.lock
# web/app/components/app/create-app-modal/index.tsx
# web/app/components/app/create-from-dsl-modal/index.tsx
# web/app/components/apps/app-card.tsx
# web/pnpm-lock.yaml
2026-01-29 21:25:28 +08:00
yihong
8aeef36e2d
feat: use xdist to make make test faster ( #30824 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2026-01-29 18:17:40 +08:00
Novice
9d99675a1d
chore: enhance NestedNodeGraphService with additional node data fields
2026-01-29 17:46:43 +08:00
盐粒 Yanli
62f46fc55c
chore(ty): Bootstrap ty type checking for api ( #31681 )
2026-01-29 16:45:07 +08:00
-LAN-
2626e773d9
chore: Set plugin schema cache TTL to 1h ( #31708 )
2026-01-29 16:41:09 +08:00
-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