Commit Graph

3808 Commits (b32b70ac3405dd44740617d77011306ddf698d4c)

Author SHA1 Message Date
Kalo Chin b32b70ac34
Merge branch 'main' into fix-agent-node-file-hanlding-one-turn-delay-bug 11 months ago
湛露先生 edf5fd28c9
update worklow events logs. (#19871)
Signed-off-by: zhanluxianshen <zhanluxianshen@163.com>
11 months ago
Novice 535fff62f3
feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
11 months ago
baonudesifeizhai 18b58424ec
Fix: Resolve issue with json_output (#22053) 11 months ago
Yongtao Huang 10858ea1dc
Chore: rm useless import and vars (#22108) 11 months ago
NeatGuyCoding 6f8c7a66c8
feat: add redis fallback mechanism #21043 (#21044)
Co-authored-by: tech <cto@sb>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
11 months ago
luckylhb90 a371390d6c
optimize: batch embedding and qdrant write_consistency_factor parameter (#21776)
Co-authored-by: hobo.l <hobo.l@binance.com>
11 months ago
Jason Young 881a151d30
test: add comprehensive unit tests for encrypter module (#22102) 11 months ago
wangsen3 b237113311
Update clean_document_task.py (#22090) 11 months ago
-LAN- 4cb50f1809
feat(libs): Introduce `extract_tenant_id` (#22086)
Signed-off-by: -LAN- <laipz8200@outlook.com>
11 months ago
wlleiiwang 89b52471fb
Optimize the memory usage of Tencent Vector Database (#22079)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
11 months ago
Minamiyama 3643ed1014
Feat: description field for env variables (#21556) 11 months ago
Yongtao Huang 521488f926
Remove tow unused files (#22022) 11 months ago
Kalo Chin c3455c8561 Increase node_id length in NodeFileUsage to 255 chars
Updated the node_id column in both the migration and model definition from 64 to 255 characters to support longer node identifiers.
11 months ago
Jason Young d61ea5a2de
test: add comprehensive unit tests for UrlSigner (#22030) 11 months ago
Davide Delbianco 816210d744
Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
11 months ago
Jason Young 5c0cb7f912
test: add unit tests for password validation and hashing (#22003) 11 months ago
NeatGuyCoding 2ffbf5435d
minro fix: fix duplicate local import of ToolProviderType (#22013)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
NeatGuyCoding 53c4912cbb
feat: add unit tests and validation for aliyun tracing (#22012)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
Kalo Chin c19832341c Update 2025_07_07_1152-b2a0bfccd123_add_node_file_usage.py 11 months ago
Kalo Chin 6436e0d82a Minor code cleanup in memory and agent node modules
Refactored list comprehension in token_buffer_memory.py for conciseness and added minor formatting improvements in agent_node.py. No functional changes were made.
11 months ago
Kalo Chin b448a2fccf feat: Add node file usage tracking and filtering
Introduces the NodeFileUsage model and migration to track file usage per node in conversations. Updates token buffer memory and agent node logic to filter file attachments based on node context, preventing cross-node file leakage. Also registers the new model in the models package.
11 months ago
NeatGuyCoding 1760179093
minro fix: fix a typo for aliyun (#22001)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
Yongtao Huang de54f8d0ef
Chore: remove unreachable code (#21986) 11 months ago
quicksand 5b0b64c7e5
fix: document delete image files check file exist (#21991) 11 months ago
-LAN- 8f723697ef
refactor(graph_engine): Take GraphRuntimeState out of GraphEngine (#21882) 11 months ago
baonudesifeizhai b9f56852dc
fix: resolve JSON.parse precision issue causing 'list index out of ra… (#21253) 11 months ago
baonudesifeizhai 108cc3486f
fix(agent): show agent run steps, fixes #21718 (#21945)
Co-authored-by: crazywoola <427733928@qq.com>
11 months ago
NeatGuyCoding ac69b8b191
refactor: extract common url validator for config_entity.py (#21934)
Signed-off-by: neatguycoding <15627489+NeatGuyCoding@users.noreply.github.com>
11 months ago
Kalo Chin 87530438c0 Update agent_node.py 11 months ago
Kalo Chin 4f733af60f Update agent_node.py 11 months ago
Kalo Chin f3b75f9b4a Update agent_node.py 12 months ago
Kalo Chin 0126cccba2 Add support for file segments in agent node prompts
Enhanced the AgentNode to handle FileSegment and ArrayFileSegment types when constructing user prompt messages. Now, if file segments are present in the variable pool, they are included in the prompt contents using the file_manager, allowing richer prompt construction with both text and files.
12 months ago
heyszt a201e9faee
feat: Add Aliyun LLM Observability Integration (#21471) 12 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>
12 months ago
Bowen Liang 6663187eca
test:add unit test for api version config (#21919) 12 months ago
Ganondorf c9c49200e0
use repair_json fix json parse error of HTTPRequestNode (#21909)
Co-authored-by: lizb <lizb@sugon.com>
12 months ago
非法操作 a79f37b686
fix: tts tool must choose a voice (#21877) 12 months ago
baonudesifeizhai 1c7404099d
fix: prevent timeout in file encoding detection for large files (#21453)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
cutiechi 47954aa284
feat(api): validate and reject external datasets in document update (#21783) 12 months ago
Novice f3c8625fe2
fix: The statistics page cannot display the tokens consumed by agent node (#21861) 12 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>
12 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>
12 months ago
jiangbo721 31eb8548ef
fix: Before publish the app, preview the voice of tts, it raise an er… (#21821)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Yeuoly 980b0188d2
feat(tests): add structured output parser tests for LLM responses (#21838) 12 months ago
jiangbo721 e17b33e004
chore: add message status enum (#21825)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Yeuoly 5487463385
fix: add list contents handling in structured LLM output (#21837) 12 months ago
Bowen Liang cc89d7b1a5
remove unused config CURRENT_VERSION (#21832)
as API module's version code refactored into pyproject.toml file in refactor: define the Dify project version in pyproject.toml #20910, the deprecated CURRENT_VERSION is no longger used and should be removed.
12 months ago
-LAN- bb955806e0
chore(version): bump to 1.5.1 (#21808)
Signed-off-by: -LAN- <laipz8200@outlook.com>
12 months ago
efrey kong 826bf25abf
Fix: prevent SQL errors when metadata filter Constant value is None or blank (#21803) 12 months ago