-LAN-
559ab46ee1
fix: Removes redundant token calculations and updates dependencies
...
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.
Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.
Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.
These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.
Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.
Relates to internal optimization tasks.
Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-04-28 15:39:12 +08:00
Xiyuan Chen
99a9def623
fix: reset_password security issue ( #18366 )
2025-04-18 05:04:44 -04:00
Xiyuan Chen
74d3320519
feat: account delete ( #11829 )
...
Co-authored-by: NFish <douxc512@gmail.com>
2024-12-30 11:33:42 +08:00
yihong
56e15d09a9
feat: mypy for all type check ( #10921 )
2024-12-24 18:38:51 +08:00
-LAN-
03548cdfbc
fix: handle broader request exceptions in OAuth process ( #11997 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-23 15:23:11 +08:00
-LAN-
9789905a1f
chore(*): Removes debugging print statements ( #11145 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-11-26 22:03:19 +08:00
Bowen Liang
6c8e208ef3
chore: bump minimum supported Python version to 3.11 ( #10386 )
2024-11-24 13:28:46 +08:00
Garfield Dai
c49efc0c22
Feat/account not found ( #10804 )
2024-11-18 16:14:39 +08:00
-LAN-
9ac2bb30f4
Feat/add-remote-file-upload-api ( #9906 )
2024-11-01 15:51:22 +08:00
Joe
ed96a6b6c0
fix: remove email code login redirect ( #9698 )
2024-10-23 14:56:10 +08:00
Joe
22bdfb7e56
Feat/optimize login ( #9642 )
2024-10-23 10:59:30 +08:00
-LAN-
e61752bd3a
feat/enhance the multi-modal support ( #8818 )
2024-10-21 10:43:49 +08:00
Joe
4fd2743efa
Feat/new login ( #8120 )
...
Co-authored-by: douxc <douxc512@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
2024-10-21 10:03:40 +08:00
-LAN-
f73751843f
Feat/implement-refresh-tokens ( #9233 )
2024-10-12 23:46:30 +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
292220c596
chore: apply pep8-naming rules for naming convention ( #8261 )
2024-09-11 16:40:52 +08:00
-LAN-
13be84e4d4
chore(api/controllers): Apply Ruff Formatter. ( #7645 )
2024-08-26 15:29:10 +08:00
Jyong
af76381b98
fix notion internal setting ( #6836 )
2024-07-31 17:17:46 +08:00
-LAN-
a98284b1ef
refactor(api): Switch to dify_config
( #6750 )
...
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-07-30 11:15:26 +08:00
-LAN-
4d105d7bd7
feat(*): Swtich to dify_config. ( #6025 )
2024-07-06 12:05:13 +08:00
xielong
00b4cc3cd4
feat: implement forgot password feature ( #5534 )
2024-07-05 13:38:51 +08:00
-LAN-
1336b844fd
feat(api/auth): switch-to-stateful-authentication ( #5438 )
2024-06-21 12:39:07 +08:00
Charles Zhou
cc4a4ec796
feat: permission and security fixes ( #5266 )
2024-06-17 16:06:32 +08:00
Jyong
ba5f8afaa8
Feat/firecrawl data source ( #5232 )
...
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: takatost <takatost@gmail.com>
2024-06-15 02:46:02 +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
takatost
e6d22fc3a0
fix: account has no owner workspace by member inviting ( #2435 )
2024-02-12 02:09:01 +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
a8f23ed712
Feat/move tenant id into db ( #2341 )
2024-02-02 15:00:13 +08:00
takatost
9f637ead38
bump version to 0.5.3 ( #2306 )
2024-02-01 18:11:57 +08:00
crazywoola
828822243a
fix: multiple rows were found correctly ( #2219 )
2024-01-26 12:47:42 +08:00
crazywoola
c17baef172
Feat/portuguese support ( #2075 )
2024-01-23 21:14:53 +08:00
Bowen Liang
cc9e74123c
improve: introduce isort for linting Python imports ( #1983 )
2024-01-12 12:34:01 +08:00
takatost
024250803a
feat: move login_required wrapper outside ( #1281 )
2023-10-08 05:21:32 -05:00
zxhlyh
c9b0fe47bf
Fix/notion sync ( #1258 )
2023-09-28 14:39:13 +08:00
zxhlyh
227f9fb77d
Feat/api jwt ( #1212 )
2023-09-25 12:49:16 +08:00
Matri
a5d21f3b09
fix: shortening invite url ( #1100 )
...
Co-authored-by: MatriQi <matri@aifi.io>
2023-09-07 17:15:57 +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
Matri
fc7e4ac75b
fix: automatically create tenant for user ( #793 )
2023-08-11 18:18:11 +08:00
KVOJJJin
cd51d3323b
feat: member invitation and activation ( #535 )
...
Co-authored-by: John Wang <takatost@gmail.com>
2023-07-14 11:19:26 +08:00
Jyong
226f28edcb
Feature/self host notion import ( #397 )
2023-06-17 19:50:21 +08:00
Jyong
9253f72dea
Feat/dataset notion import ( #392 )
...
Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: JzoNg <jzongcode@gmail.com>
2023-06-16 21:47:51 +08:00
John Wang
db896255d6
Initial commit
2023-05-15 08:51:32 +08:00