Skip to content

Commit 412922f

Browse files
refactored mistral code heavily to not write a file on vercel
1 parent 7ac427e commit 412922f

File tree

5 files changed

+758
-249
lines changed

5 files changed

+758
-249
lines changed

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@ilovepdf/ilovepdf-nodejs": "^0.2.6",
14+
"@mistralai/mistralai": "^1.3.5",
1415
"@radix-ui/react-dialog": "^1.1.2",
1516
"@radix-ui/react-icons": "^1.3.0",
1617
"@radix-ui/react-popover": "^1.1.2",
@@ -30,6 +31,7 @@
3031
"@vercel/kv": "^3.0.0",
3132
"axios": "^1.7.2",
3233
"bcrypt": "^5.1.1",
34+
"canvas": "^3.0.0",
3335
"class-variance-authority": "^0.7.0",
3436
"cloudinary": "^2.2.0",
3537
"clsx": "^2.1.1",
@@ -53,6 +55,8 @@
5355
"nodemailer": "^6.9.13",
5456
"pdf-compressor": "^1.0.5",
5557
"pdf-lib": "^1.17.1",
58+
"pdf.worker": "link:pdfjs-dist/build/pdf.worker",
59+
"pdf2pic": "^3.1.3",
5660
"pdfjs-dist": "^3.4.120",
5761
"react": "^18.3.0",
5862
"react-camera-pro": "^1.4.0",

0 commit comments

Comments
 (0)