Wu Tianwei
84e3571ec3
fix: delete get upload file endpoint ( #25543 )
...
Co-authored-by: jyong <718720800@qq.com>
2025-09-12 09:36:53 +08:00
QuantumGhost
874406d934
security(api): fix privilege escalation vulnerability in model config and chat message APIs ( #25518 )
...
The `ChatMessageApi` (`POST /console/api/apps/{app_id}/chat-messages`) and
`ModelConfigResource` (`POST /console/api/apps/{app_id}/model-config`)
endpoints do not properly validate user permissions, allowing users without `editor`
permission to access restricted functionality.
This PR addresses this issue by adding proper permission check.
2025-09-11 14:53:35 +08:00
Guangdong Liu
b51c724a94
refactor: Migrate part of the console basic API module to Flask-RESTX ( #24732 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-09-10 12:15:47 +08:00
-LAN-
08dd3f7b50
Fix basedpyright type errors ( #25435 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-10 01:54:26 +08:00
Asuka Minato
38057b1b0e
add typing to all wraps ( #25405 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-09 16:48:33 +08:00
Yongtao Huang
4aba570fa8
Fix flask response: 200 -> {}, 200 ( #25404 )
2025-09-09 15:06:18 +08:00
Yeuoly
720ecea737
fix: tenant_id was not specific when retrieval end-user in plugin backwards invocation wraps ( #25377 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-09 09:49:35 +08:00
ZalterCitty
4ee49f3550
chore: remove weird account login ( #22247 )
...
Co-authored-by: zhuqingchao <zhuqingchao@xiaomi.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2025-09-08 10:44:36 +08:00
Asuka Minato
f6059ef389
add more typing ( #24949 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-08 10:40:00 +08:00
kenwoodjw
1ba69b8abf
fix: child chunk API 404 due to UUID type comparison ( #25234 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-09-05 14:00:28 +08:00
-LAN-
9d5956cef8
[Chore/Refactor] Switch from MyPy to Basedpyright for type checking ( #25047 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-09-03 11:52:26 +08:00
Will
d33dfee8a3
fix: EndUser is not bound to a Session ( #25010 )
2025-09-02 21:37:21 +08:00
Bowen Liang
7b379e2a61
chore: apply ty checks on api code with script and ci action ( #24653 )
2025-09-02 16:05:13 +08:00
Asuka Minato
d41d4deaac
example enum to StrEnum ( #24877 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-01 15:40:26 +08:00
kenwoodjw
e4383d6167
Chore: remove dupliacte logic in DatasetApi.get() ( #24769 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-29 14:25:36 +08:00
Bowen Liang
39064197da
chore: cleanup unnecessary mypy suppressions on imports ( #24712 )
2025-08-28 23:17:25 +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
2b91ba2411
example: limit current user usage ( #24470 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-26 00:23:29 +08:00
quicksand
424fdf4b52
fix: flask_restx namespace path wrong ( #24456 )
2025-08-25 14:56:20 +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
kenwoodjw
8a348bea21
fix child-chunk ownership validation ( #24374 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-08-23 20:17:44 +08:00
Zhehao Peng
c0702aacac
Use typing.Literal to replace str places ( #24099 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-18 21:34:13 +08:00
Alex Chim
4a2e6af9b5
Fixes #23921 ( #23924 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-14 15:54:25 +08:00
Yongtao Huang
bf2f03f911
Restructure the File errors in controller ( #23801 )
...
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-13 17:06:07 +08:00
lyzno1
2edd32fdea
fix: resolve AppCard description overlap with tag area ( #23585 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-08 09:05:55 +08:00
lyzno1
d98071a088
feat: add Service API file preview endpoint ( #23534 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-07 21:44:29 +08:00
Yongtao Huang
e072b7dafa
Chore: remove unused variable pruned_memory ( #23514 )
2025-08-07 09:06:17 +08:00
Yongtao Huang
146d870098
Fix: avoid Flask route conflict by merging DocumentDetailApi and DocumentDeleteApi ( #23333 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-04 14:37:36 +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
Alex Chim
8ab3fda5a8
[Enhancement] Allow modify conversation variable via api ( #23112 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-08-01 09:34:56 +08:00
lyzno1
0ea010d7ee
fix: metadata API nullable validation consistency issue ( #23133 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-30 10:33:24 +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
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
a189d293f8
make logging not use f-str, change others to f-str ( #22882 )
2025-07-25 10:32:48 +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
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
Aryan Raj
ce794335e9
Fix/replace datetime patterns with naive utc now ( #22654 )
2025-07-20 11:05:53 +08:00
yihong
d2933c2bfe
fix: drop dead code phase2 unused class ( #22042 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-07-17 09:33:07 +08:00
-LAN-
6eb155ae69
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
cutiechi
47954aa284
feat(api): validate and reject external datasets in document update ( #21783 )
2025-07-03 14:50:53 +08:00
jiangbo721
31eb8548ef
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
Bowen Liang
1a7ad195f0
refactor: define the Dify project version in pyproject.toml ( #20910 )
2025-07-01 12:07:24 +08:00
Ganondorf
55a6b330ec
Add get document detail service api ( #21700 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-06-30 22:13:56 +08:00
Khoa
a06af88b26
Feat/api validate model provider ( #21582 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2025-06-27 09:59:44 +08:00
GuanMu
870e73c03b
Knowledge base API supports status updates #18147 ( #18235 )
2025-06-21 11:18:48 +08:00
Ganondorf
e99861d4fe
Add Filter of Get Workflow Logs ( #21172 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-06-19 10:10:16 +08:00
Jyong
787a556bd7
add service api ratelimit check ( #20878 )
2025-06-18 14:05:28 +08:00
quicksand
3a628bc671
chore: app info add author_name ( #20973 )
2025-06-13 10:17:35 +02:00
Abdullah AlOsaimi
ad8e79c440
assign dataset indexing_technique to args if not explicitly provided ( #20597 )
2025-06-05 09:47:57 +08:00
Abdullah AlOsaimi
006496f24e
raise error when process_rule is required but missing ( #20599 )
2025-06-04 14:19:35 +08:00
Novice
4ac3600f81
fix: update app tag error ( #20618 )
2025-06-04 13:55:00 +08:00
Ganondorf
51f64797cd
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
1ea4459d9f
update knowledge base api ( #20426 )
2025-05-30 14:45:30 +08:00
-LAN-
482e50aae9
Refactor/remove db from cycle manager ( #20455 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-30 04:34:13 +08:00
quicksand
2d4f8f1377
fix: apps/annotation missing 1 required positional argument: 'end_user' ( #20428 )
2025-05-29 16:10:28 +08:00
-LAN-
b357eca307
fix: Copy request context and current user in app generators. ( #20240 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-27 10:56:23 +08:00
-LAN-
3196dc2d61
refactor: Use typed SQLAlchemy base model and fix type errors ( #19980 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-05-21 15:38:03 +08:00
GuanMu
17b929124f
refactor: simplify success response in dataset API endpoints by returning status code 204 directly ( #19685 )
2025-05-14 18:44:35 +08:00
lexmin0412
ff20b56074
Add /site API ( #19631 )
2025-05-14 10:43:36 +08:00
Ganondorf
c76d763639
add endpoint of get feedbacks ( #18697 )
...
Co-authored-by: lizb <lizb@sugon.com>
2025-05-13 10:35:14 +08:00
非法操作
b00f94df64
fix: replace all dataset.Model.query to db.session.query(Model) ( #19509 )
2025-05-12 13:52:33 +08:00
Good Wood
0b44791eae
feat: add mode for /info api ( #19264 )
2025-05-06 13:24:53 +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
小马哥
e5bdc1438a
fix: annotation update need use http put method and annotation-reply api doc parms wrong ( #18891 )
2025-04-27 16:13:36 +08:00
devxing
136995d2a1
fix: change delete app status code from 204 to 200 ( #18398 )
...
Co-authored-by: devxing <devxing@gmail.com>
Co-authored-by: crazywoola <427733928@qq.com>
2025-04-27 12:12:46 +08:00
1betatsu
9a3ecc1ac8
fix: Allow advanced chat app to get workflow run detail ( #18753 ) ( #18758 )
2025-04-25 16:48:38 +08:00
Alex Chim
12836f9db9
Resolves #18536 Retreive conversation variables ( #18581 )
2025-04-25 11:52:25 +08:00
Yeuoly
358fd28c28
feat: fetch app info in plugins ( #18202 )
2025-04-16 20:27:29 +08:00
jiangbo721
18f98f4fe1
fix: ruff check isoparse ( #18033 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-04-16 19:21:18 +08:00
诗浓
4166f73d9d
fix: page/limit param not effective ( #18196 )
2025-04-16 17:26:47 +08:00
kenwoodjw
b247ef85bf
fix dataset api retrieval model null handling ( #18151 )
...
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
2025-04-16 15:50:06 +08:00
Jasonfish
1f722cde22
fix(api): Some params were ignored when creating empty Datasets through API ( #17932 )
2025-04-14 10:24:01 +08:00
Yongtao Huang
5d72003ebb
Remove dead code ( #17899 )
2025-04-11 20:33:52 +08:00
crazywoola
63ba607738
fix: 17712-get-messages-api-encountered-internal-server-error ( #17716 )
2025-04-10 11:09:38 +08:00
crazywoola
eb8584613b
fix: Account.query => db.session.query(Account) ( #17667 )
2025-04-09 14:07:32 +08:00
Jasonfish
0afad94378
fix: Correct "The job is not exist" to "The job does not exist" ( #17516 )
2025-04-07 12:32:25 +08:00
Jasonfish
fd443941a2
feat(improve-api-endpoints): Added Datasets and Annotation APIs ( #12237 )
2025-04-07 10:36:58 +08:00
Jyong
0bf816f2e8
fix duplicate documents returned by Get document list service API ( #17351 )
2025-04-02 21:39:28 +08:00
liguochuan
11e95d2a61
Fix (api): Fix the processing logic of the retriever_resources field. ( #17304 )
...
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-02 12:44:29 +08:00
非法操作
44f911a0a8
chore: docstring not match the function parameter ( #17162 )
2025-03-31 13:19:15 +08:00
jiangbo721
a1aa325ce3
Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id ( #17075 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-03-29 14:15:53 +08:00
過世秋風
377d11d13b
fix: WorkflowRunDetailApi created_at、finished_at types changed to timestamps ( #16821 )
2025-03-27 17:23:30 +08:00
GuanMu
360986f38d
Feat add childchunk api ( #16094 )
2025-03-24 20:58:28 +08:00
L8ng
83cd14104d
feat: datasets openapi list segements support paged resp ( #16603 )
2025-03-24 14:27:31 +08:00
L8ng
727caccfc9
fix: knowledge base openapi cannot delete metadata ( #16365 )
2025-03-20 21:36:09 +08:00
Jyong
2c9af712a2
Fix/create document by api with metadata ( #16307 )
...
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
2025-03-20 14:33:32 +08:00
Yeuoly
c07af5a1a3
feat: tenant app invocations limiter ( #16221 )
2025-03-19 17:24:02 +08:00
Jyong
732c506e27
add metadata service api ( #16211 )
2025-03-19 17:12:48 +08:00
Jyong
3f44b690c2
check high-quality dataset with empty embedding model provider ( #16181 )
2025-03-19 15:16:05 +08:00
Mars
1fab02c25a
fix:message api doc ( #15568 )
...
Co-authored-by: mars <linjx2@by-health.com>
2025-03-12 12:38:23 +08:00
Jyong
9b2a9260ef
Feat/new saas billing ( #14996 )
2025-03-10 19:50:11 +08:00
KVOJJJin
78d460a6d1
Feat: time period filter for workflow logs ( #14271 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2025-03-10 14:02:58 +08:00
Mars
126202648f
fix message sort ( #15231 )
2025-03-07 19:36:44 +08:00
Yeuoly
9a417bfc5e
fix: update database query and model definitions ( #14415 )
2025-02-26 18:45:12 +08:00
L8ng
b15ff4eb8c
fix: datasets documents update-by-file api missing assign field 'indexing_technique' internally ( #14243 )
2025-02-24 20:14:36 +08:00
Hundredwz
284707c3a8
perf(message): optimize message loading and reduce SQL queries ( #13720 )
2025-02-15 12:19:01 +08:00
jiangbo721
4e7e172ff3
Chore/format code ( #13691 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-02-14 13:38:17 +08:00
aplio
1b6fd9dfe8
fix: set indexing technique from dataset during update-by-text ( #13155 )
2025-02-03 11:06:03 +08:00
aplio
d73d191f99
feature. add feat to modify metadata via dataset api ( #13116 )
2025-02-02 15:27:12 +08:00
EricPan
05a0faff6a
fix: app token's last_used_at can't be updated when last_used_at is null ( #12770 )
2025-01-22 11:01:45 +08:00
Bowen Liang
166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x ( #12702 )
2025-01-21 10:12:29 +08:00
Jyong
9a6b1dc3a1
Revert "Feat/new saas billing" ( #12673 )
2025-01-13 15:17:43 +08:00
yihong
4e101604c3
fix: ruff check for True if ... else ( #12576 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2025-01-13 09:38:48 +08:00
Jyong
d8f57bf899
Feat/new saas billing ( #12591 )
2025-01-12 14:50:46 +08:00
Jyong
14ee51aead
Feat/add knowledge include all filter ( #12537 )
2025-01-09 20:21:25 +08:00
eux
20f090537f
feat: add GET upload file API endpoint to dataset service api ( #11899 )
2025-01-09 14:52:09 +08:00
-LAN-
0eeacdc80c
refactor: enhance API token validation with session locking and last used timestamp update ( #12426 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-01-07 18:04:41 +08:00
Yingchun Lai
c135967e59
refactor: simplify some exception catch code ( #12246 )
2025-01-02 14:25:12 +08:00
Sean Sun
f71af7c2a8
fix: DocumentAddByFileApi miss data_source_type field but there is a mandatory value check ( #12273 )
2025-01-02 14:24:15 +08:00
-LAN-
be7877f526
fix: enhance file upload error handling and update base error class ( #12132 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-26 23:31:29 +08:00
-LAN-
4bd8df1fd3
fix: update MessageService.create_feedback to use keyword arguments f… ( #12134 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-26 23:26:44 +08:00
Jyong
84ac004772
py lint ( #12102 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-12-26 00:16:35 +08:00
Jyong
9231fdbf4c
Feat/support parent child chunk ( #12092 )
2024-12-25 19:49:07 +08:00
yihong
1d3f218662
fix: like failed close #12057 ( #12058 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-25 10:57:52 +08:00
yihong
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
liuhaoran
6b49889041
fix: messagefeedbackapi support content ( #11716 )
...
Signed-off-by: weiyang <24080293@smb956101.com>
Co-authored-by: weiyang <24080293@smb956101.com>
2024-12-22 10:45:55 +08:00
-LAN-
3d07a94bd7
fix: refactor conversation pagination to use SQLAlchemy session manag… ( #11956 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-22 10:39:29 +08:00
Hiroshi Fujita
858db2f239
feat(api): include tags in app information response ( #11242 )
2024-12-02 10:25:01 +08:00
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 ( #10386 )
2024-11-24 13:28:46 +08:00
-LAN-
06d2520db2
fix(api): replace Raw field with FilesContainedField in MessageListApi inputs ( #10472 )
2024-11-08 19:48:34 +08:00
Benjamin
919275cc58
Fix conversation response issue ( #10450 )
2024-11-08 17:04:43 +08:00
Benjamin
6e23903c63
Conversation delete issue ( #10423 )
2024-11-07 21:13:23 +08:00
Benjamin
a5558f8fcc
fix(conversation-service): return success response after conversation… ( #10416 )
2024-11-07 18:07:05 +08:00
-LAN-
1dae1a71fc
fix(api): remove fixed source attribute from FileApi ( #10353 )
2024-11-06 12:29:58 +08:00
-LAN-
6452342222
feat(workflow): add configurable workflow file upload limit ( #10176 )
...
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-11-04 15:55:34 +08:00
-LAN-
9ac2bb30f4
Feat/add-remote-file-upload-api ( #9906 )
2024-11-01 15:51:22 +08:00
Jyong
ce260f79d2
Feat/update knowledge api url ( #10102 )
...
Co-authored-by: nite-knite <nkCoding@gmail.com>
2024-10-31 18:29:12 +08:00
Jyong
e74479717a
fix update_by_api batch field issue ( #10001 )
2024-10-30 11:17:46 +08:00
郭伟伟
90769ac709
feat: create_empty_dataset api add the description parameter and update api docs ( #9824 )
2024-10-25 10:50:15 +08:00
-LAN-
dd17506078
feat(api): add generic file size limit parameter ( #9812 )
2024-10-25 09:02:06 +08:00
-LAN-
22bb0414a1
feat(parameters): standardize system parameter field types and values ( #9797 )
2024-10-24 21:52:57 +08:00
crazywoola
98bf7710e4
fix: fields.Nested(message_file_fields) ( #9632 )
2024-10-22 15:37:53 +08:00
-LAN-
e61752bd3a
feat/enhance the multi-modal support ( #8818 )
2024-10-21 10:43:49 +08:00
Hash Brown
fa47f0c707
chore: disable chat service API passing parent_message_id ( #8984 )
2024-10-14 19:13:16 +08:00
Summer-Gu
8501af298f
feat: added dataset recall testing API ( #9300 )
2024-10-14 17:26:04 +08:00
Hash Brown
5f8a27074e
fix: chat API is not bringing the conversation/session history ( #8965 )
2024-10-01 12:10:36 +08:00
Jyong
9d221a5e19
external knowledge api ( #8913 )
...
Co-authored-by: Yi <yxiaoisme@gmail.com>
2024-09-30 15:38:43 +08:00
Hash Brown
8c51d06222
feat: regenerate in Chat, agent and Chatflow app ( #7661 )
2024-09-22 03:15:11 +08:00
Bowen Liang
a1104ab97e
chore: refurish python code by applying Pylint linter rules ( #8322 )
2024-09-13 22:42:08 +08:00
fanlia
5f03e66489
Feature/service api workflow logs ( #8323 )
2024-09-13 11:03:57 +08:00
Bowen Liang
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00
Nam Vu
2d7954c7da
Fix variable typo ( #8084 )
2024-09-08 13:14:11 +08:00
Jyong
15791510c8
fix wrong error message ( #7972 )
2024-09-04 16:46:41 +08:00
Jyong
1a5116cba0
Fix/segment create with api ( #7928 )
2024-09-03 18:14:47 +08:00
Garfield Dai
54b693d5b1
feat: update saas billing hint. ( #7760 )
2024-08-28 18:55:47 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
Shota Totsuka
47919983bf
fix: typo in comment ( #7606 )
2024-08-25 09:56:08 +08:00
crazywoola
2c427e04be
Feat/7134 use dataset api create a dataset with permission ( #7508 )
2024-08-21 20:25:45 +08:00
KinWang
e35e251863
feat: Sort conversations by updated_at desc ( #7348 )
...
Co-authored-by: wangpj <wangpj@hundsunc.om>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-08-20 17:55:44 +08:00
crazywoola
4d4af00399
fix: keywords ( #7357 )
2024-08-16 20:43:55 +08:00
lichao
13d061911b
Error Exception Message Of "Message Not Exists.", Should be "Suggested Questions Is Disabled." ( #7219 )
2024-08-13 15:17:18 +08:00
crazywoola
7ab04e17e7
fix: return code in service api ( #6911 )
2024-08-02 15:48:58 +08:00
crazywoola
3c371a6cb0
fix: workflow api ( #6810 )
2024-07-30 23:51:48 +08:00
非法操作
afe95fa780
feat: support get workflow task execution status ( #6411 )
2024-07-18 15:06:14 +08:00
Charlie.Wei
06fcc0c650
Fix tts api err ( #6349 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-07-16 21:53:57 +08:00
天魂
1df71ec64d
refactor(api): switch to dify_config with Pydantic in controllers and schedule ( #6237 )
2024-07-12 16:51:43 +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
chenxu9741
6ef401a9f0
feat:add tts-streaming config and future ( #5492 )
2024-07-09 11:33:58 +08:00
Summer-Gu
7f98c2ea3f
refactor: Delete the dataset to verify whether it is in use ( #5112 )
2024-06-14 03:25:38 +08:00
Pascal M
415816cf35
feat: add dataset delete endpoint ( #5048 )
2024-06-11 11:21:38 +08:00
非法操作
e121788ff5
chore: make the error msg more clear when validate app token ( #4919 )
...
Co-authored-by: Jyong <76649700+johnjyong@users.noreply.github.com>
2024-06-04 18:04:10 +08:00
crazywoola
16fec084f5
Fix/4630 bug api suggested ( #4633 )
2024-05-24 11:11:12 +08:00
Jyong
f257f2c396
Knowledge optimization ( #3755 )
...
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2024-04-24 15:02:29 +08:00
sqj8899
0a56c522eb
get dict key indexing_technique in DocumentAddByFileApi ( #3615 )
...
Co-authored-by: songqijun <songqijun@qipeng.com>
2024-04-19 09:37:11 +08:00
Bowen Liang
d9b821cecc
chore: apply ruff rules on tests and app.py ( #3605 )
2024-04-18 20:24:05 +08:00
Garfield Dai
4481906be2
Feat/enterprise sso ( #3602 )
2024-04-18 17:33:32 +08:00
LIU HONGWEI
c227f3d985
feat: Deprecate datetime.utcnow() in favor of datetime.now(timezone.utc).replace(tzinfo=None) for better timezone handling ( #3408 ) ( #3416 )
2024-04-12 16:22:24 +08:00
呆萌闷油瓶
5102430a68
feat:add 'name' field return ( #3152 )
2024-04-10 22:34:43 +08:00
takatost
f599f41336
fix: empty conversation list of explore chatbot ( #3235 )
2024-04-09 17:04:48 +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
Jyong
e12a0c154c
add segment function billing check for SAAS env ( #3082 )
...
Co-authored-by: jyong <jyong@dify.ai>
2024-04-02 17:55:49 +08:00
wangkehan
c7d003d551
fix: Upgrade duckduckgo-search to version 5.1.0 & update document segment api parameter error ( #2938 )
2024-03-22 19:18:01 +08:00
Charlie.Wei
fd7aade26b
Fix tts api err ( #2809 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-03-13 15:38:10 +08:00
crazywoola
3c91f9b5ab
fix: dataset segements api ( #2766 )
2024-03-11 09:26:15 +08:00
Charlie.Wei
6a6133c102
Fix voice selection ( #2664 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-03-04 17:50:06 +08:00
Garfield Dai
8e66b96221
Feat: Add documents limitation ( #2662 )
2024-03-03 12:45:06 +08:00
takatost
90bdc85f8c
fix: AppParameterApi.get() got an unexpected keyword argument 'end_user' ( #2607 )
2024-02-28 16:46:50 +08:00
takatost
0828873b52
fix: missing default user for APP service api ( #2606 )
2024-02-28 16:09:56 +08:00
Charlie.Wei
300d9892a5
tts add voice choose ( #2391 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2024-02-15 22:41:18 +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
14a19a3da9
chore: apply ruff's pyflakes linter rules ( #2420 )
2024-02-08 14:11:10 +08:00
Bowen Liang
65a02f7d32
chore: apply F811 linter rule to eliminate redefined imports and methods ( #2412 )
2024-02-07 16:28:45 +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
9f637ead38
bump version to 0.5.3 ( #2306 )
2024-02-01 18:11:57 +08:00
takatost
5a6cb69951
fix: user handling in stop api ( #2254 )
2024-01-27 19:05:37 +08:00
crazywoola
828822243a
fix: multiple rows were found correctly ( #2219 )
2024-01-26 12:47:42 +08:00
IAMZn
d60f1a5601
fix:determine multiple result exceptions caused by admin ( #2211 )
...
Co-authored-by: chenxin <chenxin@limayao.com>
2024-01-26 00:06:23 +08:00
Charlie.Wei
fd5c45ae10
Add tts document&fix bug ( #2156 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 23:04:14 +08:00
Yeuoly
7cb75cb2e7
feat: add tool labels ( #2178 )
2024-01-24 20:14:45 +08:00
Charlie.Wei
6355e61eb8
tts models support ( #2033 )
...
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
2024-01-24 01:05:37 +08:00
Yeuoly
86286e1ac8
Feat/assistant app ( #2086 )
...
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: Pascal M <11357019+perzeuss@users.noreply.github.com>
2024-01-23 19:58:23 +08:00
crazywoola
ec1659cba0
fix: saving error in empty dataset ( #2098 )
2024-01-19 20:12:04 +08:00
Bowen Liang
e2c89a9487
fix: bypass admin users to use dataset api with API key ( #2072 )
2024-01-19 17:23:05 +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