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
ef6f7f2a6c
refactor: extract InspectLayout composition component to eliminate repeated header/close patterns
...
Consolidate duplicated TabHeader + close button layout (8 occurrences) into a single
InspectLayout wrapper. Replace boolean props with children slots for better composition.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 12:50:04 +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
zxhlyh
6fff46bc29
feat: summary index ( #31523 )
2026-01-28 11:09:34 +08:00
hjlarry
0d9de79fae
feat: skill markdown cursor pos sync
2026-01-28 11:03:21 +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
zhsama
c46856d5ac
feat: Validate LLM node context before running workflow
2026-01-27 23:54:42 +08:00
zhsama
ffca687f4e
fix: Add type safety for LLM node context variable_selector
2026-01-27 23:12:03 +08:00
Joel
fd078f8853
fix: computer tooptip ui
2026-01-27 20:20:29 +08:00
Joel
af543d2a7f
chore: tool ui
2026-01-27 20:20:29 +08:00
Joel
015befad43
feat: config reference tool ui
2026-01-27 20:20:29 +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
Coding On Star
11259617fa
test: add comprehensive tests for chat-user-input component ( #31595 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 20:02:49 +08:00
yyh
ae9c7d4e9f
Merge remote-tracking branch 'origin/main' into feat/support-agent-sandbox
2026-01-27 19:55:03 +08:00
yyh
caa30ddcc0
chore: remove project skills ( #31615 )
2026-01-27 19:54:46 +08:00
yyh
daa6413353
chore: rm skills
2026-01-27 19:50:26 +08:00
zhsama
5b485d7cd0
Merge branch 'zhsama/dar-es-salaam' into feat/support-agent-sandbox
...
# Conflicts:
# api/core/llm_generator/llm_generator.py
# api/core/llm_generator/output_models.py
# api/core/llm_generator/output_parser/structured_output.py
# api/tests/unit_tests/utils/structured_output_parser/test_structured_output_parser.py
2026-01-27 19:45:02 +08:00
zhsama
39ec2b3277
feat: Add file type support to LLM node JSON schema editor
2026-01-27 19:39:32 +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
zxhlyh
17807dbf18
fix: llm generation log
2026-01-27 17:13:40 +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
yyh
ab52550abe
feat(sandbox): use extension field for file icon type mapping
...
Enhance getFileIconType to accept an extension parameter and cover all
13 FileAppearanceTypeEnum types using an O(1) Map lookup. Update all
call sites to pass the API-provided extension for accurate icon display.
2026-01-27 16:21:03 +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
Coding On Star
b66bd5f5a8
feat: enhance quota panel with installed providers mapping ( #31546 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 15:43:37 +08:00
Coding On Star
c8abe1c306
test: add tests for dataset document detail ( #31274 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
Co-authored-by: CodingOnStar <hanxujiang@dify.com>
2026-01-27 15:43:27 +08:00
Joel
046aff93f6
fix: metadata not set in llm prompt
2026-01-27 15:35:16 +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