Stephen Zhou
049925c5d8
Merge branch 'main' into deploy/dev
2026-01-11 21:54:32 +08:00
-LAN-
1e10bf525c
refactor(models): Refine MessageAgentThought SQLAlchemy typing ( #27749 )
...
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-10 17:17:45 +09:00
Yansong Zhang
cf990cdace
Merge branch 'feat/app-trial' into deploy/dev
2026-01-09 11:36:22 +08:00
Yansong Zhang
ce309bd008
mr main
2026-01-09 11:33:10 +08:00
zyssyz123
fe0802262c
feat: credit pool ( #30720 )
...
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>
2026-01-08 13:17:30 +08:00
Yansong Zhang
f4f391ada0
fix linter
2026-01-08 11:11:01 +08:00
Novice
4fa7bf0128
Merge branch 'feat/agent-node-v2' into deploy/dev
2026-01-07 17:51:08 +08:00
Novice
eec57e84e4
Merge branch 'main' into feat/agent-node-v2
2026-01-07 17:34:23 +08:00
Sara Rasool
4f0fb6df2b
chore: use from __future__ import annotations ( #30254 )
...
Co-authored-by: Dev <dev@Devs-MacBook-Pro-4.local>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2026-01-06 23:57:20 +09:00
Toshiki Sugimizu
f57aa08a3f
fix: flask db check fails due to nullable mismatch between migrations and models ( #30474 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Maries <xh001x@hotmail.com>
2026-01-06 20:23:59 +08:00
ga_o
eccf79a710
chore: remove unused link icon type ( #30469 )
2026-01-06 10:10:06 +08:00
-LAN-
a99ac3fe0d
refactor(models): Add mapped type hints to MessageAnnotation ( #27751 )
2026-01-05 15:50:03 +08:00
Novice
960b0707c8
Merge branch 'feat/agent-node-v2' into deploy/dev
2025-12-30 13:43:40 +08:00
Novice
7fc25cafb2
feat: basic app add thought field
2025-12-25 10:28:21 +08:00
Yansong Zhang
88969a609b
merge main
2025-12-19 11:50:45 +08:00
Novice
d223fee9b9
Merge branch 'main' into feat/agent-node-v2
2025-12-15 15:26:48 +08:00
Shua Chen
61ee1b9094
fix: truncate auto-populated description to prevent 400-char limit error ( #28681 )
2025-12-12 11:19:53 +08:00
wangxiaolei
6e802a343e
perf: remove the n+1 query ( #29483 )
2025-12-11 15:18:27 +08:00
-LAN-
2e1efd62e1
revert: "fix(ops): add streaming metrics and LLM span for agent-chat traces" ( #29469 )
2025-12-11 12:53:37 +08:00
Nie Ronghua
51330c0ee6
fix(App.deleted_tools): incorrect compare between UUID and map with string-typed key. ( #29340 )
...
Co-authored-by: 01393547 <nieronghua@sf-express.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2025-12-10 10:47:45 +08:00
Novice
2b23c43434
feat: add agent package
2025-12-09 11:36:47 +08:00
-LAN-
38522e5dfa
fix: use default_factory for callable defaults in ORM dataclasses ( #28730 )
2025-11-27 09:39:49 +09:00
XlKsyt
1e23957657
fix(ops): add streaming metrics and LLM span for agent-chat traces ( #28320 )
...
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-11-26 22:45:20 +08:00
Asuka Minato
751ce4ec41
more typed orm ( #28577 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-24 21:01:46 +08:00
Asuka Minato
6241b87f90
more typed orm ( #28519 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-24 10:50:20 +08:00
Asuka Minato
a6c6bcf95c
more typed orm ( #28507 )
2025-11-21 21:45:51 +08:00
Asuka Minato
237bb4595b
more typed orm ( #28494 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-21 16:42:27 +09:00
longbingljw
c0b7ffd5d0
feat:mysql adaptation for metadb ( #28188 )
2025-11-20 09:44:39 +08:00
Asuka Minato
7994144df7
add onupdate=func.current_timestamp() ( #28014 )
...
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-11-10 01:48:52 +09:00
heyszt
3c23375607
refactor: Use Repository Pattern for Model Layer ( #27663 )
2025-11-04 09:53:22 +08:00
-LAN-
eaa02e3d55
Add SQLAlchemy Mapped annotations to MessageFeedback ( #27768 )
2025-11-04 09:39:59 +08:00
-LAN-
4461df1bd9
refactor(api): add SQLAlchemy 2.x Mapped type hints to Message model ( #27709 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-11-01 01:16:07 +08:00
Yansong Zhang
aadac22ce4
add: language for banner
2025-10-23 11:02:48 +08:00
Yansong Zhang
ca75a1c9a3
add: trial api and trial table
2025-10-23 11:02:43 +08:00
Asuka Minato
32c715c4d0
rm type ignore ( #25715 )
...
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: -LAN- <laipz8200@outlook.com>
2025-10-21 11:26:58 +08:00
Asuka Minato
19cc6ea993
fix 27003 ( #27005 )
...
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>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-17 09:10:16 +08:00
zyssyz123
7065b67d07
add app mode for message ( #26876 )
2025-10-16 10:19:49 +08:00
Asuka Minato
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
Yansong Zhang
2b51fc23d9
add credit pool sys
2025-09-26 13:29:31 +08:00
Asuka Minato
25c69ac540
one example of Session ( #24135 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-24 03:32:48 +08:00
Yongtao Huang
5bc6e8a433
Fix: correct regex for file-preview URL re-signing ( #25620 )
...
Fixes #25619
The regex patterns for file-preview and image-preview contained an unescaped `?`,
which caused incorrect matches such as `file-previe` or `image-previw`.
This led to malformed URLs being incorrectly re-signed.
Changes:
- Escape `?` in both file-preview and image-preview regex patterns.
- Ensure only valid URLs are re-signed.
Added unit tests to cover:
- Valid file-preview and image-preview URLs (correctly re-signed).
- Misspelled file/image preview URLs (no longer incorrectly matched).
Other:
- Fix a deprecated function `datetime.utcnow()`
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-22 10:58:29 +08:00
-LAN-
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
-LAN-
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
Krito.
a13d7987e0
chore: adopt StrEnum and auto() for some string-typed enums ( #25129 )
...
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-09-12 21:14:26 +08:00
Yeuoly
ec808f3fe8
refactor: centralize default end user session ID constant ( #25416 )
...
This PR refactors the handling of the default end user session ID by centralizing it as an enum in the models module where the `EndUser` model is defined. This improves code organization and makes the relationship between the constant and the model clearer.
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-12 10:27:16 +08:00
Asuka Minato
cbc0e639e4
update sql in batch ( #24801 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 13:00:17 +08:00
-LAN-
9b8a03b53b
[Chore/Refactor] Improve type annotations in models module ( #25281 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 09:42:27 +08:00
Asuka Minato
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
非法操作
14e7ba4818
chore: change the oauth_provider_apps table to uuidV7 ( #24792 )
2025-08-29 17:54:14 +08:00
Junyan Qin (Chin)
f32e176d6a
feat: oauth provider ( #24206 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yessenia <yessenia.contact@gmail.com>
2025-08-29 14:10:51 +08:00