Skip to content

Commit 2c5989e

Browse files
authored
feat: support vision model (#479)
* feat: support vision model Signed-off-by: Bob Du <i@bobdu.cc> * fix: pnpm install not found git commond Signed-off-by: Bob Du <i@bobdu.cc> * fix: upload image api 404 Signed-off-by: Bob Du <i@bobdu.cc> --------- Signed-off-by: Bob Du <i@bobdu.cc>
1 parent e63f8d2 commit 2c5989e

File tree

18 files changed

+332
-40
lines changed

18 files changed

+332
-40
lines changed

service/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ coverage
3030

3131
build
3232
public
33+
uploads

service/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"axios": "^1.6.7",
31-
"chatgpt": "^5.2.4",
31+
"chatgpt": "npm:@chatgptweb/chatgpt-api@5.3.0",
3232
"dayjs": "^1.11.7",
3333
"dotenv": "^16.0.3",
3434
"express": "^4.18.3",
@@ -39,6 +39,7 @@
3939
"jsonwebtoken": "^9.0.0",
4040
"jwt-decode": "^3.1.2",
4141
"mongodb": "^5.9.2",
42+
"multer": "1.4.5-lts.1",
4243
"node-fetch": "^3.3.0",
4344
"nodemailer": "^6.9.9",
4445
"request-ip": "^3.3.0",
@@ -48,9 +49,10 @@
4849
},
4950
"devDependencies": {
5051
"@antfu/eslint-config": "^0.43.1",
51-
"@types/express": "^4.17.17",
52+
"@types/express": "^4.17.21",
5253
"@types/isomorphic-fetch": "^0.0.39",
5354
"@types/jsonwebtoken": "^9.0.5",
55+
"@types/multer": "^1.4.11",
5456
"@types/node": "^18.14.6",
5557
"@types/nodemailer": "^6.4.14",
5658
"@types/request-ip": "^0.0.41",

service/pnpm-lock.yaml

Lines changed: 137 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)