QuantumGhost
10b738a296
feat: Persist Variables for Enhanced Debugging Workflow ( #20699 )
...
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.
By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.
Key highlights of this change:
- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.
Closes #19735 .
2025-06-24 09:05:29 +08:00
NeatGuyCoding
61526c027d
[Bug] fix misusing ACCESS_TOKEN_EXPIRE_MINUTES in jwt on exp ( #21030 )
...
Co-authored-by: tech <cto@sb>
2025-06-18 09:37:49 +08:00
Xiyuan Chen
0720bc7408
Feat/webapp verified sso main ( #20494 )
2025-06-09 17:19:53 +09:00
NFish
d186daa131
E-300 ( #19726 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Hash Brown <hi@xzd.me>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: GareArc <chen4851@purdue.edu>
Co-authored-by: Byron.wang <byron@dify.ai>
Co-authored-by: Joel <iamjoel007@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
Co-authored-by: KVOJJJin <jzongcode@gmail.com>
Co-authored-by: Alexi.F <654973939@qq.com>
Co-authored-by: Xiyuan Chen <52963600+GareArc@users.noreply.github.com>
Co-authored-by: kautsar_masuara <61046989+izon-masuara@users.noreply.github.com>
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id>
Co-authored-by: Xin Zhang <sjhpzx@gmail.com>
Co-authored-by: kelvintsim <83445753+kelvintsim@users.noreply.github.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
Co-authored-by: Zixuan Cheng <61724187+Theysua@users.noreply.github.com>
2025-05-20 12:07:50 +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
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
Jyong
e90c532c3a
fix retrival resource miss in chatflow ( #18307 )
2025-04-17 18:05:15 +08:00
Yeuoly
358fd28c28
feat: fetch app info in plugins ( #18202 )
2025-04-16 20:27:29 +08:00
Panpan
24b1a625b3
feat: allow the embedding in websites to customize sys.user_id ( #16062 )
2025-03-31 18:55:42 +08:00
Yeuoly
c07af5a1a3
feat: tenant app invocations limiter ( #16221 )
2025-03-19 17:24:02 +08:00
jiangbo721
4e7e172ff3
Chore/format code ( #13691 )
...
Co-authored-by: 刘江波 <jiangbo721@163.com>
2025-02-14 13:38:17 +08:00
Hash Brown
c0d0c63592
feat: switch to chat messages before regenerated ( #11301 )
...
Co-authored-by: zuodongxu <192560071+zuodongxu@users.noreply.github.com>
2025-01-31 13:05:10 +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
Yingchun Lai
c135967e59
refactor: simplify some exception catch code ( #12246 )
2025-01-02 14:25:12 +08:00
-LAN-
5d04638091
feat(message_feedback): add content argument to feedback creation ( #12077 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-25 18:36:15 +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
yihong
39df994ff9
fix: create_feedback args are wrong ( #11962 )
...
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
2024-12-23 09:20:47 +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
-LAN-
0b06235527
fix: add RemoteFileUploadError for better error handling in remote fi… ( #11933 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-21 21:22:57 +08:00
Bowen Liang
51db59622c
chore(lint): cleanup repeated cause exception in logging.exception replaced by helpful message ( #10425 )
2024-11-15 15:41:40 +08:00
-LAN-
823ae03a08
fix(remote-files): fallback to get when remote server not support head method ( #10370 )
2024-11-07 14:35:58 +08:00
luckylhb90
1ccca7cc68
fixed: web api remote urls error ( #10383 )
...
Co-authored-by: hobo.l <hobo.l@binance.com>
2024-11-07 13:55:19 +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-
0066531266
fix(api): replace current_user with end_user in file upload ( #10194 )
2024-11-02 17:03:00 +08:00
-LAN-
9ac2bb30f4
Feat/add-remote-file-upload-api ( #9906 )
2024-11-01 15:51:22 +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
-LAN-
d6e8290a1c
fix(files): update Content-Length handling for tool and remote files ( #9649 )
2024-10-22 17:24:42 +08:00
-LAN-
8d8a8fe295
feat(file-upload): add support for optional file source parameter ( #9554 )
2024-10-21 17:46:24 +08:00
-LAN-
e61752bd3a
feat/enhance the multi-modal support ( #8818 )
2024-10-21 10:43:49 +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
Bowen Liang
40fb4d16ef
chore: refurbish Python code by applying refurb linter rules ( #8296 )
2024-09-12 15:50:49 +08:00
Bowen Liang
c69f5b07ba
chore: apply ruff E501 line-too-long linter rule ( #8275 )
...
Co-authored-by: -LAN- <laipz8200@outlook.com>
2024-09-12 14:00:36 +08:00
kurokobo
80aa7c4019
feat: allow users to use the app icon as the answer icon ( #7888 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2024-09-02 20:00:41 +08:00
Jyong
1473083a41
catch openai rate limit error ( #7658 )
2024-08-26 19:36:44 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
Joe
741c548f3c
feat: web sso ( #7135 )
2024-08-25 18:47:02 +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
Hash Brown
fbf31b5d52
feat: custom app icon ( #7196 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2024-08-19 09:16:33 +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
chenxu9741
6ef401a9f0
feat:add tts-streaming config and future ( #5492 )
2024-07-09 11:33:58 +08:00
Diego Romero-Lovo
4c0a31d38b
FR: #4048 - Add color customization to the chatbot ( #4885 )
...
Co-authored-by: crazywoola <427733928@qq.com>
2024-06-26 17:51:00 +08:00
crazywoola
92ddb410cd
feat: option to hide workflow steps ( #5436 )
2024-06-21 12:51:10 +08:00
Bowen Liang
f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x ( #4592 )
2024-06-14 01:05:37 +08:00
takatost
5986841e27
fix: issue where an error occurs when invoking TTS without selecting a voice ( #5046 )
2024-06-09 20:28:24 +08:00
Charlie.Wei
cd4924d472
Fix tts audition ( #4656 )
...
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-05-26 21:00:36 +08:00
Patryk Garstecki
aa13d14019
Feat/chat custom disclaimer ( #4306 )
2024-05-18 10:52:48 +08:00
Garfield Dai
dd94931116
Remove useless code ( #4416 )
2024-05-15 16:14:49 +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
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
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
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
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
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
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
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
Garfield Dai
7b37e05dec
feat: add billing switch. ( #1789 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-12-20 15:37:57 +08:00
zxhlyh
867fc61b12
fix: web app text ( #1784 )
2023-12-19 11:45:16 +08:00
zxhlyh
5bb841935e
feat: custom webapp logo ( #1766 )
2023-12-18 16:25:37 +08:00
Jyong
a71f2863ac
Annotation management ( #1767 )
...
Co-authored-by: jyong <jyong@dify.ai>
2023-12-18 13:10:05 +08:00
Garfield Dai
7c43123956
feat: can replace logo. ( #1752 )
2023-12-13 20:21:39 +08:00
crazywoola
a3dca3dabc
fix: auto generate type error in controllers/web/conversation.py ( #1718 )
2023-12-08 11:15:07 +08:00
Yeuoly
d3a2c0ed34
fix wrong syntax of type definitions ( #1678 )
2023-12-03 20:59:13 +08:00
crazywoola
cf0ba794d7
fix: old webapp url still valid ( #1643 )
2023-11-28 20:04:46 +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
Garfield Dai
42a5b3ec17
feat: advanced prompt backend ( #1301 )
...
Co-authored-by: takatost <takatost@gmail.com>
2023-10-12 10:13:10 -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
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
crazywoola
48a303b8e9
Feature/fix disable site ( #825 )
2023-08-13 17:32:23 +08:00
takatost
55b24c373f
Revert "Fix/disable site when change code" ( #805 )
2023-08-12 01:38:53 +08:00
takatost
5fa2161b05
feat: server multi models support ( #799 )
2023-08-12 00:57:00 +08:00
crazywoola
3d194787b4
Fix/disable site when change code ( #775 )
2023-08-08 10:00:00 +08:00
John Wang
4fdb37771a
feat: universal chat in explore ( #649 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-27 13:08:57 +08:00
crazywoola
f9412f5fdb
fix: site enable check ( #645 )
2023-07-26 11:11:09 +08:00
John Wang
7599f79a17
feat: claude api support ( #572 )
2023-07-17 00:14:19 +08:00
crazywoola
d49ac1e4ac
Feature/use jwt in web ( #533 )
...
Co-authored-by: crazywoola <li.zheng@dentsplysirona.com>
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
2023-07-11 15:21:20 +08:00
zxhlyh
a03a92e9db
Feat/chat support voice input ( #532 )
2023-07-07 17:50:42 +08:00
John Wang
ae94b067b3
feat: new stats ( #265 )
2023-05-31 11:20:24 +08:00
John Wang
93ae18ea12
Feat: explore apps ( #196 )
2023-05-25 15:54:45 +08:00
John Wang
9a5ae9f51f
Feat: optimize error desc ( #152 )
2023-05-22 17:39:28 +08:00
John Wang
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00