Asuka Minato
24e2b72b71
Update ast-grep pattern for session.query ( #24828 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-31 17:03:51 +08:00
Eric Guo
ecf74d91e2
✨ fix: has_more logic in ChatMessageListApi to ensure correct on behavior when no more messages are available. ( #24661 )
2025-08-28 15:05:52 +08:00
Yongtao Huang
2a29c61041
Refactor: replace count() > 0 check with exists() ( #24583 )
...
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-27 17:46:52 +08:00
Yongtao Huang
fa753239ad
Refactor: use logger = logging.getLogger(__name__) in logging ( #24515 )
...
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>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com >
2025-08-26 18:10:31 +08:00
Asuka Minato
18dce66443
try flask_restful -> flask_restx ( #24310 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
Co-authored-by: -LAN- <laipz8200@outlook.com >
2025-08-24 13:45:47 +08:00
QuantumGhost
7286b4ad06
fix(api): resolve "Message not exists" error in admin feedback creation ( #23232 )
...
Fix regression introduced in PR #22580 where admin users encountered
"Message not exists" errors when creating feedback on messages created
by other users.
The issue was caused by `MessageService.create_feedback()` incorrectly
filtering messages by the current user's ID, preventing admins from
accessing messages created by end users.
Reverts: #22580
2025-08-13 23:57:25 +08:00
Yongtao Huang
57e0a12ccd
Refactor: remove redundant full module paths in exception handlers ( #23076 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 09:40:51 +08:00
Asuka Minato
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
jiangbo721
ffee6f3288
fix: admin feedback uses the same method create_feedback ( #22580 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com >
2025-07-18 10:10:31 +08:00
Bowen Liang
8537abfff8
chore: avoid repeated type ignore noqa by adding flask_restful and flask_login in mypy import exclusions ( #19224 )
2025-05-06 11:58:49 +08:00
yihong
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
-LAN-
9ac2bb30f4
Feat/add-remote-file-upload-api ( #9906 )
2024-11-01 15:51:22 +08:00
Hash Brown
57ec12eb6b
feat: regenerate history switch navigation ( #8749 )
2024-10-24 12:09:46 +08:00
Hash Brown
8c51d06222
feat: regenerate in Chat
, agent
and Chatflow
app ( #7661 )
2024-09-22 03:15:11 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
liuzhenghua
ef616c604a
fix: The permissions issue of the editor role accessing some backend … ( #6945 )
...
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com >
2024-08-05 12:55:55 +08:00
takatost
7753ba2d37
FEAT: NEW WORKFLOW ENGINE ( #3160 )
...
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
Co-authored-by: JzoNg <jzongcode@gmail.com >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: nite-knite <nkCoding@gmail.com >
Co-authored-by: jyong <718720800@qq.com >
2024-04-08 18:51:46 +08:00
Bowen Liang
063191889d
chore: apply ruff's pyupgrade linter rules to modernize Python code with targeted version ( #2419 )
2024-02-09 15:21:33 +08:00
Bowen Liang
843280f82b
enhancement: introduce Ruff for Python linter for reordering and removing unused imports with automated pre-commit and sytle check ( #2366 )
2024-02-06 13:21:13 +08:00
crazywoola
828822243a
fix: multiple rows were found correctly ( #2219 )
2024-01-26 12:47:42 +08:00
takatost
1a6ad05a23
feat: service api add llm usage ( #2051 )
2024-01-17 22:39:47 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
takatost
b88a8f7bb1
feat: optimize invoke errors ( #1922 )
2024-01-04 17:49:55 +08:00
takatost
d069c668f8
Model Runtime ( #1858 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: Garfield Dai <dai.hai@foxmail.com >
Co-authored-by: chenhe <guchenhe@gmail.com >
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: Joel <iamjoel007@gmail.com >
Co-authored-by: Yeuoly <admin@srmxy.cn >
2024-01-02 23:42:00 +08:00
Jyong
a71f2863ac
Annotation management ( #1767 )
...
Co-authored-by: jyong <jyong@dify.ai >
2023-12-18 13:10:05 +08:00
Yeuoly
d3a2c0ed34
fix wrong syntax of type definitions ( #1678 )
2023-12-03 20:59:13 +08:00
Charlie.Wei
298ad6782d
Add Message Suggested Api ( #1326 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
2023-10-13 14:07:32 +08:00
Garfield Dai
42a5b3ec17
feat: advanced prompt backend ( #1301 )
...
Co-authored-by: takatost <takatost@gmail.com >
2023-10-12 10:13:10 -05:00
takatost
024250803a
feat: move login_required wrapper outside ( #1281 )
2023-10-08 05:21:32 -05:00
Jyong
46154c6705
Feat/dataset service api ( #1245 )
...
Co-authored-by: jyong <jyong@dify.ai >
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
2023-09-27 16:06:32 +08:00
Jyong
4b53bb1a32
Feat/token support ( #909 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com >
Co-authored-by: jyong <jyong@dify.ai >
2023-08-21 13:57:18 +08:00
takatost
5fa2161b05
feat: server multi models support ( #799 )
2023-08-12 00:57:00 +08:00
John Wang
7599f79a17
feat: claude api support ( #572 )
2023-07-17 00:14:19 +08:00
John Wang
d680fca996
fix: provider_response_latency type error ( #45 )
2023-05-16 16:51:39 +08:00
John Wang
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00