sse events on text submit

This commit is contained in:
Daniel Avila 2023-02-05 15:29:35 -05:00
parent 27f7276fc8
commit 3a199757ae
6 changed files with 70 additions and 309 deletions

View file

@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "webpack-dev-server .",
"build": "Webpack .",
"build": "Webpack . --watch",
"server": "npx nodemon server/index.js",
"test": "test"
},
"repository": {
@ -21,6 +22,7 @@
"homepage": "https://github.com/danny-avila/rpp2210-mvp#readme",
"dependencies": {
"chatgpt": "^4.1.1",
"cors": "^2.8.5",
"crypto-browserify": "^3.12.0",
"dotenv": "^16.0.3",
"eventsource": "^2.0.2",