yyh
6c9304d7ef
feat: implement parent message validation for service API
...
Added a new validation method to check parent message IDs in the MessageBasedAppGenerator class, ensuring proper handling of UUID_NIL and conversation existence. Updated related app generators and added unit tests for comprehensive coverage.
2025-12-25 15:36:18 +08:00
yyh
df09acb74b
feat: chat messages api support parent message id
2025-12-25 15:21:44 +08:00
NeatGuyCoding
714b443077
fix: correct i18n SSO translations and fix validation/type issues ( #29564 )
...
Signed-off-by: NeatGuyCoding <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-15 15:58:33 +09:00
-LAN-
b4afc7e435
fix: Can not blank conversation ID validation in chat payloads ( #29436 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-11 09:47:10 +08:00
Asuka Minato
05fe92a541
refactor: port reqparse to BaseModel ( #28993 )
...
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-12-08 15:31:19 +09:00
Kevin9703
a486c47b1e
fix: ensure advanced-chat workflows stop correctly ( #27803 )
...
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-25 20:09:03 +08:00
Asuka Minato
4488c090b2
fluent api ( #27093 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-19 12:54:41 +09: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
-LAN-
b7466f8b65
feat: API docs for service api ( #24425 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-08-25 09:26:54 +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
qiaofenlin
20f0238aab
feat: support workflow version specification in workflow and chat APIs ( #23188 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-03 16:27:12 +08:00
Shaun
00cb1c26a1
refactor: pass external_trace_id to message trace ( #23089 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-29 19:34:46 +08:00
qfl
841e53dbbe
feat(trace): support external trace id propagation ( #22623 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-22 15:17:43 +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
Yeuoly
c07af5a1a3
feat: tenant app invocations limiter ( #16221 )
2025-03-19 17:24:02 +08:00
Yingchun Lai
c135967e59
refactor: simplify some exception catch code ( #12246 )
2025-01-02 14:25:12 +08:00
yihong
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
Hash Brown
fa47f0c707
chore: disable chat service API passing `parent_message_id` ( #8984 )
2024-10-14 19:13:16 +08:00
Hash Brown
5f8a27074e
fix: chat API is not bringing the conversation/session history ( #8965 )
2024-10-01 12:10:36 +08:00
Bowen Liang
a1104ab97e
chore: refurish python code by applying Pylint linter rules ( #8322 )
2024-09-13 22:42:08 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
liuzhenghua
9622fbb62f
feat: app rate limit ( #5844 )
...
Co-authored-by: liuzhenghua-jk <liuzhenghua-jk@360shuke.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-07-10 21:31:35 +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
takatost
0828873b52
fix: missing default user for APP service api ( #2606 )
2024-02-28 16:09:56 +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
takatost
5a6cb69951
fix: user handling in stop api ( #2254 )
2024-01-27 19:05:37 +08:00
takatost
1a6ad05a23
feat: service api add llm usage ( #2051 )
2024-01-17 22:39:47 +08:00
killpanda
3ebec8fa41
fixup /stop api ( #2012 )
...
Co-authored-by: mayue <mayue05@qiyi.com>
2024-01-12 19:10:42 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
takatost
f4d97ef9fa
fix: arg user required and must not be null in service generate api ( #1943 )
2024-01-05 14:28:03 +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
crazywoola
38b55d2186
fix: default types ( #1728 )
2023-12-09 23:38:07 +08:00
Yeuoly
d3a2c0ed34
fix wrong syntax of type definitions ( #1678 )
2023-12-03 20:59:13 +08:00
takatost
41d0a8b295
feat: [backend] vision support ( #1510 )
...
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-11-13 22:05:46 +08:00
Garfield Dai
db43ed6f41
feat: add api-based extension & external data tool & moderation backend ( #1403 )
...
Co-authored-by: takatost <takatost@gmail.com>
2023-11-06 19:36:16 +08:00
Jyong
642842d61b
Feat:dataset retiever resource ( #1123 )
...
Co-authored-by: jyong <jyong@dify.ai>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-09-10 15:17:43 +08:00
Joel
2d5ad0d208
feat: support optional query content ( #1097 )
...
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2023-09-10 00:12:34 +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
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00