mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 02:40:14 +01:00
🧹 chore: pre-release cleanup (#3595)
* fix: Update health endpoint URL * refactor: use Constants for saved tag default value, do not place Saved as first always * refactor: check trimmed currentText before appending parsedText in useSubmitMessage * refactor: move `scrollToEnd()` to `createdHandler` and increase delay before execution slightly * chore: Add back TypeScript linting rules for unnecessary conditions and strict boolean expressions * chore: Update librechat-data-provider package.json version to 0.7.4.0
This commit is contained in:
parent
e05a6d306d
commit
473859b0e2
11 changed files with 16 additions and 25 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "librechat-data-provider",
|
||||
"version": "0.7.4",
|
||||
"version": "0.7.4.0",
|
||||
"description": "data services for librechat apps",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.es.js",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import type { AssistantsEndpoint } from './schemas';
|
||||
|
||||
export const health = () => '/api/health';
|
||||
export const health = () => '/health';
|
||||
export const user = () => '/api/user';
|
||||
|
||||
export const balance = () => '/api/balance';
|
||||
|
|
|
|||
|
|
@ -957,6 +957,8 @@ export enum Constants {
|
|||
COMMANDS_MAX_LENGTH = 56,
|
||||
/** Default Stream Rate (ms) */
|
||||
DEFAULT_STREAM_RATE = 1,
|
||||
/** Saved Tag */
|
||||
SAVED_TAG = 'Saved',
|
||||
}
|
||||
|
||||
export enum LocalStorageKeys {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue