mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-25 19:56:13 +01:00
🌐 feat: librechat.yaml from URL (#2064)
* feat: librechat.yaml from URL * doc update: librechat.yaml from URL * update dotenv.md - typo * Update loadCustomConfig.js * ci: specs for loadCustomConfig * fix(processFileURL): safe destructuring of saveURL result --------- Co-authored-by: fuegovic <fueg@live.ca> Co-authored-by: Fuegovic <32828263+fuegovic@users.noreply.github.com>
This commit is contained in:
parent
f5a754c8be
commit
ebcca16b94
5 changed files with 201 additions and 17 deletions
|
|
@ -106,13 +106,15 @@ UID=1000
|
|||
GID=1000
|
||||
```
|
||||
|
||||
### librechat.yaml path
|
||||
Set an alternative path for the LibreChat config file
|
||||
### Configuration Path - `librechat.yaml`
|
||||
Specify an alternative location for the LibreChat configuration file.
|
||||
You may specify an **absolute path**, a **relative path**, or a **URL**. The filename in the path is flexible and does not have to be `librechat.yaml`; any valid configuration file will work.
|
||||
|
||||
> Note: leave commented out to have LibreChat look for the config file in the root folder (default behavior)
|
||||
> **Note**: If you prefer LibreChat to search for the configuration file in the root directory (which is the default behavior), simply leave this option commented out.
|
||||
|
||||
```sh
|
||||
CONFIG_PATH="/alternative/path/to/librechat.yaml"
|
||||
# To set an alternative configuration path or URL, uncomment the line below and replace it with your desired path or URL.
|
||||
# CONFIG_PATH="/your/alternative/path/to/config.yaml"
|
||||
```
|
||||
|
||||
## Endpoints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue