diff --git a/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js b/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js index 1b7147d9f7..280acf5aad 100644 --- a/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js +++ b/api/server/services/Endpoints/gptPlugins/initializeClient.spec.js @@ -338,7 +338,6 @@ describe('gptPlugins/initializeClient', () => { }); test('should initialize client with default options when certain env vars are not set', async () => { - delete process.env.DEBUG_OPENAI; delete process.env.OPENAI_SUMMARIZE; process.env.OPENAI_API_KEY = 'some-api-key'; @@ -351,8 +350,6 @@ describe('gptPlugins/initializeClient', () => { const endpointOption = {}; const client = await initializeClient({ req, res, endpointOption }); - - expect(client.client.options.debug).toBe(false); expect(client.client.options.contextStrategy).toBe(null); }); diff --git a/docs/contributions/documentation_guidelines.md b/docs/contributions/documentation_guidelines.md index 98fcbb160b..3dc411d39c 100644 --- a/docs/contributions/documentation_guidelines.md +++ b/docs/contributions/documentation_guidelines.md @@ -26,6 +26,8 @@ This document explains how to contribute to the LibreChat documentation by writi - Use relative paths for links to other documents. - You can use HTML to add additional features to a document. - Highlight keystrokes with `+` (example: `++ctrl+alt+del++` 🟰 ++ctrl+alt+del++) +- Make sure any HTML has closing tags; i.e.: `` or `` +- [HTML comments](https://www.w3schools.com/html/html_comments.asp) are not allowed. Use [Markdown comments](https://gist.github.com/jonikarppinen/47dc8c1d7ab7e911f4c9?permalink_comment_id=4272770#gistcomment-4272770) instead, and only if the text is actually hidden. - 🌐 see the MKDocs Material documentation for more information: [MKDocs Material Reference](https://squidfunk.github.io/mkdocs-material/reference/) ## Document Metadata @@ -108,7 +110,7 @@ mkdocs serve ```html title="HTML Code"

- +

LibreChat

@@ -119,7 +121,7 @@ mkdocs serve !!! quote "Result:"

- +

LibreChat

diff --git a/docs/contributions/testing.md b/docs/contributions/testing.md index 9401165de5..60a608f417 100644 --- a/docs/contributions/testing.md +++ b/docs/contributions/testing.md @@ -23,25 +23,3 @@ cp .env.example ./api/.env ![image](https://github.com/danny-avila/LibreChat/assets/32828263/d222034c-9c3a-4764-b972-39e954c92170) - - - diff --git a/docs/deployment/cloudflare.md b/docs/deployment/cloudflare.md index b380a3b70b..edde4e4539 100644 --- a/docs/deployment/cloudflare.md +++ b/docs/deployment/cloudflare.md @@ -3,7 +3,7 @@ title: ☁️ Cloudflare description: How to setup a domain with Cloudflare and use Cloudflare Tunnels to securely expose your local web servers or services to the internet. weight: 10 --- - + # Cloudflare ### if you are new to Domain, here's a quick guide to use setup a domain with Cloudflare: diff --git a/docs/deployment/linode.md b/docs/deployment/linode.md index ae9394455c..f8cc9a96df 100644 --- a/docs/deployment/linode.md +++ b/docs/deployment/linode.md @@ -3,7 +3,7 @@ title: 🐧 Linode description: How to deploy LibreChat on Linode. weight: -8 --- - + # Linode diff --git a/docs/deployment/railway.md b/docs/deployment/railway.md index 638ce1ab7f..1533f2beb8 100644 --- a/docs/deployment/railway.md +++ b/docs/deployment/railway.md @@ -18,7 +18,7 @@ Go to the [LibreChat repository](https://github.com/danny-avila/LibreChat) on Gi

- Deploy on Railway + Deploy on Railway

diff --git a/docs/features/manage_your_database.md b/docs/features/manage_your_database.md index a8c5258044..ea896325e1 100644 --- a/docs/features/manage_your_database.md +++ b/docs/features/manage_your_database.md @@ -4,7 +4,7 @@ description: How to install and configure Mongo Express to securely access and m weight: -5 --- - + # Manage Your MongoDB Database with Mongo Express diff --git a/docs/features/plugins/chatgpt_plugins_openapi.md b/docs/features/plugins/chatgpt_plugins_openapi.md index 7bf8a04a0e..30dc3e7c19 100644 --- a/docs/features/plugins/chatgpt_plugins_openapi.md +++ b/docs/features/plugins/chatgpt_plugins_openapi.md @@ -11,21 +11,6 @@ To learn more about them, or how to make your own, read here: **[ChatGPT Plugins Thanks to the introduction of **[OpenAI Functions](https://openai.com/blog/function-calling-and-other-api-updates)** and their utilization in **[Langchain](https://js.langchain.com/docs/modules/chains/openai_functions/openapi)**, it's now possible to directly use OpenAI Plugins through LibreChat, without building any custom langchain tools. The main use case we gain from integrating them to LibreChat is to allow use of plugins with gpt-3.5 models, and without ChatGPT Plus. They also find a great use case when you want to limit your own private API's interactions with chat.openai.com and their servers in favor of a self-hosted LibreChat instance. - - ## Intro Before continuing, it's important to fully distinguish what a Manifest file is vs. an OpenAPI specification. diff --git a/docs/features/plugins/google_search.md b/docs/features/plugins/google_search.md index 0b575414f2..c5964aa887 100644 --- a/docs/features/plugins/google_search.md +++ b/docs/features/plugins/google_search.md @@ -13,10 +13,7 @@ GOOGLE_CSE_ID="...." You first need to create a programmable search engine and get the search engine ID: **[https://developers.google.com/custom-search/docs/tutorial/creatingcse](https://developers.google.com/custom-search/docs/tutorial/creatingcse)** -Then you can get the API key, click the "Get a key" button on this page: **[https://developers.google.com/custom-search/v1/introduction](https://developers.google.com/custom-search/v1/introduction)** - - - +Then you can get the API key, click the "Get a key" button on this page: **[https://developers.google.com/custom-search/v1/introduction](https://developers.google.com/custom-search/v1/introduction)** ## 1\. Go to the [Programmable Search Engine docs](https://developers.google.com/custom-search/docs/tutorial/creatingcse) to get a Search engine ID diff --git a/docs/features/presets.md b/docs/features/presets.md index 5ea6ee3ab6..604ca77e3f 100644 --- a/docs/features/presets.md +++ b/docs/features/presets.md @@ -77,7 +77,7 @@ To export a preset, first go in the preset menu, then click on the button to edi Then in the bottom of the preset settings you'll have the option to export it.

- +

## Setting Default Preset diff --git a/docs/features/third_party.md b/docs/features/third_party.md index 0f28997455..65e0c24949 100644 --- a/docs/features/third_party.md +++ b/docs/features/third_party.md @@ -16,7 +16,7 @@ weight: -2 The LibreChat-DiscordBot is a versatile and user-friendly Discord bot designed to streamline interactions with your LibreChat server. With this bot, you can effortlessly manage the LibreChat server directly from your Discord server, eliminating the need for direct server access. It offers an array of functionalities to enhance your LibreChat experience.
- +
--- @@ -26,8 +26,8 @@ The LibreChat-DiscordBot is a versatile and user-friendly Discord bot designed t This app is a webview for LibreChat instance Android independent app, this project is forked from ChatGPT-android-app. Default webpage of this app has been set to LibreChat's GitHub Page. This app is optimized for LibreChat's function which is not an original project. For example, Social Login Oauth login support is added to this build.
- - + +
--- @@ -45,7 +45,7 @@ This script automates the local Windows 64 bits installation and offers a utilit A Terraform setup to deploy LibreChat to Azure and setup all the necessary services.
- +
--- diff --git a/docs/index.md b/docs/index.md index 4026f691a9..ee7bf3ab62 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,7 +9,6 @@ weight: -10 -

LibreChat

diff --git a/docs/install/configuration/ai_endpoints.md b/docs/install/configuration/ai_endpoints.md index 3fcb343a2a..62053ce378 100644 --- a/docs/install/configuration/ai_endpoints.md +++ b/docs/install/configuration/ai_endpoints.md @@ -21,7 +21,7 @@ Some of the endpoints are marked as **Known,** which means they might have speci - **Known:** icon provided. -- **Temperature:** If you set a temperature value of 0, it will be converted to 1e-8. If you run into any issues, please try setting the value to a float32 > 0 and <= 2. +- **Temperature:** If you set a temperature value of 0, it will be converted to 1e-8. If you run into any issues, please try setting the value to a float32 greater than 0 and less than or equal to 2. - Groq is currently free but rate limited: 10 queries/minute, 100/hour. diff --git a/docs/install/configuration/ai_setup.md b/docs/install/configuration/ai_setup.md index 1a2339fe3e..fe8ed0a38f 100644 --- a/docs/install/configuration/ai_setup.md +++ b/docs/install/configuration/ai_setup.md @@ -4,37 +4,6 @@ description: This doc explains how to setup your AI providers, their APIs and cr weight: -8 --- - - ---- - # AI Setup This doc explains how to setup your AI providers, their APIs and credentials. @@ -287,26 +256,6 @@ As noted earlier, [review the Custom Config Guide (click here)](./custom_config. **Important:** Stability for Unofficial APIs are not guaranteed. Access methods to these APIs are hacky, prone to errors, and patching, and are marked lowest in priority in LibreChat's development. - - ### BingAI I recommend using Microsoft Edge for this: diff --git a/docs/install/configuration/azure_openai.md b/docs/install/configuration/azure_openai.md index 74fd2261dd..8a098f601e 100644 --- a/docs/install/configuration/azure_openai.md +++ b/docs/install/configuration/azure_openai.md @@ -108,7 +108,8 @@ These settings apply globally to all Azure models and groups within the endpoint 8. **groups** (Array/List, Required): Specifies the list of Azure OpenAI model groups. Each group represents a set of models with shared configurations. The groups field is an array of objects, where each object defines the settings for a specific group. This is a required field at the endpoint level, and at least one group must be defined. The group-level configurations are detailed in the Group-Level Configuration section. - +[ 9. **customOrder** (Number, Optional): Allows you to specify a custom order for the Azure endpoint in the user interface. Higher numbers will appear lower in the list. If not provided, the default order is determined by the order in which the endpoints are defined in the `librechat.yaml` file. +]: # Here's an example of how you can configure these endpoint-level settings in your `librechat.yaml` file: diff --git a/docs/install/configuration/dotenv.md b/docs/install/configuration/dotenv.md index 0f0f26ba01..6e2b6fd947 100644 --- a/docs/install/configuration/dotenv.md +++ b/docs/install/configuration/dotenv.md @@ -268,28 +268,6 @@ BINGAI_TOKEN=user_provided BINGAI_HOST= ``` - - ### Google Follow these instructions to setup the [Google Endpoint](./ai_setup.md#google)