mirror of
https://github.com/LibreChat-AI/librechat.ai.git
synced 2026-03-27 10:48:32 +07:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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."
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user