Skip to content

Commit 2b54e3f

Browse files
authored
update: install script (danny-avila#858)
1 parent 1cd0fd9 commit 2b54e3f

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

config/install.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,11 @@ let env = {};
7070
const key = await askQuestion('Enter your OPENAI_API_KEY (default: "user_provided"): ');
7171
env['OPENAI_API_KEY'] = key || 'user_provided';
7272

73-
// GPT4???
74-
const gpt4 = await askQuestion('Do you have access to the GPT4 api (y/n)? Default: n');
75-
if (gpt4 == 'y' || gpt4 == 'yes') {
76-
env['OPENAI_MODELS'] = 'gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003,gpt-4,gpt-4-0314';
77-
} else {
78-
env['OPENAI_MODELS'] = 'gpt-3.5-turbo,gpt-3.5-turbo-0301,text-davinci-003';
79-
}
80-
8173
// Ask about mongodb
8274
const mongodb = await askQuestion(
83-
'What is your mongodb url? (default: mongodb://127.0.0.1:27017/LibreChat)',
75+
'What is your mongodb url? (default: mongodb://127.0.0.1:27018/LibreChat)',
8476
);
85-
env['MONGO_URI'] = mongodb || 'mongodb://127.0.0.1:27017/LibreChat';
77+
env['MONGO_URI'] = mongodb || 'mongodb://127.0.0.1:27018/LibreChat';
8678
// Very basic check to make sure they entered a url
8779
if (!env['MONGO_URI'].includes('://')) {
8880
console.orange(

0 commit comments

Comments
 (0)