v0.7.7-rc1 (#5801)

This commit is contained in:
Danny Avila 2025-02-11 11:45:07 -05:00 committed by GitHub
parent 4de9619bd9
commit 46f034250d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 16 deletions

View file

@ -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. */