Asuka Minato
58608f51da
replace db with sa to get typing support ( #23240 )
2025-08-02 23:54:23 +08:00
Hasta
688d07e9c3
fix the error of unable to retrieve url from file ( #13603 )
2025-08-02 17:15:55 +08:00
liujin-patsnap
bc18d4d1b9
Fix: Correct file variable handling for custom tools in workflow ( #18427 )
2025-08-02 03:36:04 +08:00
Yongtao Huang
be914438a5
Fix: incorrect array element validation in SegmentType ( #23289 )
2025-08-01 22:46:50 +08:00
Tianyi Jing
ec488a4c43
fix: type for ProviderConfig.default ( #23282 )
...
Signed-off-by: jingfelix <jingfelix@outlook.com>
2025-08-01 17:37:22 +08:00
wanttobeamaster
da5c003f97
chore: tablestore full text search support score normalization ( #23255 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-08-01 14:14:11 +08:00
baonudesifeizhai
872ff3f1d4
fix: resolve multipart/form-data boundary issue in HTTP Request compo nent #22880 ( #23008 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-08-01 10:26:50 +08:00
Yongtao Huang
a434f6240f
Chroe: some misc cleanup ( #23203 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-31 15:33:39 +08:00
Ali Saleh
142ab74784
feat: Enable Tracing Support For Phoenix Cloud Instance ( #23196 )
2025-07-30 15:58:26 -07:00
Aurelius Huang
ffddabde43
feat(notion): Notion Database extracts Rows content `in row order` and appends `Row Page URL` ( #22646 )
...
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2025-07-30 21:35:20 +08:00
Will
4e2129d74f
fix: Error processing trace tasks ( #23170 )
2025-07-30 18:00:15 +08:00
kenwoodjw
28478cdc41
feat: support metadata condition filter string array ( #23111 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-30 16:13:45 +08:00
rhochman
eee576355b
Fix: Support for Elasticsearch Cloud Connector ( #23017 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-30 11:12:16 +08:00
znn
0b44edaca9
request fail when no api key ( #23135 )
2025-07-30 10:36:03 +08:00
Yongtao Huang
ab163a5f75
Chore: use `Workflow.VERSION_DRAFT` instead of hardcoded `draft` ( #23136 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:34:51 +08:00
Shaun
00cb1c26a1
refactor: pass external_trace_id to message trace ( #23089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 19:34:46 +08:00
NeatGuyCoding
63b6026e6e
minor fix: fix error messages ( #23081 )
2025-07-29 10:59:43 +08:00
chenguowei
fce126b206
fix(api): fix incorrect path handling in Langfuse integration ( #22766 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-28 15:37:13 +08:00
Tianyi Jing
3f8fb18c89
fix: delete the old provider_config_cache after refresh_credentials ( #23033 )
...
Signed-off-by: jingfelix <jingfelix@outlook.com>
2025-07-28 14:07:51 +08:00
呆萌闷油瓶
f72c03a174
feat: Support selecting variables in conditional filtering in list operations. ( #23029 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-28 13:59:34 +08:00
Mike Zixuan HE
bd5b938571
feat: Support allOf in OpenAPI properties inside schema #22946 ( #22975 )
2025-07-28 11:03:19 +08:00
heyszt
7eb707f811
Rollback Aliyun Trace Icon File ( #23027 )
2025-07-28 11:01:38 +08:00
Yongtao Huang
1c05491f1c
Chore: remove duplicate TYPE_CHECKING import ( #23013 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-07-28 10:04:45 +08:00
Will
67a0751cf3
fix: Improve create_agent_thought and save_agent_thought Logic ( #21263 )
2025-07-27 11:06:37 +08:00
Yongtao Huang
5411fd3757
Fix: correct misplaced `ensure_ascii=False` ( #22997 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-07-26 18:29:03 +08:00
Yongtao Huang
faaf828dff
Remove redundant condition check ( #22983 )
...
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-07-25 23:38:16 +08:00
Yongtao Huang
31985d94fa
Fix incorrect assert type in the AgentNode class ( #22964 )
2025-07-25 16:31:21 +08:00
little_huang
32df3b68c7
fix: correct typo in function name paser_docx_part -> parser_docx_part ( #22936 )
2025-07-25 10:33:55 +08:00
Asuka Minato
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
quicksand
8340d775bd
Improve: support custom model parameters in auto-generator ( #22924 )
2025-07-25 09:00:26 +08:00
Yeuoly
206bc4b36d
chore: enhance error message when handling PluginInvokeError ( #22908 )
2025-07-24 21:58:39 +08:00
Yeuoly
9237976988
fix: refine handling of constant and mixed input types in ToolManager and ToolNodeData ( #22903 )
2025-07-24 16:14:08 +08:00
呆萌闷油瓶
371fe7a700
fix: type error in list-operator ( #22803 )
2025-07-24 12:21:20 +08:00
Will
a327d024e9
fix: improved conversation name ( #22840 )
2025-07-24 11:28:05 +08:00
jiangbo721
5a02e599e1
chore: code format model-selector use enum ( #22787 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-24 10:11:24 +08:00
Asuka Minato
ef51678c73
orm filter -> where ( #22801 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 00:57:45 +08:00
wanttobeamaster
8278b39f85
fix tablestore full text search bug ( #22853 )
2025-07-23 19:31:47 +08:00
wanttobeamaster
1c3c40db69
fix: tablestore TypeError when vector is missing ( #22843 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-07-23 18:59:16 +08:00
wlleiiwang
b4e152f775
FEAT: Tencent Vector search supports backward compatibility with the previous score calculation approach. ( #22820 )
...
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
2025-07-23 15:38:31 +08:00
Junyan Qin (Chin)
eaae79a581
feat: plugin auto upgrade strategy ( #19758 )
...
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Novice <novice12185727@gmail.com>
2025-07-23 15:33:39 +08:00
-LAN-
6b544aa0b9
feat: decouple WorkflowAppRunner from AppRunner ( #21739 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-23 14:56:06 +08:00
crazywoola
60c37fe492
Added a check to ensure the input `text` is a string before proceeding with parsing ( #22809 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-07-23 13:53:27 +08:00
Maries
ad67094e54
feat: oauth refresh token ( #22744 )
...
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-23 13:12:39 +08:00
Asuka Minato
6d3e198c3c
Mapped column ( #22644 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-23 00:39:59 +08:00
呆萌闷油瓶
5c7f0a533a
fix : #22784 ( #22795 )
2025-07-22 22:28:45 +08:00
Will
095bae01b2
fix: Invalid expected metadata value type error ( #22793 )
2025-07-22 22:28:16 +08:00
wanttobeamaster
a2048fd0f4
fix: tablestore vdb support metadata filter ( #22774 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-07-22 16:48:59 +08:00
qfl
841e53dbbe
feat(trace): support external trace id propagation ( #22623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-22 15:17:43 +08:00
Novice
e9c9c5d8f1
fix: single step node execution init error ( #22764 )
...
LGTM
2025-07-22 13:00:24 +08:00
Junyan Qin (Chin)
2d8eace34b
feat: plugin deprecation notice ( #22685 )
...
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com>
Co-authored-by: twwu <twwu@dify.ai>
2025-07-22 10:27:35 +08:00
issac2e
58d92970a9
Optimize tencent_vector knowledge base deletion error handling with batch processing support ( #22726 )
...
Co-authored-by: liuchen15 <liuchen15@gaotu.cn>
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-22 08:21:41 +08:00
jiangbo721
e9893f1518
chore: use 'json_list' instead of 'json' to prevent ambiguity ( #22739 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-22 02:40:40 +08:00
Will
29f0a9ab94
Fix incorrect mcp method_name ( #22736 )
2025-07-21 21:14:38 +08:00
-LAN-
62b29b3d76
feat: update file manager and file factory implementations ( #22704 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-21 17:37:08 +08:00
uply23333
ab012fe1a2
fix: improve document filtering in full text search(elasticsearch) ( #22683 )
2025-07-21 15:59:37 +08:00
8bitpd
9251a66a10
fix: update analyticdb vector to do filter by metadata ( #22698 )
...
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2025-07-21 15:03:37 +08:00
quicksand
d45e48eed7
fix: knowledge retrieval validation error ( #22682 )
2025-07-21 11:22:32 +08:00
Bowen Liang
74940ad3f2
chore: code improvement for mcp_client and mcp_tools_manage_service ( #22645 )
2025-07-21 09:52:55 +08:00
Novice
17a8f1a0f1
fix: avoid using node_data.version for judgement tool node version ( #22462 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com>
2025-07-21 09:28:47 +08:00
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
kurokobo
a93db6d797
fix: correct tracing for workflows and chatflows for phoenix ( #22547 )
2025-07-18 13:54:18 +08:00
znn
ed263aed9f
fix text splitter ( #22596 )
2025-07-18 13:51:58 +08:00
-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>
2025-07-18 10:34:47 +08:00
-LAN-
460a825ef1
refactor: decouple Node and NodeData ( #22581 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-18 10:08:51 +08:00
-LAN-
1715dd4320
refactor: Fix some type error ( #22594 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:29 +08:00
-LAN-
b88dd17fc1
feat(workflow_cycle_manager): Removes redundant repository methods and adds caching ( #22597 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:05 +08:00
helojo
e7d80bf7bf
Fix: the pict type picture was not processed in the docx ( #19305 )
...
Co-authored-by: zqgame <zqgame@zqgame.local>
2025-07-17 22:53:35 +08:00
Kalo Chin
7a69b57823
Fix jinja2 variable naming inconsistencies ( #22578 )
2025-07-17 22:16:47 +08:00
Maries
a4ef900916
Support OAuth Integration for Plugin Tools ( #22550 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
2025-07-17 17:18:44 +08:00
Stream
4b2baeea65
fix: use model provided by user in prompt generator ( #22541 ) ( #22542 )
...
Co-authored-by: stream <stream@dify.ai>
2025-07-17 14:19:52 +08:00
quicksand
10e6b11ff6
fix: code node check decimal precision ( #22522 )
2025-07-17 13:21:17 +08:00
NeatGuyCoding
c3037c5491
minor code fix: remove duplicate type check branch ( #22536 )
2025-07-17 13:20:31 +08:00
jiangbo721
fb5c6dd644
chore: remove unused code ( #22501 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-17 09:33:31 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
kenwoodjw
3587bd4040
fix mcp error not input ( #22505 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-07-17 09:32:42 +08:00
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>
2025-07-16 15:46:15 +08:00
heyszt
2c9ee54a16
fix aliyun trace session_id ( #22468 )
2025-07-16 13:56:44 +08:00
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 .
2025-07-16 12:31:37 +08:00
NeatGuyCoding
bf542233a9
minor fix: using Pydantic model_validate instead of deprecated parse_obj ( #22239 )
...
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
2025-07-16 10:57:08 +08:00
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>
2025-07-16 00:01:44 +08:00
Hao Cheng
32c541a9ed
fix: generate deterministic operationId for root endpoints without one ( #19888 )
2025-07-15 14:19:55 +08:00
quicksand
5247c19498
fix: code result included "error" field ( #22392 )
2025-07-15 13:55:00 +08:00
湛露先生
9823edd3a2
fix workflow node iterator . ( #21008 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-15 10:55:49 +08:00
homejim
8e910d8c59
fix(plugin): introduce response_type parameter in plugin list API to enable paginated response support ( #22251 )
2025-07-15 10:10:37 +08:00
wanttobeamaster
bf7b2c339b
tablestore vector support more method ( #22225 )
...
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
2025-07-15 09:58:48 +08:00
quicksand
ebb88bbe0b
improve opik workflow_trace span name to node name ( #22356 )
2025-07-15 09:33:06 +08:00
Jacky Wu
3e96c0c468
fix: close session before doing long latency operation ( #22306 )
2025-07-14 15:16:10 +08:00
-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>
2025-07-14 14:54:38 +08:00
Novice
1d54ffcf89
fix: error parsing object type parameters for code node ( #22230 )
2025-07-14 10:37:26 +08:00
K
d5624ba671
fix: resolve Docker file URL networking issue for plugins ( #21334 ) ( #21382 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-07-11 12:11:59 +08:00
诗浓
e576b989b8
feat(tool): add support for API key authentication via query parameter ( #21656 )
2025-07-11 10:39:20 +08:00
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>
2025-07-11 09:40:17 +08:00
诗浓
f4df80e093
fix(custom_tool): omit optional parameters instead of setting them to None ( #22171 )
2025-07-10 20:56:45 +08:00
Novice
0e793a660d
fix: add the default value to the dark icon ( #22149 )
2025-07-10 17:13:48 +08:00
非法操作
7b2cab5767
feat: support ping method for MCP server ( #22144 )
2025-07-10 16:14:46 +08:00
Yeuoly
94a13d7d62
feat: add support for dark icons in provider and tool entities ( #22081 )
2025-07-10 14:43:31 +08:00
湛露先生
edf5fd28c9
update worklow events logs. ( #19871 )
...
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
2025-07-10 14:21:34 +08:00
Novice
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00
baonudesifeizhai
18b58424ec
Fix: Resolve issue with json_output ( #22053 )
2025-07-10 13:34:06 +08:00
luckylhb90
a371390d6c
optimize: batch embedding and qdrant write_consistency_factor parameter ( #21776 )
...
Co-authored-by: hobo.l <hobo.l@binance.com>
2025-07-10 10:16:59 +08:00