Skip to content

Commit

Permalink
multiple changes
Browse files Browse the repository at this point in the history
* add support for persistent message using redis
* add edit icon in favor of edit button
* remove duplicated function
* add aiName option
* display aiName and name
* fix system message option text box
* enable VITE_GLOB_OPEN_LONG_REPLY
  • Loading branch information
Equim-chan committed Mar 22, 2023
1 parent f158609 commit 5a214ce
Show file tree
Hide file tree
Showing 13 changed files with 233 additions and 203 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ VITE_GLOB_API_URL=/api
VITE_APP_API_BASE_URL=http://localhost:3002/

# Whether long replies are supported, which may result in higher API fees
VITE_GLOB_OPEN_LONG_REPLY=false
VITE_GLOB_OPEN_LONG_REPLY=true

# When you want to use PWA
VITE_GLOB_APP_PWA=false
2 changes: 2 additions & 0 deletions service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml"
},
"dependencies": {
"@keyv/redis": "^2.5.6",
"axios": "^1.3.4",
"chatgpt": "^5.1.2",
"dotenv": "^16.0.3",
Expand All @@ -32,6 +33,7 @@
"express-rate-limit": "^6.7.0",
"https-proxy-agent": "^5.0.1",
"isomorphic-fetch": "^3.0.0",
"keyv": "^4.5.2",
"node-fetch": "^3.3.0",
"socks-proxy-agent": "^7.0.0"
},
Expand Down
Loading

0 comments on commit 5a214ce

Please sign in to comment.