🔐 feat: Toggle Access to Prompts via librechat.yaml (#3735)

* chore: update CONFIG_VERSION to '1.1.6'

* chore: update package version to 0.7.415

* feat: toggle USER role access to prompts via librechat.yaml

* refactor: set prompts to true when loadDefaultInterface returns true

* ci(AppService): mock updatePromptsAccess
This commit is contained in:
Danny Avila 2024-08-21 19:57:34 -04:00 committed by GitHub
parent 0c5568b80b
commit 596ecc6969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 176 additions and 11 deletions

View file

@ -1,6 +1,6 @@
{
"name": "librechat-data-provider",
"version": "0.7.414",
"version": "0.7.415",
"description": "data services for librechat apps",
"main": "dist/index.js",
"module": "dist/index.es.js",

View file

@ -414,6 +414,7 @@ export const configSchema = z.object({
parameters: z.boolean().optional(),
sidePanel: z.boolean().optional(),
presets: z.boolean().optional(),
prompts: z.boolean().optional(),
})
.default({
endpointsMenu: true,
@ -944,7 +945,7 @@ export enum Constants {
/** Key for the app's version. */
VERSION = 'v0.7.4',
/** Key for the Custom Config's version (librechat.yaml). */
CONFIG_VERSION = '1.1.5',
CONFIG_VERSION = '1.1.6',
/** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
NO_PARENT = '00000000-0000-0000-0000-000000000000',
/** Standard value for the initial conversationId before a request is sent */