Commit Graph

9 Commits (5f7f851b177f4e0b3e1a29debd04bcbb596b97cd)

Author SHA1 Message Date
-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>
9 months ago
Xiyuan Chen 99a9def623
fix: reset_password security issue (#18366) 10 months ago
Xiyuan Chen 74d3320519
feat: account delete (#11829)
Co-authored-by: NFish <douxc512@gmail.com>
1 year ago
yihong 56e15d09a9
feat: mypy for all type check (#10921) 1 year ago
Garfield Dai c49efc0c22
Feat/account not found (#10804) 1 year ago
-LAN- 9ac2bb30f4
Feat/add-remote-file-upload-api (#9906) 1 year ago
Joe 4fd2743efa
Feat/new login (#8120)
Co-authored-by: douxc <douxc512@gmail.com>
Co-authored-by: Garfield Dai <dai.hai@foxmail.com>
1 year ago
-LAN- 13be84e4d4
chore(api/controllers): Apply Ruff Formatter. (#7645) 1 year ago
xielong 00b4cc3cd4
feat: implement forgot password feature (#5534) 2 years ago