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>
3 months ago
Hao Cheng
32c541a9ed
fix: generate deterministic operationId for root endpoints without one (#19888)
3 months ago
quicksand
5247c19498
fix: code result included "error" field (#22392)
3 months ago
湛露先生
9823edd3a2
fix workflow node iterator . (#21008)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
3 months ago
homejim
8e910d8c59
fix(plugin): introduce response_type parameter in plugin list API to enable paginated response support (#22251)
3 months ago
wanttobeamaster
bf7b2c339b
tablestore vector support more method (#22225)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
3 months ago
quicksand
ebb88bbe0b
improve opik workflow_trace span name to node name (#22356)
3 months ago
Jacky Wu
3e96c0c468
fix: close session before doing long latency operation (#22306)
3 months ago
-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>
3 months ago
Novice
1d54ffcf89
fix: error parsing object type parameters for code node (#22230)
3 months ago
K
d5624ba671
fix: resolve Docker file URL networking issue for plugins (#21334) (#21382)
Co-authored-by: crazywoola <427733928@qq.com>
3 months ago
诗浓
e576b989b8
feat(tool): add support for API key authentication via query parameter (#21656)
3 months ago
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>
3 months ago
诗浓
f4df80e093
fix(custom_tool): omit optional parameters instead of setting them to None (#22171)
3 months ago
Novice
0e793a660d
fix: add the default value to the dark icon (#22149)
3 months ago
非法操作
7b2cab5767
feat: support ping method for MCP server (#22144)
3 months ago
Yeuoly
94a13d7d62
feat: add support for dark icons in provider and tool entities (#22081)
3 months ago
湛露先生
edf5fd28c9
update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
3 months ago
Novice
535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
3 months ago
baonudesifeizhai
18b58424ec
Fix: Resolve issue with json_output (#22053)
3 months ago
luckylhb90
a371390d6c
optimize: batch embedding and qdrant write_consistency_factor parameter (#21776)
Co-authored-by: hobo.l <hobo.l@binance.com>
3 months ago
-LAN-
4cb50f1809
feat(libs): Introduce `extract_tenant_id` (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.com>
3 months ago
wlleiiwang
89b52471fb
Optimize the memory usage of Tencent Vector Database (#22079)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
3 months ago
Yongtao Huang
521488f926
Remove tow unused files (#22022)
3 months ago
Davide Delbianco
816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
3 months ago
NeatGuyCoding
2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
3 months ago
NeatGuyCoding
53c4912cbb
feat: add unit tests and validation for aliyun tracing (#22012)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
3 months ago
NeatGuyCoding
1760179093
minro fix: fix a typo for aliyun (#22001)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
3 months ago
quicksand
5b0b64c7e5
fix: document delete image files check file exist (#21991)
3 months ago
-LAN-
8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882)
3 months ago
baonudesifeizhai
b9f56852dc
fix: resolve JSON.parse precision issue causing 'list index out of ra… (#21253)
3 months ago
baonudesifeizhai
108cc3486f
fix(agent): show agent run steps, fixes #21718 (#21945)
Co-authored-by: crazywoola <427733928@qq.com>
3 months ago
NeatGuyCoding
ac69b8b191
refactor: extract common url validator for config_entity.py (#21934)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
3 months ago
heyszt
a201e9faee
feat: Add Aliyun LLM Observability Integration (#21471)
4 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>
4 months ago
Ganondorf
c9c49200e0
use repair_json fix json parse error of HTTPRequestNode (#21909)
Co-authored-by: lizb <lizb@sugon.com>
4 months ago
非法操作
a79f37b686
fix: tts tool must choose a voice (#21877)
4 months ago
baonudesifeizhai
1c7404099d
fix: prevent timeout in file encoding detection for large files (#21453)
Co-authored-by: crazywoola <427733928@qq.com>
4 months ago
Novice
f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node (#21861)
4 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>
4 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>
4 months ago
jiangbo721
e17b33e004
chore: add message status enum (#21825)
Co-authored-by: 刘江波 <jiangbo721@163.com>
4 months ago
Yeuoly
5487463385
fix: add list contents handling in structured LLM output (#21837)
4 months ago
efrey kong
826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank (#21803)
4 months ago
QuantumGhost
89250a36b7
fix(api): files not returned in the answer node (#21807)
4 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.
4 months ago
jiangbo721
71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
4 months ago
Davide Delbianco
c4b960cc1a
Improve Langfuse trace readability (#21777)
4 months ago
NeatGuyCoding
a82943a83d
minor fix: add parameters in error msg of Plugin service returned no options (#21662)
4 months ago
jiangbo721
9a4c1fe834
fix: if parameter is not required, continue (#21761)
Co-authored-by: 刘江波 <jiangbo721@163.com>
4 months ago