f3b415c095
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-13 13:21:51 +08:00
24cd7bbc62
fix RetrievalMethod StrEnum ( #26768 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-13 10:29:37 +08:00
0a56d65581
Issue 23579 ( #26777 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-13 10:16:12 +08:00
1bd621f819
remove .value ( #26633 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-11 09:08:29 +08:00
bb6a331490
change all to httpx ( #26119 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-10-10 23:41:16 +08:00
bae8e44b32
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-10-10 19:43:23 +08:00
d0dd81cf84
chore: bump ruff to 0.14 ( #26063 )
2025-10-10 18:10:23 +08:00
4a6903fdb4
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-30 08:00:16 +08:00
b2bcb6d21a
Fix: Remove core/tools from pyrightconfig.json and fix type errors ( #26413 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2025-09-29 19:22:38 +08:00
cd07eef639
Merge remote-tracking branch 'origin/main' into feat/trigger
2025-09-25 17:14:24 +08:00
85cda47c70
feat: knowledge pipeline ( #25360 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: twwu <twwu@dify.ai >
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
Co-authored-by: jyong <718720800@qq.com >
Co-authored-by: Wu Tianwei <30284043+WTW0313@users.noreply.github.com >
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
Co-authored-by: lyzno1 <yuanyouhuilyz@gmail.com >
Co-authored-by: quicksand <quicksandzn@gmail.com >
Co-authored-by: Jyong <76649700+JohnJyong@users.noreply.github.com >
Co-authored-by: lyzno1 <92089059+lyzno1@users.noreply.github.com >
Co-authored-by: zxhlyh <jasonapring2015@outlook.com >
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: Hanqing Zhao <sherry9277@gmail.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Harry <xh001x@hotmail.com >
2025-09-18 12:49:10 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
1b0f92a331
feat(stress-test): add comprehensive stress testing suite using Locust ( #25617 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-12 22:25:05 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-09-06 03:32:23 +08:00
72f9e77368
refactor(trigger): clean up and optimize trigger-related code
...
- Remove unused classes and imports in encryption utilities
- Simplify method signatures for better readability
- Enhance code quality by adding newlines for clarity
- Update tests to reflect changes in import paths
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-03 14:53:26 +08:00
a46c9238fa
feat(trigger): implement complete OAuth authorization flow for trigger providers
...
- Add OAuth authorization URL generation API endpoint
- Implement OAuth callback handler for credential storage
- Support both system-level and tenant-level OAuth clients
- Add trigger provider credential encryption utilities
- Refactor trigger entities into separate modules
- Update trigger provider service with OAuth client management
- Add credential cache for trigger providers
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-09-03 14:53:26 +08:00
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
be3af1e234
Migrate SQLAlchemy from 1.x to 2.0 with automated and manual adjustments ( #23224 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-02 10:30:19 +08:00
5b3cc560d5
fix:hard-coded top-k fallback issue. ( #24879 )
2025-09-01 15:46:37 +08:00
ffba341258
[CHORE]: remove redundant-cast ( #24807 )
2025-09-01 14:05:32 +08:00
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +08:00
4cd00efe3b
add more current_user typing ( #24612 )
2025-08-27 18:19:49 +08:00
6b466a8469
[Test] add unit tests for web_reader_tool.py ( #24309 )
...
Co-authored-by: Yongtao Huang <99629139+hyongtao-db@users.noreply.github.com >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-22 09:28:00 +08:00
1abf1240b2
refactor: replace try-except blocks with contextlib.suppress for cleaner exception handling ( #24284 )
2025-08-21 18:18:49 +08:00
6b5c2bea4d
Fix: correctly match http/https URLs in image upload file ( #24180 )
2025-08-19 22:44:22 +08:00
6f80fb72cb
feat: tools json response support datetime uuid etc ( #22738 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-08-08 09:26:50 +08:00
7fe23a0ca6
remove useless Tool class attributes ( #23389 )
2025-08-05 10:20:28 +08:00
bd5b938571
feat: Support allOf in OpenAPI properties inside schema #22946 ( #22975 )
2025-07-28 11:03:19 +08:00
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +08:00
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
095bae01b2
fix: Invalid expected metadata value type error ( #22793 )
2025-07-22 22:28:16 +08:00
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
32c541a9ed
fix: generate deterministic operationId for root endpoints without one ( #19888 )
2025-07-15 14:19:55 +08:00
535fff62f3
feat: add MCP support ( #20716 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-07-10 14:01:34 +08:00
cea6522122
feat: add DYNAMIC_SELECT parameter type for dynamic options in parameter entities ( #21425 )
2025-06-26 17:44:14 +08:00
0f3d4d0b6e
chore: bump mypy to 1.16 ( #20608 )
2025-06-11 01:01:33 +08:00
65c7c01d90
fix: clean up two unreachable code ( #20773 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-06-07 23:06:46 +08:00
8025ad0661
Fixes #20534 : Allow $ref in parameter for custom tools ( #20535 )
...
Co-authored-by: Peter Xin <iami@Artemis.local >
2025-06-02 18:08:53 +08:00
a6ea15e63c
Refactor/message cycle manage and knowledge retrieval ( #20460 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-30 14:36:44 +08:00
5a991295e0
fix: drop some type fixme ( #20344 )
2025-05-30 14:10:09 +08:00
d3bfcd498b
fix: Refactor web reader to use readabilipy ( #19789 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2025-05-27 14:17:32 +08:00
adca981eee
fix: uninitialized variable error on empty knowledge retrieval(agent) ( #20025 )
...
Co-authored-by: crazywoola <427733928@qq.com >
2025-05-22 10:09:07 +08:00
085bd1aa93
chore: model.query change to db.session.query ( #19551 )
...
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com >
2025-05-13 09:13:12 +08:00
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) ( #19509 )
2025-05-12 13:52:33 +08:00
bfa652f2d0
fix: metadata filtering condition variable unassigned; fix External K… ( #19208 )
2025-05-07 14:52:09 +08:00
1ca6dbcdc8
fix: file name incorrect when download file ( #19183 )
2025-04-30 22:47:59 +08:00
349c3cf7b8
feat(api): Add image multimodal support for LLMNode ( #17372 )
...
Enhance `LLMNode` with multimodal capability, introducing support for
image outputs.
This implementation extracts base64-encoded images from LLM responses,
saves them to the storage service, and records the file metadata in the
`ToolFile` table. In conversations, these images are rendered as
markdown-based inline images.
Additionally, the images are included in the LLMNode's output as
file variables, enabling subsequent nodes in the workflow to utilize them.
To integrate file outputs into workflows, adjustments to the frontend code
are necessary.
For multimodal output functionality, updates to related model configurations
are required. Currently, this capability has been applied exclusively to
Google's Gemini models.
Close #15814 .
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-04-30 17:28:02 +08:00
65b7a783fe
fix: metadata filter not work ( #19020 )
...
Co-authored-by: 金鹏程 <jinpengcheng01@corp.netease.com >
Co-authored-by: crazywoola <427733928@qq.com >
2025-04-30 11:06:03 +08:00
cb69cb2d64
fix weird syntax error ( #18454 )
2025-04-21 14:18:32 +08:00
91cfa90503
Fix external knowledge Issues: ( #17685 ) ( #17843 )
2025-04-11 15:37:27 +08:00