From 2b54e3f9fe0ac5bd72ebc1124a0d1d235f0a5685 Mon Sep 17 00:00:00 2001 From: Fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Fri, 1 Sep 2023 14:20:51 -0400 Subject: [PATCH] update: install script (#858) --- config/install.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/config/install.js b/config/install.js index 9f1b6af99..3184db1ab 100644 --- a/config/install.js +++ b/config/install.js @@ -70,19 +70,11 @@ let env = {}; const key = await askQuestion('Enter your OPENAI_API_KEY (default: "user_provided"): '); env['OPENAI_API_KEY'] = key || 'user_provided'; - // GPT4??? - const gpt4 = await askQuestion('Do you have access to the GPT4 api (y/n)? Default: n'); - if (gpt4 == 'y' || gpt4 == 'yes') { - env['OPENAI_MODELS'] = 'gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314'; - } else { - env['OPENAI_MODELS'] = 'gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003'; - } - // Ask about mongodb const mongodb = await askQuestion( - 'What is your mongodb url? (default: mongodb://127.0.0.1:27017/LibreChat)', + 'What is your mongodb url? (default: mongodb://127.0.0.1:27018/LibreChat)', ); - env['MONGO_URI'] = mongodb || 'mongodb://127.0.0.1:27017/LibreChat'; + env['MONGO_URI'] = mongodb || 'mongodb://127.0.0.1:27018/LibreChat'; // Very basic check to make sure they entered a url if (!env['MONGO_URI'].includes('://')) { console.orange(