From fbdf1d17ea0fd34e90fd4e5a5e08759df77a6661 Mon Sep 17 00:00:00 2001 From: Fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Thu, 7 Mar 2024 08:11:32 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=BE=20chore:=20Update=20.env.example?= =?UTF-8?q?=20(#2004)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update .env.example Make assistants show in the UI by default * Update dotenv.md --- .env.example | 2 +- docs/install/configuration/dotenv.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index a97ef4ce93..c0537a0bc1 100644 --- a/.env.example +++ b/.env.example @@ -131,7 +131,7 @@ DEBUG_OPENAI=false # Assistants API # #====================# -# ASSISTANTS_API_KEY= +ASSISTANTS_API_KEY=user_provided # ASSISTANTS_BASE_URL= # ASSISTANTS_MODELS=gpt-3.5-turbo-0125,gpt-3.5-turbo-16k-0613,gpt-3.5-turbo-16k,gpt-3.5-turbo,gpt-4,gpt-4-0314,gpt-4-32k-0314,gpt-4-0613,gpt-3.5-turbo-0613,gpt-3.5-turbo-1106,gpt-4-0125-preview,gpt-4-turbo-preview,gpt-4-1106-preview diff --git a/docs/install/configuration/dotenv.md b/docs/install/configuration/dotenv.md index d67c18f1ed..a377db4060 100644 --- a/docs/install/configuration/dotenv.md +++ b/docs/install/configuration/dotenv.md @@ -375,6 +375,10 @@ OPENAI_FORCE_PROMPT=true - Leave `ASSISTANTS_API_KEY=` blank to disable this endpoint - Set `ASSISTANTS_API_KEY=` to `user_provided` to allow users to provide their own API key from the WebUI +```bash +ASSISTANTS_API_KEY=user_provided +``` + - Customize the available models, separated by commas, **without spaces**. - The first will be default. - Leave it blank or commented out to use internal settings: