feat: Add Custom Welcome Message Support in LibreChat (#236)

* feat: Add Custom Welcome Message Support in LibreChat [#5870](https://github.com/danny-avila/LibreChat/pull/5870)

* 📜 docs: update dotenv.mdx and interface.mdx to remove custom welcome message references
This commit is contained in:
Ruben Talstra
2025-02-22 23:42:46 +01:00
committed by GitHub
parent bce321dbbb
commit f5ee4e2d0f
2 changed files with 27 additions and 5 deletions

View File

@@ -981,11 +981,11 @@ Properly setting cache headers is crucial for optimizing the performance and eff
**Behaviour:**
* Uncomment `CUSTOM_FOOTER` to add a custom footer.
* Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer.
* You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`).
* Uncomment `CUSTOM_FOOTER` to add a custom footer.
* Uncomment and leave `CUSTOM_FOOTER` empty to remove the footer.
* You can now add one or more links in the CUSTOM_FOOTER value using the following format: `[Anchor text](URL)`. Each link should be delineated with a pipe (`|`).
> **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)`
> **Markdown example:** `CUSTOM_FOOTER=[Link 1](http://example1.com) | [Link 2](http://example2.com)`
#### Birthday Hat

View File

@@ -17,6 +17,7 @@ These are fields under `interface`:
- `bookmarks`
- `multiConvo`
- `agents`
- `customWelcome`
**Notes:**
@@ -49,6 +50,7 @@ interface:
bookmarks: true
multiConvo: true
agents: true
customWelcome: "Welcome to LibreChat!"
```
## privacyPolicy
@@ -241,4 +243,24 @@ More info on [Agents](/docs/features/agents)
```yaml filename="interface / agents"
interface:
agents: true
```
```
---
## customWelcome
**Key:**
<OptionTable
options={[
['customWelcome', 'String', 'Allows administrators to define a custom welcome message for the chat interface.', 'This message will be displayed to users upon entering the chat, providing a personalized greeting.'],
]}
/>
**Default:** _None (if not specified, a default greeting is used)_
**Example:**
```yaml filename="interface / customWelcome"
interface:
customWelcome: "Welcome to LibreChat! Enjoy your conversation."
```