mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-20 18:30:15 +01:00
✨ v0.7.7-rc1 (#5801)
This commit is contained in:
parent
4de9619bd9
commit
46f034250d
9 changed files with 16 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* eslint-disable max-len */
|
||||
|
||||
import { z } from 'zod';
|
||||
import type { ZodError } from 'zod';
|
||||
import type { TModelsConfig } from './types';
|
||||
|
|
@ -43,9 +43,8 @@ export const fileSourceSchema = z.nativeEnum(FileSources);
|
|||
type SchemaShape<T> = T extends z.ZodObject<infer U> ? U : never;
|
||||
|
||||
// Helper type to determine the default value or undefined based on whether the field has a default
|
||||
type DefaultValue<T> = T extends z.ZodDefault<z.ZodTypeAny>
|
||||
? ReturnType<T['_def']['defaultValue']>
|
||||
: undefined;
|
||||
type DefaultValue<T> =
|
||||
T extends z.ZodDefault<z.ZodTypeAny> ? ReturnType<T['_def']['defaultValue']> : undefined;
|
||||
|
||||
// Extract default values or undefined from the schema shape
|
||||
type ExtractDefaults<T> = {
|
||||
|
|
@ -1067,6 +1066,7 @@ export enum ImageDetailCost {
|
|||
/**
|
||||
* Additional Cost added to High Resolution Total Cost
|
||||
*/
|
||||
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
|
||||
ADDITIONAL = 85,
|
||||
}
|
||||
|
||||
|
|
@ -1137,7 +1137,7 @@ export enum TTSProviders {
|
|||
/** Enum for app-wide constants */
|
||||
export enum Constants {
|
||||
/** Key for the app's version. */
|
||||
VERSION = 'v0.7.6',
|
||||
VERSION = 'v0.7.7-rc1',
|
||||
/** Key for the Custom Config's version (librechat.yaml). */
|
||||
CONFIG_VERSION = '1.2.1',
|
||||
/** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue