Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

update: install script (#858)

Fuegovic2b54e3f9fe0a
diff --git a/config/install.js b/config/install.js
index 9f1b6af99e..3184db1ab4 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(