feat: v0.7.5-rc1 LibreChat / v1.1.6 config; refactor: Hero (#112)

* refactor: headers

* refactor: update headline and subtitle in Hero component

* feat: Add v0.7.5-rc1 release candidate changelog

* docs: Add prompts and bookmarks settings to interface configuration

* docs: Update static file configuration and documentation
This commit is contained in:
Danny Avila
2024-08-28 15:20:34 -04:00
committed by GitHub
parent 0748f5ec99
commit 16f10e41ff
11 changed files with 168 additions and 22 deletions

View File

@@ -0,0 +1,3 @@
- Added [`prompts`](/docs/configuration/librechat_yaml/object_structure/interface#prompts) and [`bookmarks`](/docs/configuration/librechat_yaml/object_structure/interface#bookmarks) to the interface settings.
- This allows you to disable or enable the prompts and bookmarks tabs in the interface.
- Applies only to users with "USER" roles, "ADMIN" roles will always see these features enabled.

View File

@@ -0,0 +1,74 @@
## What's Changed
Release candidate version for v0.7.5
### ✨ New Features
* 🛠️ feat: Azure OpenAI Assistants File Downloads by [@danny-avila](https://github.com/@danny-avila) in [#3653](https://github.com/danny-avila/LibreChat/pull/3653)
* 🤖 feat: Recognize `chatgpt-4o-latest`, update default OpenAI Models by [@danny-avila](https://github.com/@danny-avila) in [#3667](https://github.com/danny-avila/LibreChat/pull/3667)
* 💾 feat: Anthropic Prompt Caching by [@danny-avila](https://github.com/@danny-avila) in [#3670](https://github.com/danny-avila/LibreChat/pull/3670)
* 📩 feat: invite user by [@berry-13](https://github.com/@berry-13) in [#3012](https://github.com/danny-avila/LibreChat/pull/3012)
* 🧪 feat: Prompt Dropdown Variable; style: Add Markdown Support by [@danny-avila](https://github.com/@danny-avila) in [#3681](https://github.com/danny-avila/LibreChat/pull/3681)
* 🔐 feat: Toggle Access to Prompts via `librechat.yaml` by [@danny-avila](https://github.com/@danny-avila) in [#3735](https://github.com/danny-avila/LibreChat/pull/3735)
* 🔖 feat: Enhance Bookmarks UX, add RBAC, toggle via `librechat.yaml` by [@danny-avila](https://github.com/@danny-avila) in [#3747](https://github.com/danny-avila/LibreChat/pull/3747)
* 🧮 feat: Improve LaTeX rendering consistency by [@danny-avila](https://github.com/@danny-avila) in [#3763](https://github.com/danny-avila/LibreChat/pull/3763)
* 🧮 feat: Improve structured token spending and testing; fix: Anthropic Cache Spend by [@danny-avila](https://github.com/@danny-avila) in [#3766](https://github.com/danny-avila/LibreChat/pull/3766)
* 🐋 feat: Known Endpoints: DeepSeek, Unify by [@fuegovic](https://github.com/@fuegovic) in [#3776](https://github.com/danny-avila/LibreChat/pull/3776), [#3778](https://github.com/danny-avila/LibreChat/pull/3778)
* 🧠 feat: Prompt caching switch, prompt query params; refactor: static cache, prompt/markdown styling, trim copied code, switch new chat to convo URL by [@danny-avila](https://github.com/@danny-avila) in [#3784](https://github.com/danny-avila/LibreChat/pull/3784)
### 🚀 Optimizations:
* 📜 refactor: Optimize Longer Message Thread Performance by [@danny-avila](https://github.com/@danny-avila) in [#3610](https://github.com/danny-avila/LibreChat/pull/3610)
* 🔀 refactor: Modularize TTS Logic for Improved Browser support by [@danny-avila](https://github.com/@danny-avila) in [#3657](https://github.com/danny-avila/LibreChat/pull/3657)
* 🖱️ fix: Message Scrolling UX; refactor: Frontend UX/DX Optimizations by [@danny-avila](https://github.com/@danny-avila) in [#3733](https://github.com/danny-avila/LibreChat/pull/3733)
### 🎨 Styling
* 🖼️ style: Conversation Menu and Dialogs update by [@berry-13](https://github.com/@berry-13) in [#3601](https://github.com/danny-avila/LibreChat/pull/3601)
* ⏺️ style: Better Markdown Lists by [@danny-avila](https://github.com/@danny-avila) in [#3777](https://github.com/danny-avila/LibreChat/pull/3777)
* ⌨️ style(a11y): kb access for LLM endpoint menu; refactor: style by [@berry-13](https://github.com/@berry-13) in [#3714](https://github.com/danny-avila/LibreChat/pull/3714)
### 🔧 Fixes
* 📧 fix: [@command](https://github.com/@command) & +command timing for click selections by [@berry-13](https://github.com/@berry-13) in [#3617](https://github.com/danny-avila/LibreChat/pull/3617)
* 🎛️ fix: Improve Frontend Practices for Audio Settings by [@danny-avila](https://github.com/@danny-avila) in [#3624](https://github.com/danny-avila/LibreChat/pull/3624)
* 🎙️ fix: Optimize and Fix Browser TTS Incompatibility (firefox) by [@danny-avila](https://github.com/@danny-avila) in [#3627](https://github.com/danny-avila/LibreChat/pull/3627)
* 🎧 fix(TTS): Improve State of audio playback, hook patterns, and fix undefined MediaSource by [@danny-avila](https://github.com/@danny-avila) in [#3632](https://github.com/danny-avila/LibreChat/pull/3632)
* 🔧 fix: Bookmark Order Adjustment When Moving Up by [@ohneda](https://github.com/@ohneda) in [#3634](https://github.com/danny-avila/LibreChat/pull/3634)
* 🦙 fix: Update Title Message Role for Ollama if None Provided by [@danny-avila](https://github.com/@danny-avila) in [#3663](https://github.com/danny-avila/LibreChat/pull/3663)
* 🔧 fix: Delete Archived Chat z-index issue by [@arthurian](https://github.com/@arthurian) in [#3643](https://github.com/danny-avila/LibreChat/pull/3643)
* ⚓ fix: Export Button Content Shift; chore: bump `axios` and add logging by [@berry-13](https://github.com/@berry-13) in [#3668](https://github.com/danny-avila/LibreChat/pull/3668)
* 📱 fix: Resolve Android Device and Accessibility Issues of Sidebar Combobox by [@danny-avila](https://github.com/@danny-avila) in [#3689](https://github.com/danny-avila/LibreChat/pull/3689)
* 🐛 fix: Anthropic Prompt Caching Edge Case by [@danny-avila](https://github.com/@danny-avila) in [#3690](https://github.com/danny-avila/LibreChat/pull/3690)
* 🔑 fix(AuthService): properly handle reading and deletion of password reset token by [@berry-13](https://github.com/@berry-13) in [#3697](https://github.com/danny-avila/LibreChat/pull/3697)
* 🔧 fix: add `clear all` button to bookmark navigation items by [@berry-13](https://github.com/@berry-13) in [#3721](https://github.com/danny-avila/LibreChat/pull/3721)
* 🔧 fix: EndpointIcon crash when using `@` mention command by [@danny-avila](https://github.com/@danny-avila) in [#3742](https://github.com/danny-avila/LibreChat/pull/3742)
* 🔧 fix: handle missing custom config speech by [@berry-13](https://github.com/@berry-13) in [#3790](https://github.com/danny-avila/LibreChat/pull/3790)
* 🔍 fix: `USE_REDIS` condition, Markdown list counter, code highlights by [@danny-avila](https://github.com/@danny-avila) in [#3806](https://github.com/danny-avila/LibreChat/pull/3806)
### ⚙️ Other Changes
* 🤖 refactor: Remove Default Model Params for All Endpoints by [@danny-avila](https://github.com/@danny-avila) in [#3682](https://github.com/danny-avila/LibreChat/pull/3682)
* 🧹 chore: address minor issues by [@danny-avila](https://github.com/@danny-avila) in [#3710](https://github.com/danny-avila/LibreChat/pull/3710)
* 🐋 ci: Dockerfile.multi rewrite, maintain package integrity by [@danny-avila](https://github.com/@danny-avila) in [#3772](https://github.com/danny-avila/LibreChat/pull/3772)
* 🧹 chore: remove legacy markdown code by [@danny-avila](https://github.com/@danny-avila) in [#3789](https://github.com/danny-avila/LibreChat/pull/3789)
* 🚚 chore: Remove client-dist volume from deploy-compose.yml by [@danny-avila](https://github.com/@danny-avila) in [#3799](https://github.com/danny-avila/LibreChat/pull/3799)
* 🏷️ chore: Add Unofficial Naming Variation for Claude-3.5-Sonnet by [@danny-avila](https://github.com/@danny-avila) in [#3800](https://github.com/danny-avila/LibreChat/pull/3800)
### 🌍 Internationalization:
* 🌏i18n: Improve Russian translation by [@kukoboris](https://github.com/@kukoboris) in [#3674](https://github.com/danny-avila/LibreChat/pull/3674), [#3718](https://github.com/danny-avila/LibreChat/pull/3718)
### New Contributors
* [@akash-singh8](https://github.com/@akash-singh8) made their first contribution in [#3604](https://github.com/danny-avila/LibreChat/pull/3604)
* [@Tanvez](https://github.com/@Tanvez) made their first contribution in [#3630](https://github.com/danny-avila/LibreChat/pull/3630)
* [@kukoboris](https://github.com/@kukoboris) made their first contribution in [#3674](https://github.com/danny-avila/LibreChat/pull/3674)
### 👀 What's Next
**[Track remaining v0.7.5 changes](https://github.com/danny-avila/LibreChat/milestone/7)**
---
**Full Changelog**: https://github.com/danny-avila/LibreChat/compare/v0.7.4...v0.7.5-rc1

View File

@@ -1,11 +1,13 @@
import Link from 'next/link'
import cn from 'clsx'
import styles from './hero.module.css'
export function Hero() {
const heroMap = {
headlineOne: 'Librechat',
headlineTwo: 'Every AI in One Place',
headlineThree: 'Built for Everyone',
headlineOne: 'LibreChat',
headlineTwo: 'Every AI for Everyone',
headlineThree: 'The Original, Open-Source AI Chat UI',
subtitleOne:
'LibreChat is a free, open source AI chat platform. This Web UI offers vast customization, supporting numerous AI providers, services, and integrations. Serves all AI Conversations in one place with a familiar interface, innovative enhancements, for as many users as you need.',
// subtitleTwo: '',
@@ -30,7 +32,8 @@ export function Hero() {
<span className={styles.headlineOne}>{heroMap.headlineOne}</span>
<br className="max-md:_hidden" />
<span className={styles.headlineTwo}>{heroMap.headlineTwo}</span>
<span className={styles.headlineThree}>{heroMap.headlineThree}</span>
<span className={cn(styles.headlineThree, 'text-xl')}>{heroMap.headlineThree}</span>
<span className="text-lg block">{"(est. Jan '23)"}</span>
<br className="max-md:_hidden" />
<span className={styles.pops}>
<span className={styles.pop}></span>

View File

@@ -119,12 +119,11 @@
display: block;
margin-bottom: 8px;
margin-top: 1rem;
font-size: 50%;
font-size: 60%;
}
.headlineThree {
display: block;
font-size: 50%;
}
.head {
@@ -251,7 +250,7 @@
font-feature-settings: initial;
font-weight: 400;
line-height: 1.6;
text-align: left;
text-align: center;
}
.subtitle br {
display: none;

View File

@@ -1,6 +1,6 @@
---
title: About
description: 'LibreChat: Every AI in One Place, Built for Everyone'
description: 'LibreChat: Every AI for Everyone'
---
import LCLogo from '/components/lcLogo'
@@ -16,7 +16,7 @@ import Image from 'next/image'
# LibreChat
**Every AI in One Place, Built for Everyone**
**Every AI for Everyone**
<p className="_flex _h-6 _mt-4 _gap-2">
<a href="https://github.com/danny-avila/LibreChat/blob/main/LICENSE" target="_blank">

View File

@@ -0,0 +1,13 @@
---
date: 2024/08/28
title: ⚙️ Config v1.1.6
---
import { ChangelogHeader } from '@/components/changelog/ChangelogHeader'
import Content from '@/components/changelog/content/config_v1.1.6.mdx'
<ChangelogHeader />
---
<Content />

View File

@@ -0,0 +1,14 @@
---
date: 2024/08/28
title: 🚀 LibreChat v0.7.5-rc1
description: The v0.7.5-rc1 release of LibreChat
---
import { ChangelogHeader } from '@/components/changelog/ChangelogHeader'
import Content from '@/components/changelog/content/v0.7.5-rc1.mdx'
<ChangelogHeader />
---
<Content />

View File

@@ -46,8 +46,8 @@ For more info see:
<OptionTable
options={[
['STATIC_CACHE_MAX_AGE', 'string', 'Cache-Control max-age in seconds','STATIC_CACHE_MAX_AGE=604800'],
['STATIC_CACHE_S_MAX_AGE', 'string', 'Custom footer.','STATIC_CACHE_S_MAX_AGE="259200"'],
['STATIC_CACHE_MAX_AGE', 'string', 'Cache-Control max-age in seconds','STATIC_CACHE_MAX_AGE=172800'],
['STATIC_CACHE_S_MAX_AGE', 'string', 'Cache-Control s-maxage in seconds for shared caches (CDNs and proxies)','STATIC_CACHE_S_MAX_AGE="86400"'],
['DISABLE_COMPRESSION', 'boolean', 'Disables compression for static files.','DISABLE_COMPRESSION=false'],
]}
/>
@@ -56,9 +56,9 @@ For more info see:
Sets the [Cache-Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control) headers for static files. These configurations only trigger when the `NODE_ENV` is set to `production`.
* Uncomment `STATIC_CACHE_MAX_AGE` to change the local `max-age` for static files. By default this is set to 4 weeks.
* Uncomment `STATIC_CACHE_S_MAX_AGE` empty to remove the footer. This is for the "shared cache," which is used by CDNs and proxies. By default this is set to 1 week.
* Set `DISABLE_COMPRESSION` to `true` to disable compression for static files. This is useful if you have another service in front of your service handling compression for you. By default this is set to `false`.
* Uncomment `STATIC_CACHE_MAX_AGE` to change the local `max-age` for static files. By default this is set to 2 days (172800 seconds).
* Uncomment `STATIC_CACHE_S_MAX_AGE` to set the `s-maxage` for shared caches (CDNs and proxies). By default this is set to 1 day (86400 seconds).
* Uncomment `DISABLE_COMPRESSION` to disable compression for static files. By default, compression is enabled.
<Callout type="warning" title="Warning">
- This only affects static files served by the API server and is not applicable to _Firebase_, _NGINX_, or any other configurations.

View File

@@ -216,13 +216,15 @@ see also:
**Subkeys:**
<OptionTable
options={[
['privacyPolicy', 'Object', 'Contains settings related to the privacy policy link provided in the user interface.', ''],
['termsOfService', 'Object', 'Contains settings related to the terms of service link provided in the user interface.', ''],
['endpointsMenu', 'Boolean', 'Controls the visibility of the endpoints dropdown menu in the interface.', ''],
['modelSelect', 'Boolean', 'Determines whether the model selection feature is available in the UI.', ''],
['privacyPolicy', 'Object', 'Contains settings related to the privacy policy link provided.', ''],
['termsOfService', 'Object', 'Contains settings related to the terms of service link provided.', ''],
['endpointsMenu', 'Boolean', 'Controls the visibility of the endpoints dropdown menu.', ''],
['modelSelect', 'Boolean', 'Determines whether the model selection feature is available.', ''],
['parameters', 'Boolean', 'Toggles the visibility of parameter configuration options AKA conversation settings.', ''],
['sidePanel', 'Boolean', 'Controls the visibility of the right-most side panel in the application\'s interface.', ''],
['presets', 'Boolean', 'Enables or disables the presets menu in the application\'s UI.', ''],
['sidePanel', 'Boolean', 'Controls the visibility of the right-most side panel.', ''],
['presets', 'Boolean', 'Enables or disables the presets menu', ''],
['prompts', 'Boolean', 'Enables or disables all prompt-related features for non-admins', ''],
['bookmarks', 'Boolean', 'Enables or disables all bookmarks-related features for non-admins', ''],
]}
/>

View File

@@ -4,7 +4,7 @@
The `interface` object allows for customization of various user interface elements within the application, including visibility and behavior settings for components such as menus, panels, and links. This section provides a detailed breakdown of the `interface` object structure.
There are 7 main fields under `interface`:
These are fields under `interface`:
- `privacyPolicy`
- `termsOfService`
@@ -13,6 +13,8 @@ There are 7 main fields under `interface`:
- `parameters`
- `sidePanel`
- `presets`
- `prompts`
- `bookmarks`
**Notes:**
@@ -35,6 +37,8 @@ interface:
parameters: true
sidePanel: true
presets: false
prompts: true
bookmarks: true
```
## privacyPolicy
@@ -154,4 +158,38 @@ interface:
```yaml filename="interface / presets"
interface:
presets: true
```
## prompts
**Key:**
<OptionTable
options={[
['prompts', 'Boolean', 'Enables or disables all prompt-related features for non-admin users.', 'When disabled, non-admin users will not have access to create, edit, or use custom prompts within the application.'],
]}
/>
**Default:** `true`
**Example:**
```yaml filename="interface / prompts"
interface:
prompts: false
```
## bookmarks
**Key:**
<OptionTable
options={[
['bookmarks', 'Boolean', 'Enables or disables all bookmarks-related features for non-admin users.', 'When disabled, non-admin users will not be able to create, manage, or access bookmarks within the application.'],
]}
/>
**Default:** `true`
**Example:**
```yaml filename="interface / bookmarks"
interface:
bookmarks: true
```

View File

@@ -1,6 +1,6 @@
---
title: 'LibreChat'
description: 'Free, open source AI chat platform - Every AI in One Place, Built for Everyone'
description: 'Free, open source AI chat platform - Every AI for Everyone'
---
import { Home } from '../components/home'