mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
update package
This commit is contained in:
parent
e2f78ede72
commit
3b36628bc1
@ -1,9 +1,9 @@
|
||||
import bcrypt from "bcryptjs";
|
||||
import { get_encoding } from "tiktoken";
|
||||
|
||||
const encoding = get_encoding("cl100k_base");
|
||||
|
||||
export function getTokenLength(input: string): number {
|
||||
const encoding = get_encoding("cl100k_base");
|
||||
return encoding.encode(input).length;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
"@fortaine/fetch-event-source": "^3.0.6",
|
||||
"@hello-pangea/dnd": "^16.5.0",
|
||||
"@next-auth/prisma-adapter": "^1.0.7",
|
||||
"@next/third-parties": "^14.1.0",
|
||||
"@next/third-parties": "^14.2.1",
|
||||
"@prisma/client": "5.12.1",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@vercel/analytics": "^1.1.2",
|
||||
@ -35,8 +35,8 @@
|
||||
"mermaid": "^10.7.0",
|
||||
"microsoft-cognitiveservices-speech-sdk": "^1.36.0",
|
||||
"nanoid": "^5.0.3",
|
||||
"next": "^14.1.0",
|
||||
"next-auth": "^4.24.5",
|
||||
"next": "^14.2.1",
|
||||
"next-auth": "^4.24.7",
|
||||
"node-fetch": "^3.3.1",
|
||||
"nodemailer": "^6.9.13",
|
||||
"react": "^18.2.0",
|
||||
@ -72,7 +72,7 @@
|
||||
"cross-env": "^7.0.3",
|
||||
"date-fns": "^3.6.0",
|
||||
"eslint": "^8.55.0",
|
||||
"eslint-config-next": "^14.1.0",
|
||||
"eslint-config-next": "^14.2.1",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.3",
|
||||
"husky": "^9.0.7",
|
||||
|
Loading…
Reference in New Issue
Block a user