⚡ (openai) Truncate messages sequence automatically if reaching token limit
This commit is contained in:
@@ -13,14 +13,15 @@
|
||||
"test:report": "pnpm playwright show-report"
|
||||
},
|
||||
"dependencies": {
|
||||
"@dqbd/tiktoken": "^1.0.7",
|
||||
"@sentry/nextjs": "7.46.0",
|
||||
"@trpc/server": "10.18.0",
|
||||
"@typebot.io/js": "workspace:*",
|
||||
"@typebot.io/prisma": "workspace:*",
|
||||
"@typebot.io/react": "workspace:*",
|
||||
"aws-sdk": "2.1348.0",
|
||||
"bot-engine": "workspace:*",
|
||||
"cors": "2.8.5",
|
||||
"@typebot.io/prisma": "workspace:*",
|
||||
"google-spreadsheet": "3.3.0",
|
||||
"got": "12.6.0",
|
||||
"libphonenumber-js": "1.10.24",
|
||||
@@ -39,6 +40,10 @@
|
||||
"@faire/mjml-react": "3.2.0",
|
||||
"@paralleldrive/cuid2": "2.2.0",
|
||||
"@playwright/test": "1.32.1",
|
||||
"@typebot.io/emails": "workspace:*",
|
||||
"@typebot.io/lib": "workspace:*",
|
||||
"@typebot.io/schemas": "workspace:*",
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"@types/cors": "2.8.13",
|
||||
"@types/google-spreadsheet": "3.3.1",
|
||||
"@types/node": "18.15.11",
|
||||
@@ -48,17 +53,13 @@
|
||||
"@types/react": "18.0.32",
|
||||
"@types/sanitize-html": "2.9.0",
|
||||
"dotenv": "16.0.3",
|
||||
"@typebot.io/emails": "workspace:*",
|
||||
"eslint": "8.37.0",
|
||||
"eslint-config-custom": "workspace:*",
|
||||
"google-auth-library": "8.7.0",
|
||||
"@typebot.io/schemas": "workspace:*",
|
||||
"node-fetch": "3.3.1",
|
||||
"papaparse": "5.4.1",
|
||||
"superjson": "1.12.2",
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"typescript": "5.0.3",
|
||||
"@typebot.io/lib": "workspace:*",
|
||||
"zod": "3.21.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user