Commit Graph

570 Commits

Author SHA1 Message Date
Bowen Liang 8a15c6d895 chore: code improvement for mcp_client and mcp_tools_manage_service (#22645) 2025-07-21 09:52:55 +08:00
Aryan Raj 849f75d2c6 Fix/replace datetime patterns with naive utc now (#22654) 2025-07-20 11:05:53 +08:00
jiangbo721 82593082cb fix: admin feedback uses the same method create_feedback (#22580)
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-18 10:10:31 +08:00
-LAN- d834677aba refactor: Fix some type error (#22594)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-18 09:26:29 +08:00
hato_code 0375754b9b fix: remove redundant partial member list retrieval in dataset API (#15492) 2025-07-17 22:56:18 +08:00
Maries ed2a4c40e2 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
NeatGuyCoding 3f8f59f8e7 minor typo fix: remove debug code and fix typo (#22539) 2025-07-17 13:52:15 +08:00
zyssyz123 550b1d2ba3 Feat/change user email (#22213)
Co-authored-by: NFish <douxc512@gmail.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2025-07-17 10:55:59 +08:00
yihong f5afd34990 fix: drop dead code phase2 unused class (#22042)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
qfl 003f755e85 feat(app): support custom max_active_requests per app (#22073) 2025-07-16 15:31:19 +08:00
baonudesifeizhai 704ea782bc feat: auto-fill MCP server description with app description #22443 (#22477) 2025-07-16 15:03:33 +08:00
QuantumGhost a92b9971a4 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
-LAN- 9dd14af071 fix: conversatino statistic including data from debugger (#22412)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-07-15 15:45:45 +08:00
-LAN- 417e538311 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
NeatGuyCoding 149b3eca30 minor fix: wrong and (#22242) 2025-07-12 19:59:07 +08:00
NeatGuyCoding 03c10cd4e4 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
Novice c346bd7389 feat: add MCP support (#20716)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
2025-07-10 14:01:34 +08:00
Yongtao Huang 26a8730004 Chore: remove unreachable code (#21986) 2025-07-07 21:55:34 +08:00
cutiechi ed44722791 feat(api): validate and reject external datasets in document update (#21783) 2025-07-03 14:50:53 +08:00
jiangbo721 4dd7cc9930 fix: Before publish the app, preview the voice of tts, it raise an er… (#21821)
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-07-03 10:53:14 +08:00
baonudesifeizhai ba022db176 fix: handle configure button for notion internal integration (#21412) 2025-07-01 16:58:00 +08:00
Bowen Liang 83b64f98ad refactor: define the Dify project version in pyproject.toml (#20910) 2025-07-01 12:07:24 +08:00
Ganondorf 554fa569df Add get document detail service api (#21700)
Co-authored-by: lizb <lizb@sugon.com>
2025-06-30 22:13:56 +08:00
Xin Zhang b4172ee51a feat(inner-api/workspace): include tenant details in CreateWorkspace response (#21636) 2025-06-27 18:28:03 +08:00
Yeuoly 862de27280 feat(plugin): Add API endpoint for invoking LLM with structured output (#21624) 2025-06-27 15:57:44 +08:00
Khoa e01442b525 Feat/api validate model provider (#21582)
Co-authored-by: crazywoola <427733928@qq.com>
2025-06-27 09:59:44 +08:00
Yeuoly 04a6c958c8 feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities (#21425) 2025-06-26 17:44:14 +08:00
Xiyuan Chen c5f14d0643 feat: add a magic field in the cancel invite api response (#21505) 2025-06-25 18:37:56 +08:00
Jyong e422710fe9 add dataset info in response (#21413) 2025-06-24 16:07:31 +08:00
Jyong d668476faa add dataset info in response (#21406) 2025-06-24 11:13:56 +08:00
QuantumGhost 4e7ba9c0b6 feat: Persist Variables for Enhanced Debugging Workflow (#20699)
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.

By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.

Key highlights of this change:

- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.

Closes #19735.
2025-06-24 09:05:29 +08:00
GuanMu 80a12ad4fb Knowledge base API supports status updates #18147 (#18235) 2025-06-21 11:18:48 +08:00
椰子汁 08c96aa12a critical! insert_explore_app_list_api (#21277) 2025-06-20 20:03:30 +08:00
Xiyuan Chen 0ed138c21f feat: use default access mode when importing dsl (#21231) 2025-06-19 17:14:28 +08:00
Good Wood 4801fa8dc0 fix: fix load_balancing_config save error (#21213) 2025-06-19 15:41:36 +08:00
LiuBo 518608bd2b feat: add support for Matrixone database (#20714) 2025-06-19 10:20:12 +08:00
Ganondorf b885ccd94e Add Filter of Get Workflow Logs (#21172)
Co-authored-by: lizb <lizb@sugon.com>
2025-06-19 10:10:16 +08:00
NeatGuyCoding 5c619754a7 Minor Improvements for File Validation and Configuration Handling #21179 (#21171)
Co-authored-by: tech <cto@sb>
2025-06-18 18:33:28 +08:00
Jyong a6549e3da4 add service api ratelimit check (#20878) 2025-06-18 14:05:28 +08:00
NeatGuyCoding aa5b38f8e9 [Bug] fix misusing ACCESS_TOKEN_EXPIRE_MINUTES in jwt on exp (#21030)
Co-authored-by: tech <cto@sb>
2025-06-18 09:37:49 +08:00
quicksand a35f01e058 chore: app info add author_name (#20973) 2025-06-13 10:17:35 +02:00
Yeuoly d86ac068c9 refactor: replace compact response generation with length-prefixed response for backwards invocation api (#20903) 2025-06-11 16:01:50 +08:00
Bowen Liang f7c7f5d942 chore: bump mypy to 1.16 (#20608) 2025-06-11 01:01:33 +08:00
Xiyuan Chen a23afc5846 Feat/webapp verified sso main (#20494) 2025-06-09 17:19:53 +09:00
Yeuoly fc65af1818 fix(inner_api/plugin/wraps): refresh user model after creation in get user function (#20704) 2025-06-05 23:36:33 +08:00
Abdullah AlOsaimi e57905fcbe assign dataset indexing_technique to args if not explicitly provided (#20597) 2025-06-05 09:47:57 +08:00
Abdullah AlOsaimi 760da98866 raise error when process_rule is required but missing (#20599) 2025-06-04 14:19:35 +08:00
Novice c8c221a110 fix: update app tag error (#20618) 2025-06-04 13:55:00 +08:00
Ganondorf bfa2b020f6 Add APIs for Knowledge Base Tag Management and Dataset Binding (#20023)
Co-authored-by: lizb <lizb@sugon.com>
2025-05-30 14:48:00 +08:00
Dongyu Li 88900765a1 update knowledge base api (#20426) 2025-05-30 14:45:30 +08:00