Commit Graph

3783 Commits (c3455c85619fb65c3b887ea460d1659b0c47b2f8)

Author SHA1 Message Date
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
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
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
QuantumGhost 89250a36b7
fix(api): files not returned in the answer node (#21807) 12 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.
12 months ago
jiangbo721 71d6cf1b1d
fix: Make the latency and logs of web applications consistent. (#21578)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Davide Delbianco c4b960cc1a
Improve Langfuse trace readability (#21777) 12 months ago
NeatGuyCoding a82943a83d
minor fix: add parameters in error msg of Plugin service returned no options (#21662) 12 months ago
jiangbo721 9a4c1fe834
fix: if parameter is not required, continue (#21761)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
Bowen Liang b9ff716c18
fix: incorrect api module version in pyproject.toml (#21755)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
baonudesifeizhai 8516d15a4e
fix: handle configure button for notion internal integration (#21412) 12 months ago
quicksand 4198a533ad
fix: code Interpreter error handling not work (#21736) 12 months ago
Bowen Liang 1a7ad195f0
refactor: define the Dify project version in pyproject.toml (#20910) 12 months ago
Qiang Lee cf2173644e
Release db.session connection before workflow new thread long time operation (#21726)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
12 months ago
YoungLH b8b9c3a783
fix: set the func.coalesce() second paramter default value #21239 (#21240)
Signed-off-by: YoungLH <974840768@qq.com>
12 months ago
Han 69b6f6f5d2
Fixes issue 21157/20661 extra quote in agent node (#21674)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
12 months ago
Qiang Lee 9ded6f6a40
[fix] #21678 User input of remote file link on the run page form causes conversation/message interface error (#21683)
Co-authored-by: 李强04 <liqiang04@gaotu.cn>
12 months ago
Ganondorf 55a6b330ec
Add get document detail service api (#21700)
Co-authored-by: lizb <lizb@sugon.com>
12 months ago
Xin Zhang 37e19de7ab
feat(inner-api/workspace): include tenant details in CreateWorkspace response (#21636) 12 months ago
湛露先生 28f5c37211
Add Env 'CELERY_SENTINEL_PASSWORD' for celery connect redis sentinel. (#21198) 12 months ago
Yeuoly 87efe45240
feat(plugin): Add API endpoint for invoking LLM with structured output (#21624) 12 months ago
Yeuoly 0cb00d5fd2
refactor: move structured output support outside LLM Node (#21565)
Co-authored-by: Novice <novice12185727@gmail.com>
12 months ago
wanttobeamaster cdb9eecbaf
fix: Resolving conflicts caused by tablestore dependency on enum34 (#21605)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
12 months ago
Khoa a06af88b26
Feat/api validate model provider (#21582)
Co-authored-by: crazywoola <427733928@qq.com>
12 months ago
NeatGuyCoding 33f0457a23
fix: wrong token number when using qa_model and answer is updated. (#21574) 12 months ago
Yeuoly cea6522122
feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities (#21425) 12 months ago
jiangbo721 cefb8e4218
chore: Simplify code logic (#21496)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago
jiangbo721 90aba77471
chore: remove unused code (#21497)
Co-authored-by: 刘江波 <jiangbo721@163.com>
12 months ago