mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
fix: strict typescript issue, plugins localStorage, both causing App Errors (#765)
* fix(Enum): cannot be used as a value when imported as type * hotfix(types): corrected types, some causing application error (bing null model) * hotfix(Plugins): fix undefined localStorage item causing Application error
This commit is contained in:
parent
06a7fba39b
commit
92f87b8dcc
5 changed files with 10 additions and 6 deletions
|
|
@ -81,7 +81,7 @@ export const tConversationSchema = z.object({
|
|||
examples: z.array(tExampleSchema).optional(),
|
||||
chatGptLabel: z.string().nullable().optional(),
|
||||
userLabel: z.string().optional(),
|
||||
model: z.string().optional(),
|
||||
model: z.string().nullable().optional(),
|
||||
promptPrefix: z.string().nullable().optional(),
|
||||
temperature: z.number().optional(),
|
||||
topP: z.number().optional(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue