mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-09 12:08:50 +01:00
improve custom model selection ux
This commit is contained in:
parent
d93282640c
commit
6d757ff91f
6 changed files with 49 additions and 20 deletions
|
|
@ -1,6 +1,7 @@
|
|||
OPENAI_KEY=
|
||||
PORT=3080
|
||||
NODE_ENV=development
|
||||
MONGO_URI="mongodb://127.0.0.1:27017/chatgpt-client"
|
||||
# Change this to your MongoDB URI if different and I recommend appending chatgpt-clone
|
||||
MONGO_URI="mongodb://127.0.0.1:27017/chatgpt-clone"
|
||||
CHATGPT_TOKEN=""
|
||||
BING_TOKEN=""
|
||||
|
|
@ -45,8 +45,6 @@ module.exports = {
|
|||
},
|
||||
updateCustomGpt: async ({ value, ...update }) => {
|
||||
try {
|
||||
console.log('updateCustomGpt', value, update);
|
||||
|
||||
const customGpt = await CustomGpt.findOne({ value }).exec();
|
||||
|
||||
if (!customGpt) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue