librechat-data-provider 0.8.405 → 0.8.407

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,22 +12,25 @@ export declare enum SettingsViews {
12
12
  default = "default",
13
13
  advanced = "advanced"
14
14
  }
15
+ /** Validates any FileSources value — use for file metadata, DB records, and upload routing. */
15
16
  export declare const fileSourceSchema: z.ZodNativeEnum<typeof FileSources>;
17
+ export declare const fileStorageSchema: z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>;
18
+ export type FileStorage = z.infer<typeof fileStorageSchema>;
16
19
  export declare const fileStrategiesSchema: z.ZodOptional<z.ZodObject<{
17
- default: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
18
- avatar: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
19
- image: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
20
- document: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
20
+ default: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
21
+ avatar: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
22
+ image: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
23
+ document: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
21
24
  }, "strip", z.ZodTypeAny, {
22
- default?: FileSources | undefined;
23
- avatar?: FileSources | undefined;
24
- image?: FileSources | undefined;
25
- document?: FileSources | undefined;
25
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
26
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
27
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
28
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
26
29
  }, {
27
- default?: FileSources | undefined;
28
- avatar?: FileSources | undefined;
29
- image?: FileSources | undefined;
30
- document?: FileSources | undefined;
30
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
31
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
32
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
33
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
31
34
  }>>;
32
35
  type SchemaShape<T> = T extends z.ZodObject<infer U> ? U : never;
33
36
  type DefaultValue<T> = T extends z.ZodDefault<z.ZodTypeAny> ? ReturnType<T['_def']['defaultValue']> : undefined;
@@ -57,7 +60,7 @@ export declare const azureBaseSchema: z.ZodObject<{
57
60
  instanceName: z.ZodOptional<z.ZodString>;
58
61
  deploymentName: z.ZodOptional<z.ZodString>;
59
62
  assistants: z.ZodOptional<z.ZodBoolean>;
60
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
63
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
61
64
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
65
  version: z.ZodOptional<z.ZodString>;
63
66
  baseURL: z.ZodOptional<z.ZodString>;
@@ -70,7 +73,7 @@ export declare const azureBaseSchema: z.ZodObject<{
70
73
  deploymentName?: string | undefined;
71
74
  assistants?: boolean | undefined;
72
75
  serverless?: boolean | undefined;
73
- addParams?: Record<string, string | number | boolean | null> | undefined;
76
+ addParams?: Record<string, unknown> | undefined;
74
77
  dropParams?: string[] | undefined;
75
78
  additionalHeaders?: Record<string, string> | undefined;
76
79
  }, {
@@ -81,7 +84,7 @@ export declare const azureBaseSchema: z.ZodObject<{
81
84
  deploymentName?: string | undefined;
82
85
  assistants?: boolean | undefined;
83
86
  serverless?: boolean | undefined;
84
- addParams?: Record<string, string | number | boolean | null> | undefined;
87
+ addParams?: Record<string, unknown> | undefined;
85
88
  dropParams?: string[] | undefined;
86
89
  additionalHeaders?: Record<string, string> | undefined;
87
90
  }>;
@@ -121,7 +124,7 @@ export declare const azureGroupSchema: z.ZodIntersection<z.ZodObject<{
121
124
  instanceName: z.ZodOptional<z.ZodString>;
122
125
  deploymentName: z.ZodOptional<z.ZodString>;
123
126
  assistants: z.ZodOptional<z.ZodBoolean>;
124
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
127
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
125
128
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
129
  version: z.ZodOptional<z.ZodString>;
127
130
  baseURL: z.ZodOptional<z.ZodString>;
@@ -134,7 +137,7 @@ export declare const azureGroupSchema: z.ZodIntersection<z.ZodObject<{
134
137
  deploymentName?: string | undefined;
135
138
  assistants?: boolean | undefined;
136
139
  serverless?: boolean | undefined;
137
- addParams?: Record<string, string | number | boolean | null> | undefined;
140
+ addParams?: Record<string, unknown> | undefined;
138
141
  dropParams?: string[] | undefined;
139
142
  additionalHeaders?: Record<string, string> | undefined;
140
143
  }, {
@@ -145,7 +148,7 @@ export declare const azureGroupSchema: z.ZodIntersection<z.ZodObject<{
145
148
  deploymentName?: string | undefined;
146
149
  assistants?: boolean | undefined;
147
150
  serverless?: boolean | undefined;
148
- addParams?: Record<string, string | number | boolean | null> | undefined;
151
+ addParams?: Record<string, unknown> | undefined;
149
152
  dropParams?: string[] | undefined;
150
153
  additionalHeaders?: Record<string, string> | undefined;
151
154
  }>>;
@@ -184,7 +187,7 @@ export declare const azureGroupConfigsSchema: z.ZodArray<z.ZodIntersection<z.Zod
184
187
  instanceName: z.ZodOptional<z.ZodString>;
185
188
  deploymentName: z.ZodOptional<z.ZodString>;
186
189
  assistants: z.ZodOptional<z.ZodBoolean>;
187
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
190
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
188
191
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
189
192
  version: z.ZodOptional<z.ZodString>;
190
193
  baseURL: z.ZodOptional<z.ZodString>;
@@ -197,7 +200,7 @@ export declare const azureGroupConfigsSchema: z.ZodArray<z.ZodIntersection<z.Zod
197
200
  deploymentName?: string | undefined;
198
201
  assistants?: boolean | undefined;
199
202
  serverless?: boolean | undefined;
200
- addParams?: Record<string, string | number | boolean | null> | undefined;
203
+ addParams?: Record<string, unknown> | undefined;
201
204
  dropParams?: string[] | undefined;
202
205
  additionalHeaders?: Record<string, string> | undefined;
203
206
  }, {
@@ -208,7 +211,7 @@ export declare const azureGroupConfigsSchema: z.ZodArray<z.ZodIntersection<z.Zod
208
211
  deploymentName?: string | undefined;
209
212
  assistants?: boolean | undefined;
210
213
  serverless?: boolean | undefined;
211
- addParams?: Record<string, string | number | boolean | null> | undefined;
214
+ addParams?: Record<string, unknown> | undefined;
212
215
  dropParams?: string[] | undefined;
213
216
  additionalHeaders?: Record<string, string> | undefined;
214
217
  }>>, "many">;
@@ -653,7 +656,7 @@ export declare const endpointSchema: z.ZodObject<{
653
656
  iconURL: z.ZodOptional<z.ZodString>;
654
657
  modelDisplayLabel: z.ZodOptional<z.ZodString>;
655
658
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
656
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
659
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
657
660
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
658
661
  customParams: z.ZodOptional<z.ZodObject<{
659
662
  defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
@@ -862,7 +865,7 @@ export declare const endpointSchema: z.ZodObject<{
862
865
  titleEndpoint?: string | undefined;
863
866
  titlePromptTemplate?: string | undefined;
864
867
  maxToolResultChars?: number | undefined;
865
- addParams?: Record<string, string | number | boolean | null> | undefined;
868
+ addParams?: Record<string, unknown> | undefined;
866
869
  dropParams?: string[] | undefined;
867
870
  modelDisplayLabel?: string | undefined;
868
871
  customParams?: {
@@ -926,7 +929,7 @@ export declare const endpointSchema: z.ZodObject<{
926
929
  titleEndpoint?: string | undefined;
927
930
  titlePromptTemplate?: string | undefined;
928
931
  maxToolResultChars?: number | undefined;
929
- addParams?: Record<string, string | number | boolean | null> | undefined;
932
+ addParams?: Record<string, unknown> | undefined;
930
933
  dropParams?: string[] | undefined;
931
934
  modelDisplayLabel?: string | undefined;
932
935
  customParams?: {
@@ -1006,7 +1009,7 @@ export declare const azureEndpointSchema: z.ZodIntersection<z.ZodObject<{
1006
1009
  instanceName: z.ZodOptional<z.ZodString>;
1007
1010
  deploymentName: z.ZodOptional<z.ZodString>;
1008
1011
  assistants: z.ZodOptional<z.ZodBoolean>;
1009
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
1012
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
1010
1013
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1011
1014
  version: z.ZodOptional<z.ZodString>;
1012
1015
  baseURL: z.ZodOptional<z.ZodString>;
@@ -1019,7 +1022,7 @@ export declare const azureEndpointSchema: z.ZodIntersection<z.ZodObject<{
1019
1022
  deploymentName?: string | undefined;
1020
1023
  assistants?: boolean | undefined;
1021
1024
  serverless?: boolean | undefined;
1022
- addParams?: Record<string, string | number | boolean | null> | undefined;
1025
+ addParams?: Record<string, unknown> | undefined;
1023
1026
  dropParams?: string[] | undefined;
1024
1027
  additionalHeaders?: Record<string, string> | undefined;
1025
1028
  }, {
@@ -1030,7 +1033,7 @@ export declare const azureEndpointSchema: z.ZodIntersection<z.ZodObject<{
1030
1033
  deploymentName?: string | undefined;
1031
1034
  assistants?: boolean | undefined;
1032
1035
  serverless?: boolean | undefined;
1033
- addParams?: Record<string, string | number | boolean | null> | undefined;
1036
+ addParams?: Record<string, unknown> | undefined;
1034
1037
  dropParams?: string[] | undefined;
1035
1038
  additionalHeaders?: Record<string, string> | undefined;
1036
1039
  }>>, "many">;
@@ -1051,7 +1054,7 @@ export declare const azureEndpointSchema: z.ZodIntersection<z.ZodObject<{
1051
1054
  deploymentName?: string | undefined;
1052
1055
  assistants?: boolean | undefined;
1053
1056
  serverless?: boolean | undefined;
1054
- addParams?: Record<string, string | number | boolean | null> | undefined;
1057
+ addParams?: Record<string, unknown> | undefined;
1055
1058
  dropParams?: string[] | undefined;
1056
1059
  additionalHeaders?: Record<string, string> | undefined;
1057
1060
  })[];
@@ -1072,7 +1075,7 @@ export declare const azureEndpointSchema: z.ZodIntersection<z.ZodObject<{
1072
1075
  deploymentName?: string | undefined;
1073
1076
  assistants?: boolean | undefined;
1074
1077
  serverless?: boolean | undefined;
1075
- addParams?: Record<string, string | number | boolean | null> | undefined;
1078
+ addParams?: Record<string, unknown> | undefined;
1076
1079
  dropParams?: string[] | undefined;
1077
1080
  additionalHeaders?: Record<string, string> | undefined;
1078
1081
  })[];
@@ -1606,10 +1609,8 @@ export declare const interfaceSchema: z.ZodDefault<z.ZodObject<{
1606
1609
  subLabel?: string | Record<string, string> | undefined;
1607
1610
  } | undefined;
1608
1611
  }>>>;
1609
- endpointsMenu: z.ZodOptional<z.ZodBoolean>;
1610
1612
  modelSelect: z.ZodOptional<z.ZodBoolean>;
1611
1613
  parameters: z.ZodOptional<z.ZodBoolean>;
1612
- sidePanel: z.ZodOptional<z.ZodBoolean>;
1613
1614
  multiConvo: z.ZodOptional<z.ZodBoolean>;
1614
1615
  bookmarks: z.ZodOptional<z.ZodBoolean>;
1615
1616
  memories: z.ZodOptional<z.ZodBoolean>;
@@ -1714,9 +1715,7 @@ export declare const interfaceSchema: z.ZodDefault<z.ZodObject<{
1714
1715
  modalContent?: string | string[] | undefined;
1715
1716
  } | undefined;
1716
1717
  customWelcome?: string | undefined;
1717
- endpointsMenu?: boolean | undefined;
1718
1718
  modelSelect?: boolean | undefined;
1719
- sidePanel?: boolean | undefined;
1720
1719
  multiConvo?: boolean | undefined;
1721
1720
  bookmarks?: boolean | undefined;
1722
1721
  memories?: boolean | undefined;
@@ -1778,9 +1777,7 @@ export declare const interfaceSchema: z.ZodDefault<z.ZodObject<{
1778
1777
  modalContent?: string | string[] | undefined;
1779
1778
  } | undefined;
1780
1779
  customWelcome?: string | undefined;
1781
- endpointsMenu?: boolean | undefined;
1782
1780
  modelSelect?: boolean | undefined;
1783
- sidePanel?: boolean | undefined;
1784
1781
  multiConvo?: boolean | undefined;
1785
1782
  bookmarks?: boolean | undefined;
1786
1783
  memories?: boolean | undefined;
@@ -2405,7 +2402,7 @@ declare const customEndpointsSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2405
2402
  iconURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2406
2403
  modelDisplayLabel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2407
2404
  headers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
2408
- addParams: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
2405
+ addParams: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
2409
2406
  dropParams: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2410
2407
  customParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2411
2408
  defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
@@ -2614,7 +2611,7 @@ declare const customEndpointsSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2614
2611
  fetch?: boolean | undefined;
2615
2612
  userIdQuery?: boolean | undefined;
2616
2613
  } | undefined;
2617
- addParams?: Record<string, string | number | boolean | null> | undefined;
2614
+ addParams?: Record<string, unknown> | undefined;
2618
2615
  dropParams?: string[] | undefined;
2619
2616
  modelDisplayLabel?: string | undefined;
2620
2617
  customParams?: {
@@ -2678,7 +2675,7 @@ declare const customEndpointsSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
2678
2675
  fetch?: boolean | undefined;
2679
2676
  userIdQuery?: boolean | undefined;
2680
2677
  } | undefined;
2681
- addParams?: Record<string, string | number | boolean | null> | undefined;
2678
+ addParams?: Record<string, unknown> | undefined;
2682
2679
  dropParams?: string[] | undefined;
2683
2680
  modelDisplayLabel?: string | undefined;
2684
2681
  customParams?: {
@@ -3166,7 +3163,7 @@ export declare const configSchema: z.ZodObject<{
3166
3163
  type: z.ZodDefault<z.ZodLiteral<"stdio">>;
3167
3164
  command: z.ZodString;
3168
3165
  args: z.ZodArray<z.ZodString, "many">;
3169
- env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>; /** Maximum characters allowed in a single tool result before truncation. */
3166
+ env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
3170
3167
  stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
3171
3168
  }, "strip", z.ZodTypeAny, {
3172
3169
  type: "stdio";
@@ -3837,10 +3834,8 @@ export declare const configSchema: z.ZodObject<{
3837
3834
  subLabel?: string | Record<string, string> | undefined;
3838
3835
  } | undefined;
3839
3836
  }>>>;
3840
- endpointsMenu: z.ZodOptional<z.ZodBoolean>;
3841
3837
  modelSelect: z.ZodOptional<z.ZodBoolean>;
3842
3838
  parameters: z.ZodOptional<z.ZodBoolean>;
3843
- sidePanel: z.ZodOptional<z.ZodBoolean>;
3844
3839
  multiConvo: z.ZodOptional<z.ZodBoolean>;
3845
3840
  bookmarks: z.ZodOptional<z.ZodBoolean>;
3846
3841
  memories: z.ZodOptional<z.ZodBoolean>;
@@ -3945,9 +3940,7 @@ export declare const configSchema: z.ZodObject<{
3945
3940
  modalContent?: string | string[] | undefined;
3946
3941
  } | undefined;
3947
3942
  customWelcome?: string | undefined;
3948
- endpointsMenu?: boolean | undefined;
3949
3943
  modelSelect?: boolean | undefined;
3950
- sidePanel?: boolean | undefined;
3951
3944
  multiConvo?: boolean | undefined;
3952
3945
  bookmarks?: boolean | undefined;
3953
3946
  memories?: boolean | undefined;
@@ -4009,9 +4002,7 @@ export declare const configSchema: z.ZodObject<{
4009
4002
  modalContent?: string | string[] | undefined;
4010
4003
  } | undefined;
4011
4004
  customWelcome?: string | undefined;
4012
- endpointsMenu?: boolean | undefined;
4013
4005
  modelSelect?: boolean | undefined;
4014
- sidePanel?: boolean | undefined;
4015
4006
  multiConvo?: boolean | undefined;
4016
4007
  bookmarks?: boolean | undefined;
4017
4008
  memories?: boolean | undefined;
@@ -4073,22 +4064,22 @@ export declare const configSchema: z.ZodObject<{
4073
4064
  size?: "normal" | "compact" | "flexible" | "invisible" | undefined;
4074
4065
  } | undefined;
4075
4066
  }>>;
4076
- fileStrategy: z.ZodDefault<z.ZodNativeEnum<typeof FileSources>>;
4067
+ fileStrategy: z.ZodDefault<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
4077
4068
  fileStrategies: z.ZodOptional<z.ZodObject<{
4078
- default: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
4079
- avatar: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
4080
- image: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
4081
- document: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
4069
+ default: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
4070
+ avatar: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
4071
+ image: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
4072
+ document: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
4082
4073
  }, "strip", z.ZodTypeAny, {
4083
- default?: FileSources | undefined;
4084
- avatar?: FileSources | undefined;
4085
- image?: FileSources | undefined;
4086
- document?: FileSources | undefined;
4074
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4075
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4076
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4077
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4087
4078
  }, {
4088
- default?: FileSources | undefined;
4089
- avatar?: FileSources | undefined;
4090
- image?: FileSources | undefined;
4091
- document?: FileSources | undefined;
4079
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4080
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4081
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4082
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
4092
4083
  }>>;
4093
4084
  actions: z.ZodOptional<z.ZodObject<{
4094
4085
  allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -5026,10 +5017,8 @@ export declare const configSchema: z.ZodObject<{
5026
5017
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
5027
5018
  order: z.ZodOptional<z.ZodNumber>;
5028
5019
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
5029
- }, "iconURL" | "greeting" | "expiredAt" | "messages" | "isArchived" | "tags" | "user" | "spec" | "parentMessageId" | "file_ids" | "presetOverride" | "resendImages" | "chatGptLabel">, "strip", z.ZodTypeAny, {
5020
+ }, "conversationId" | "title" | "iconURL" | "greeting" | "expiredAt" | "messages" | "isArchived" | "tags" | "user" | "spec" | "parentMessageId" | "file_ids" | "presetOverride" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
5030
5021
  endpoint: string | null;
5031
- conversationId?: string | null | undefined;
5032
- title?: string | null | undefined;
5033
5022
  endpointType?: EModelEndpoint | null | undefined;
5034
5023
  tools?: string[] | {
5035
5024
  name: string;
@@ -5119,13 +5108,8 @@ export declare const configSchema: z.ZodObject<{
5119
5108
  additional_instructions?: string | undefined;
5120
5109
  append_current_datetime?: boolean | undefined;
5121
5110
  stop?: string[] | undefined;
5122
- presetId?: string | null | undefined;
5123
- defaultPreset?: boolean | undefined;
5124
- order?: number | undefined;
5125
5111
  }, {
5126
5112
  endpoint: string | null;
5127
- conversationId?: string | null | undefined;
5128
- title?: string | null | undefined;
5129
5113
  endpointType?: EModelEndpoint | null | undefined;
5130
5114
  tools?: string[] | {
5131
5115
  name: string;
@@ -5215,9 +5199,6 @@ export declare const configSchema: z.ZodObject<{
5215
5199
  additional_instructions?: string | undefined;
5216
5200
  append_current_datetime?: boolean | undefined;
5217
5201
  stop?: string[] | undefined;
5218
- presetId?: string | null | undefined;
5219
- defaultPreset?: boolean | undefined;
5220
- order?: number | undefined;
5221
5202
  }>;
5222
5203
  order: z.ZodOptional<z.ZodNumber>;
5223
5204
  default: z.ZodOptional<z.ZodBoolean>;
@@ -5238,8 +5219,6 @@ export declare const configSchema: z.ZodObject<{
5238
5219
  name: string;
5239
5220
  preset: {
5240
5221
  endpoint: string | null;
5241
- conversationId?: string | null | undefined;
5242
- title?: string | null | undefined;
5243
5222
  endpointType?: EModelEndpoint | null | undefined;
5244
5223
  tools?: string[] | {
5245
5224
  name: string;
@@ -5329,9 +5308,6 @@ export declare const configSchema: z.ZodObject<{
5329
5308
  additional_instructions?: string | undefined;
5330
5309
  append_current_datetime?: boolean | undefined;
5331
5310
  stop?: string[] | undefined;
5332
- presetId?: string | null | undefined;
5333
- defaultPreset?: boolean | undefined;
5334
- order?: number | undefined;
5335
5311
  };
5336
5312
  iconURL?: string | undefined;
5337
5313
  default?: boolean | undefined;
@@ -5352,8 +5328,6 @@ export declare const configSchema: z.ZodObject<{
5352
5328
  name: string;
5353
5329
  preset: {
5354
5330
  endpoint: string | null;
5355
- conversationId?: string | null | undefined;
5356
- title?: string | null | undefined;
5357
5331
  endpointType?: EModelEndpoint | null | undefined;
5358
5332
  tools?: string[] | {
5359
5333
  name: string;
@@ -5443,9 +5417,6 @@ export declare const configSchema: z.ZodObject<{
5443
5417
  additional_instructions?: string | undefined;
5444
5418
  append_current_datetime?: boolean | undefined;
5445
5419
  stop?: string[] | undefined;
5446
- presetId?: string | null | undefined;
5447
- defaultPreset?: boolean | undefined;
5448
- order?: number | undefined;
5449
5420
  };
5450
5421
  iconURL?: string | undefined;
5451
5422
  default?: boolean | undefined;
@@ -5471,8 +5442,6 @@ export declare const configSchema: z.ZodObject<{
5471
5442
  name: string;
5472
5443
  preset: {
5473
5444
  endpoint: string | null;
5474
- conversationId?: string | null | undefined;
5475
- title?: string | null | undefined;
5476
5445
  endpointType?: EModelEndpoint | null | undefined;
5477
5446
  tools?: string[] | {
5478
5447
  name: string;
@@ -5562,9 +5531,6 @@ export declare const configSchema: z.ZodObject<{
5562
5531
  additional_instructions?: string | undefined;
5563
5532
  append_current_datetime?: boolean | undefined;
5564
5533
  stop?: string[] | undefined;
5565
- presetId?: string | null | undefined;
5566
- defaultPreset?: boolean | undefined;
5567
- order?: number | undefined;
5568
5534
  };
5569
5535
  iconURL?: string | undefined;
5570
5536
  default?: boolean | undefined;
@@ -5588,8 +5554,6 @@ export declare const configSchema: z.ZodObject<{
5588
5554
  name: string;
5589
5555
  preset: {
5590
5556
  endpoint: string | null;
5591
- conversationId?: string | null | undefined;
5592
- title?: string | null | undefined;
5593
5557
  endpointType?: EModelEndpoint | null | undefined;
5594
5558
  tools?: string[] | {
5595
5559
  name: string;
@@ -5679,9 +5643,6 @@ export declare const configSchema: z.ZodObject<{
5679
5643
  additional_instructions?: string | undefined;
5680
5644
  append_current_datetime?: boolean | undefined;
5681
5645
  stop?: string[] | undefined;
5682
- presetId?: string | null | undefined;
5683
- defaultPreset?: boolean | undefined;
5684
- order?: number | undefined;
5685
5646
  };
5686
5647
  iconURL?: string | undefined;
5687
5648
  default?: boolean | undefined;
@@ -5930,7 +5891,7 @@ export declare const configSchema: z.ZodObject<{
5930
5891
  instanceName: z.ZodOptional<z.ZodString>;
5931
5892
  deploymentName: z.ZodOptional<z.ZodString>;
5932
5893
  assistants: z.ZodOptional<z.ZodBoolean>;
5933
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
5894
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
5934
5895
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5935
5896
  version: z.ZodOptional<z.ZodString>;
5936
5897
  baseURL: z.ZodOptional<z.ZodString>;
@@ -5943,7 +5904,7 @@ export declare const configSchema: z.ZodObject<{
5943
5904
  deploymentName?: string | undefined;
5944
5905
  assistants?: boolean | undefined;
5945
5906
  serverless?: boolean | undefined;
5946
- addParams?: Record<string, string | number | boolean | null> | undefined;
5907
+ addParams?: Record<string, unknown> | undefined;
5947
5908
  dropParams?: string[] | undefined;
5948
5909
  additionalHeaders?: Record<string, string> | undefined;
5949
5910
  }, {
@@ -5954,7 +5915,7 @@ export declare const configSchema: z.ZodObject<{
5954
5915
  deploymentName?: string | undefined;
5955
5916
  assistants?: boolean | undefined;
5956
5917
  serverless?: boolean | undefined;
5957
- addParams?: Record<string, string | number | boolean | null> | undefined;
5918
+ addParams?: Record<string, unknown> | undefined;
5958
5919
  dropParams?: string[] | undefined;
5959
5920
  additionalHeaders?: Record<string, string> | undefined;
5960
5921
  }>>, "many">;
@@ -5975,7 +5936,7 @@ export declare const configSchema: z.ZodObject<{
5975
5936
  deploymentName?: string | undefined;
5976
5937
  assistants?: boolean | undefined;
5977
5938
  serverless?: boolean | undefined;
5978
- addParams?: Record<string, string | number | boolean | null> | undefined;
5939
+ addParams?: Record<string, unknown> | undefined;
5979
5940
  dropParams?: string[] | undefined;
5980
5941
  additionalHeaders?: Record<string, string> | undefined;
5981
5942
  })[];
@@ -5996,7 +5957,7 @@ export declare const configSchema: z.ZodObject<{
5996
5957
  deploymentName?: string | undefined;
5997
5958
  assistants?: boolean | undefined;
5998
5959
  serverless?: boolean | undefined;
5999
- addParams?: Record<string, string | number | boolean | null> | undefined;
5960
+ addParams?: Record<string, unknown> | undefined;
6000
5961
  dropParams?: string[] | undefined;
6001
5962
  additionalHeaders?: Record<string, string> | undefined;
6002
5963
  })[];
@@ -6341,7 +6302,7 @@ export declare const configSchema: z.ZodObject<{
6341
6302
  iconURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6342
6303
  modelDisplayLabel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6343
6304
  headers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
6344
- addParams: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
6305
+ addParams: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
6345
6306
  dropParams: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
6346
6307
  customParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
6347
6308
  defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
@@ -6550,7 +6511,7 @@ export declare const configSchema: z.ZodObject<{
6550
6511
  fetch?: boolean | undefined;
6551
6512
  userIdQuery?: boolean | undefined;
6552
6513
  } | undefined;
6553
- addParams?: Record<string, string | number | boolean | null> | undefined;
6514
+ addParams?: Record<string, unknown> | undefined;
6554
6515
  dropParams?: string[] | undefined;
6555
6516
  modelDisplayLabel?: string | undefined;
6556
6517
  customParams?: {
@@ -6614,7 +6575,7 @@ export declare const configSchema: z.ZodObject<{
6614
6575
  fetch?: boolean | undefined;
6615
6576
  userIdQuery?: boolean | undefined;
6616
6577
  } | undefined;
6617
- addParams?: Record<string, string | number | boolean | null> | undefined;
6578
+ addParams?: Record<string, unknown> | undefined;
6618
6579
  dropParams?: string[] | undefined;
6619
6580
  modelDisplayLabel?: string | undefined;
6620
6581
  customParams?: {
@@ -6716,7 +6677,7 @@ export declare const configSchema: z.ZodObject<{
6716
6677
  deploymentName?: string | undefined;
6717
6678
  assistants?: boolean | undefined;
6718
6679
  serverless?: boolean | undefined;
6719
- addParams?: Record<string, string | number | boolean | null> | undefined;
6680
+ addParams?: Record<string, unknown> | undefined;
6720
6681
  dropParams?: string[] | undefined;
6721
6682
  additionalHeaders?: Record<string, string> | undefined;
6722
6683
  })[];
@@ -6873,7 +6834,7 @@ export declare const configSchema: z.ZodObject<{
6873
6834
  fetch?: boolean | undefined;
6874
6835
  userIdQuery?: boolean | undefined;
6875
6836
  } | undefined;
6876
- addParams?: Record<string, string | number | boolean | null> | undefined;
6837
+ addParams?: Record<string, unknown> | undefined;
6877
6838
  dropParams?: string[] | undefined;
6878
6839
  modelDisplayLabel?: string | undefined;
6879
6840
  customParams?: {
@@ -6957,7 +6918,7 @@ export declare const configSchema: z.ZodObject<{
6957
6918
  deploymentName?: string | undefined;
6958
6919
  assistants?: boolean | undefined;
6959
6920
  serverless?: boolean | undefined;
6960
- addParams?: Record<string, string | number | boolean | null> | undefined;
6921
+ addParams?: Record<string, unknown> | undefined;
6961
6922
  dropParams?: string[] | undefined;
6962
6923
  additionalHeaders?: Record<string, string> | undefined;
6963
6924
  })[];
@@ -7114,7 +7075,7 @@ export declare const configSchema: z.ZodObject<{
7114
7075
  fetch?: boolean | undefined;
7115
7076
  userIdQuery?: boolean | undefined;
7116
7077
  } | undefined;
7117
- addParams?: Record<string, string | number | boolean | null> | undefined;
7078
+ addParams?: Record<string, unknown> | undefined;
7118
7079
  dropParams?: string[] | undefined;
7119
7080
  modelDisplayLabel?: string | undefined;
7120
7081
  customParams?: {
@@ -7198,7 +7159,7 @@ export declare const configSchema: z.ZodObject<{
7198
7159
  deploymentName?: string | undefined;
7199
7160
  assistants?: boolean | undefined;
7200
7161
  serverless?: boolean | undefined;
7201
- addParams?: Record<string, string | number | boolean | null> | undefined;
7162
+ addParams?: Record<string, unknown> | undefined;
7202
7163
  dropParams?: string[] | undefined;
7203
7164
  additionalHeaders?: Record<string, string> | undefined;
7204
7165
  })[];
@@ -7355,7 +7316,7 @@ export declare const configSchema: z.ZodObject<{
7355
7316
  fetch?: boolean | undefined;
7356
7317
  userIdQuery?: boolean | undefined;
7357
7318
  } | undefined;
7358
- addParams?: Record<string, string | number | boolean | null> | undefined;
7319
+ addParams?: Record<string, unknown> | undefined;
7359
7320
  dropParams?: string[] | undefined;
7360
7321
  modelDisplayLabel?: string | undefined;
7361
7322
  customParams?: {
@@ -7439,7 +7400,7 @@ export declare const configSchema: z.ZodObject<{
7439
7400
  deploymentName?: string | undefined;
7440
7401
  assistants?: boolean | undefined;
7441
7402
  serverless?: boolean | undefined;
7442
- addParams?: Record<string, string | number | boolean | null> | undefined;
7403
+ addParams?: Record<string, unknown> | undefined;
7443
7404
  dropParams?: string[] | undefined;
7444
7405
  additionalHeaders?: Record<string, string> | undefined;
7445
7406
  })[];
@@ -7596,7 +7557,7 @@ export declare const configSchema: z.ZodObject<{
7596
7557
  fetch?: boolean | undefined;
7597
7558
  userIdQuery?: boolean | undefined;
7598
7559
  } | undefined;
7599
- addParams?: Record<string, string | number | boolean | null> | undefined;
7560
+ addParams?: Record<string, unknown> | undefined;
7600
7561
  dropParams?: string[] | undefined;
7601
7562
  modelDisplayLabel?: string | undefined;
7602
7563
  customParams?: {
@@ -7694,9 +7655,7 @@ export declare const configSchema: z.ZodObject<{
7694
7655
  modalContent?: string | string[] | undefined;
7695
7656
  } | undefined;
7696
7657
  customWelcome?: string | undefined;
7697
- endpointsMenu?: boolean | undefined;
7698
7658
  modelSelect?: boolean | undefined;
7699
- sidePanel?: boolean | undefined;
7700
7659
  multiConvo?: boolean | undefined;
7701
7660
  bookmarks?: boolean | undefined;
7702
7661
  memories?: boolean | undefined;
@@ -7733,7 +7692,7 @@ export declare const configSchema: z.ZodObject<{
7733
7692
  public?: boolean | undefined;
7734
7693
  } | undefined;
7735
7694
  };
7736
- fileStrategy: FileSources;
7695
+ fileStrategy: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3;
7737
7696
  registration: {
7738
7697
  allowedDomains?: string[] | undefined;
7739
7698
  socialLogins?: string[] | undefined;
@@ -8004,10 +7963,10 @@ export declare const configSchema: z.ZodObject<{
8004
7963
  } | undefined;
8005
7964
  } | undefined;
8006
7965
  fileStrategies?: {
8007
- default?: FileSources | undefined;
8008
- avatar?: FileSources | undefined;
8009
- image?: FileSources | undefined;
8010
- document?: FileSources | undefined;
7966
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
7967
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
7968
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
7969
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8011
7970
  } | undefined;
8012
7971
  actions?: {
8013
7972
  allowedDomains?: string[] | undefined;
@@ -8136,7 +8095,7 @@ export declare const configSchema: z.ZodObject<{
8136
8095
  deploymentName?: string | undefined;
8137
8096
  assistants?: boolean | undefined;
8138
8097
  serverless?: boolean | undefined;
8139
- addParams?: Record<string, string | number | boolean | null> | undefined;
8098
+ addParams?: Record<string, unknown> | undefined;
8140
8099
  dropParams?: string[] | undefined;
8141
8100
  additionalHeaders?: Record<string, string> | undefined;
8142
8101
  })[];
@@ -8293,7 +8252,7 @@ export declare const configSchema: z.ZodObject<{
8293
8252
  fetch?: boolean | undefined;
8294
8253
  userIdQuery?: boolean | undefined;
8295
8254
  } | undefined;
8296
- addParams?: Record<string, string | number | boolean | null> | undefined;
8255
+ addParams?: Record<string, unknown> | undefined;
8297
8256
  dropParams?: string[] | undefined;
8298
8257
  modelDisplayLabel?: string | undefined;
8299
8258
  customParams?: {
@@ -8397,8 +8356,6 @@ export declare const configSchema: z.ZodObject<{
8397
8356
  name: string;
8398
8357
  preset: {
8399
8358
  endpoint: string | null;
8400
- conversationId?: string | null | undefined;
8401
- title?: string | null | undefined;
8402
8359
  endpointType?: EModelEndpoint | null | undefined;
8403
8360
  tools?: string[] | {
8404
8361
  name: string;
@@ -8488,9 +8445,6 @@ export declare const configSchema: z.ZodObject<{
8488
8445
  additional_instructions?: string | undefined;
8489
8446
  append_current_datetime?: boolean | undefined;
8490
8447
  stop?: string[] | undefined;
8491
- presetId?: string | null | undefined;
8492
- defaultPreset?: boolean | undefined;
8493
- order?: number | undefined;
8494
8448
  };
8495
8449
  iconURL?: string | undefined;
8496
8450
  default?: boolean | undefined;
@@ -8797,9 +8751,7 @@ export declare const configSchema: z.ZodObject<{
8797
8751
  modalContent?: string | string[] | undefined;
8798
8752
  } | undefined;
8799
8753
  customWelcome?: string | undefined;
8800
- endpointsMenu?: boolean | undefined;
8801
8754
  modelSelect?: boolean | undefined;
8802
- sidePanel?: boolean | undefined;
8803
8755
  multiConvo?: boolean | undefined;
8804
8756
  bookmarks?: boolean | undefined;
8805
8757
  memories?: boolean | undefined;
@@ -8843,12 +8795,12 @@ export declare const configSchema: z.ZodObject<{
8843
8795
  size?: "normal" | "compact" | "flexible" | "invisible" | undefined;
8844
8796
  } | undefined;
8845
8797
  } | undefined;
8846
- fileStrategy?: FileSources | undefined;
8798
+ fileStrategy?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8847
8799
  fileStrategies?: {
8848
- default?: FileSources | undefined;
8849
- avatar?: FileSources | undefined;
8850
- image?: FileSources | undefined;
8851
- document?: FileSources | undefined;
8800
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8801
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8802
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8803
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
8852
8804
  } | undefined;
8853
8805
  actions?: {
8854
8806
  allowedDomains?: string[] | undefined;
@@ -8981,7 +8933,7 @@ export declare const configSchema: z.ZodObject<{
8981
8933
  deploymentName?: string | undefined;
8982
8934
  assistants?: boolean | undefined;
8983
8935
  serverless?: boolean | undefined;
8984
- addParams?: Record<string, string | number | boolean | null> | undefined;
8936
+ addParams?: Record<string, unknown> | undefined;
8985
8937
  dropParams?: string[] | undefined;
8986
8938
  additionalHeaders?: Record<string, string> | undefined;
8987
8939
  })[];
@@ -9138,7 +9090,7 @@ export declare const configSchema: z.ZodObject<{
9138
9090
  fetch?: boolean | undefined;
9139
9091
  userIdQuery?: boolean | undefined;
9140
9092
  } | undefined;
9141
- addParams?: Record<string, string | number | boolean | null> | undefined;
9093
+ addParams?: Record<string, unknown> | undefined;
9142
9094
  dropParams?: string[] | undefined;
9143
9095
  modelDisplayLabel?: string | undefined;
9144
9096
  customParams?: {
@@ -9240,8 +9192,6 @@ export declare const configSchema: z.ZodObject<{
9240
9192
  name: string;
9241
9193
  preset: {
9242
9194
  endpoint: string | null;
9243
- conversationId?: string | null | undefined;
9244
- title?: string | null | undefined;
9245
9195
  endpointType?: EModelEndpoint | null | undefined;
9246
9196
  tools?: string[] | {
9247
9197
  name: string;
@@ -9331,9 +9281,6 @@ export declare const configSchema: z.ZodObject<{
9331
9281
  additional_instructions?: string | undefined;
9332
9282
  append_current_datetime?: boolean | undefined;
9333
9283
  stop?: string[] | undefined;
9334
- presetId?: string | null | undefined;
9335
- defaultPreset?: boolean | undefined;
9336
- order?: number | undefined;
9337
9284
  };
9338
9285
  iconURL?: string | undefined;
9339
9286
  default?: boolean | undefined;
@@ -9807,7 +9754,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
9807
9754
  type: z.ZodDefault<z.ZodLiteral<"stdio">>;
9808
9755
  command: z.ZodString;
9809
9756
  args: z.ZodArray<z.ZodString, "many">;
9810
- env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>; /** Maximum characters allowed in a single tool result before truncation. */
9757
+ env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
9811
9758
  stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
9812
9759
  }, "strip", z.ZodTypeAny, {
9813
9760
  type: "stdio";
@@ -10478,10 +10425,8 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
10478
10425
  subLabel?: string | Record<string, string> | undefined;
10479
10426
  } | undefined;
10480
10427
  }>>>;
10481
- endpointsMenu: z.ZodOptional<z.ZodBoolean>;
10482
10428
  modelSelect: z.ZodOptional<z.ZodBoolean>;
10483
10429
  parameters: z.ZodOptional<z.ZodBoolean>;
10484
- sidePanel: z.ZodOptional<z.ZodBoolean>;
10485
10430
  multiConvo: z.ZodOptional<z.ZodBoolean>;
10486
10431
  bookmarks: z.ZodOptional<z.ZodBoolean>;
10487
10432
  memories: z.ZodOptional<z.ZodBoolean>;
@@ -10586,9 +10531,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
10586
10531
  modalContent?: string | string[] | undefined;
10587
10532
  } | undefined;
10588
10533
  customWelcome?: string | undefined;
10589
- endpointsMenu?: boolean | undefined;
10590
10534
  modelSelect?: boolean | undefined;
10591
- sidePanel?: boolean | undefined;
10592
10535
  multiConvo?: boolean | undefined;
10593
10536
  bookmarks?: boolean | undefined;
10594
10537
  memories?: boolean | undefined;
@@ -10650,9 +10593,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
10650
10593
  modalContent?: string | string[] | undefined;
10651
10594
  } | undefined;
10652
10595
  customWelcome?: string | undefined;
10653
- endpointsMenu?: boolean | undefined;
10654
10596
  modelSelect?: boolean | undefined;
10655
- sidePanel?: boolean | undefined;
10656
10597
  multiConvo?: boolean | undefined;
10657
10598
  bookmarks?: boolean | undefined;
10658
10599
  memories?: boolean | undefined;
@@ -10714,22 +10655,22 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
10714
10655
  size?: "normal" | "compact" | "flexible" | "invisible" | undefined;
10715
10656
  } | undefined;
10716
10657
  }>>;
10717
- fileStrategy: z.ZodDefault<z.ZodNativeEnum<typeof FileSources>>;
10658
+ fileStrategy: z.ZodDefault<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
10718
10659
  fileStrategies: z.ZodOptional<z.ZodObject<{
10719
- default: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
10720
- avatar: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
10721
- image: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
10722
- document: z.ZodOptional<z.ZodNativeEnum<typeof FileSources>>;
10660
+ default: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
10661
+ avatar: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
10662
+ image: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
10663
+ document: z.ZodOptional<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
10723
10664
  }, "strip", z.ZodTypeAny, {
10724
- default?: FileSources | undefined;
10725
- avatar?: FileSources | undefined;
10726
- image?: FileSources | undefined;
10727
- document?: FileSources | undefined;
10665
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10666
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10667
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10668
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10728
10669
  }, {
10729
- default?: FileSources | undefined;
10730
- avatar?: FileSources | undefined;
10731
- image?: FileSources | undefined;
10732
- document?: FileSources | undefined;
10670
+ default?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10671
+ avatar?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10672
+ image?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10673
+ document?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
10733
10674
  }>>;
10734
10675
  actions: z.ZodOptional<z.ZodObject<{
10735
10676
  allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -11667,10 +11608,8 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11667
11608
  defaultPreset: z.ZodOptional<z.ZodBoolean>;
11668
11609
  order: z.ZodOptional<z.ZodNumber>;
11669
11610
  endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
11670
- }, "iconURL" | "greeting" | "expiredAt" | "messages" | "isArchived" | "tags" | "user" | "spec" | "parentMessageId" | "file_ids" | "presetOverride" | "resendImages" | "chatGptLabel">, "strip", z.ZodTypeAny, {
11611
+ }, "conversationId" | "title" | "iconURL" | "greeting" | "expiredAt" | "messages" | "isArchived" | "tags" | "user" | "spec" | "parentMessageId" | "file_ids" | "presetOverride" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
11671
11612
  endpoint: string | null;
11672
- conversationId?: string | null | undefined;
11673
- title?: string | null | undefined;
11674
11613
  endpointType?: EModelEndpoint | null | undefined;
11675
11614
  tools?: string[] | {
11676
11615
  name: string;
@@ -11760,13 +11699,8 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11760
11699
  additional_instructions?: string | undefined;
11761
11700
  append_current_datetime?: boolean | undefined;
11762
11701
  stop?: string[] | undefined;
11763
- presetId?: string | null | undefined;
11764
- defaultPreset?: boolean | undefined;
11765
- order?: number | undefined;
11766
11702
  }, {
11767
11703
  endpoint: string | null;
11768
- conversationId?: string | null | undefined;
11769
- title?: string | null | undefined;
11770
11704
  endpointType?: EModelEndpoint | null | undefined;
11771
11705
  tools?: string[] | {
11772
11706
  name: string;
@@ -11856,9 +11790,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11856
11790
  additional_instructions?: string | undefined;
11857
11791
  append_current_datetime?: boolean | undefined;
11858
11792
  stop?: string[] | undefined;
11859
- presetId?: string | null | undefined;
11860
- defaultPreset?: boolean | undefined;
11861
- order?: number | undefined;
11862
11793
  }>;
11863
11794
  order: z.ZodOptional<z.ZodNumber>;
11864
11795
  default: z.ZodOptional<z.ZodBoolean>;
@@ -11879,8 +11810,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11879
11810
  name: string;
11880
11811
  preset: {
11881
11812
  endpoint: string | null;
11882
- conversationId?: string | null | undefined;
11883
- title?: string | null | undefined;
11884
11813
  endpointType?: EModelEndpoint | null | undefined;
11885
11814
  tools?: string[] | {
11886
11815
  name: string;
@@ -11970,9 +11899,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11970
11899
  additional_instructions?: string | undefined;
11971
11900
  append_current_datetime?: boolean | undefined;
11972
11901
  stop?: string[] | undefined;
11973
- presetId?: string | null | undefined;
11974
- defaultPreset?: boolean | undefined;
11975
- order?: number | undefined;
11976
11902
  };
11977
11903
  iconURL?: string | undefined;
11978
11904
  default?: boolean | undefined;
@@ -11993,8 +11919,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
11993
11919
  name: string;
11994
11920
  preset: {
11995
11921
  endpoint: string | null;
11996
- conversationId?: string | null | undefined;
11997
- title?: string | null | undefined;
11998
11922
  endpointType?: EModelEndpoint | null | undefined;
11999
11923
  tools?: string[] | {
12000
11924
  name: string;
@@ -12084,9 +12008,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12084
12008
  additional_instructions?: string | undefined;
12085
12009
  append_current_datetime?: boolean | undefined;
12086
12010
  stop?: string[] | undefined;
12087
- presetId?: string | null | undefined;
12088
- defaultPreset?: boolean | undefined;
12089
- order?: number | undefined;
12090
12011
  };
12091
12012
  iconURL?: string | undefined;
12092
12013
  default?: boolean | undefined;
@@ -12112,8 +12033,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12112
12033
  name: string;
12113
12034
  preset: {
12114
12035
  endpoint: string | null;
12115
- conversationId?: string | null | undefined;
12116
- title?: string | null | undefined;
12117
12036
  endpointType?: EModelEndpoint | null | undefined;
12118
12037
  tools?: string[] | {
12119
12038
  name: string;
@@ -12203,9 +12122,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12203
12122
  additional_instructions?: string | undefined;
12204
12123
  append_current_datetime?: boolean | undefined;
12205
12124
  stop?: string[] | undefined;
12206
- presetId?: string | null | undefined;
12207
- defaultPreset?: boolean | undefined;
12208
- order?: number | undefined;
12209
12125
  };
12210
12126
  iconURL?: string | undefined;
12211
12127
  default?: boolean | undefined;
@@ -12229,8 +12145,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12229
12145
  name: string;
12230
12146
  preset: {
12231
12147
  endpoint: string | null;
12232
- conversationId?: string | null | undefined;
12233
- title?: string | null | undefined;
12234
12148
  endpointType?: EModelEndpoint | null | undefined;
12235
12149
  tools?: string[] | {
12236
12150
  name: string;
@@ -12320,9 +12234,6 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12320
12234
  additional_instructions?: string | undefined;
12321
12235
  append_current_datetime?: boolean | undefined;
12322
12236
  stop?: string[] | undefined;
12323
- presetId?: string | null | undefined;
12324
- defaultPreset?: boolean | undefined;
12325
- order?: number | undefined;
12326
12237
  };
12327
12238
  iconURL?: string | undefined;
12328
12239
  default?: boolean | undefined;
@@ -12571,7 +12482,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12571
12482
  instanceName: z.ZodOptional<z.ZodString>;
12572
12483
  deploymentName: z.ZodOptional<z.ZodString>;
12573
12484
  assistants: z.ZodOptional<z.ZodBoolean>;
12574
- addParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>;
12485
+ addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
12575
12486
  dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12576
12487
  version: z.ZodOptional<z.ZodString>;
12577
12488
  baseURL: z.ZodOptional<z.ZodString>;
@@ -12584,7 +12495,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12584
12495
  deploymentName?: string | undefined;
12585
12496
  assistants?: boolean | undefined;
12586
12497
  serverless?: boolean | undefined;
12587
- addParams?: Record<string, string | number | boolean | null> | undefined;
12498
+ addParams?: Record<string, unknown> | undefined;
12588
12499
  dropParams?: string[] | undefined;
12589
12500
  additionalHeaders?: Record<string, string> | undefined;
12590
12501
  }, {
@@ -12595,7 +12506,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12595
12506
  deploymentName?: string | undefined;
12596
12507
  assistants?: boolean | undefined;
12597
12508
  serverless?: boolean | undefined;
12598
- addParams?: Record<string, string | number | boolean | null> | undefined;
12509
+ addParams?: Record<string, unknown> | undefined;
12599
12510
  dropParams?: string[] | undefined;
12600
12511
  additionalHeaders?: Record<string, string> | undefined;
12601
12512
  }>>, "many">;
@@ -12616,7 +12527,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12616
12527
  deploymentName?: string | undefined;
12617
12528
  assistants?: boolean | undefined;
12618
12529
  serverless?: boolean | undefined;
12619
- addParams?: Record<string, string | number | boolean | null> | undefined;
12530
+ addParams?: Record<string, unknown> | undefined;
12620
12531
  dropParams?: string[] | undefined;
12621
12532
  additionalHeaders?: Record<string, string> | undefined;
12622
12533
  })[];
@@ -12637,7 +12548,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12637
12548
  deploymentName?: string | undefined;
12638
12549
  assistants?: boolean | undefined;
12639
12550
  serverless?: boolean | undefined;
12640
- addParams?: Record<string, string | number | boolean | null> | undefined;
12551
+ addParams?: Record<string, unknown> | undefined;
12641
12552
  dropParams?: string[] | undefined;
12642
12553
  additionalHeaders?: Record<string, string> | undefined;
12643
12554
  })[];
@@ -12982,7 +12893,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
12982
12893
  iconURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12983
12894
  modelDisplayLabel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
12984
12895
  headers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
12985
- addParams: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>>>;
12896
+ addParams: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
12986
12897
  dropParams: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
12987
12898
  customParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
12988
12899
  defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
@@ -13191,7 +13102,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13191
13102
  fetch?: boolean | undefined;
13192
13103
  userIdQuery?: boolean | undefined;
13193
13104
  } | undefined;
13194
- addParams?: Record<string, string | number | boolean | null> | undefined;
13105
+ addParams?: Record<string, unknown> | undefined;
13195
13106
  dropParams?: string[] | undefined;
13196
13107
  modelDisplayLabel?: string | undefined;
13197
13108
  customParams?: {
@@ -13255,7 +13166,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13255
13166
  fetch?: boolean | undefined;
13256
13167
  userIdQuery?: boolean | undefined;
13257
13168
  } | undefined;
13258
- addParams?: Record<string, string | number | boolean | null> | undefined;
13169
+ addParams?: Record<string, unknown> | undefined;
13259
13170
  dropParams?: string[] | undefined;
13260
13171
  modelDisplayLabel?: string | undefined;
13261
13172
  customParams?: {
@@ -13357,7 +13268,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13357
13268
  deploymentName?: string | undefined;
13358
13269
  assistants?: boolean | undefined;
13359
13270
  serverless?: boolean | undefined;
13360
- addParams?: Record<string, string | number | boolean | null> | undefined;
13271
+ addParams?: Record<string, unknown> | undefined;
13361
13272
  dropParams?: string[] | undefined;
13362
13273
  additionalHeaders?: Record<string, string> | undefined;
13363
13274
  })[];
@@ -13514,7 +13425,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13514
13425
  fetch?: boolean | undefined;
13515
13426
  userIdQuery?: boolean | undefined;
13516
13427
  } | undefined;
13517
- addParams?: Record<string, string | number | boolean | null> | undefined;
13428
+ addParams?: Record<string, unknown> | undefined;
13518
13429
  dropParams?: string[] | undefined;
13519
13430
  modelDisplayLabel?: string | undefined;
13520
13431
  customParams?: {
@@ -13598,7 +13509,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13598
13509
  deploymentName?: string | undefined;
13599
13510
  assistants?: boolean | undefined;
13600
13511
  serverless?: boolean | undefined;
13601
- addParams?: Record<string, string | number | boolean | null> | undefined;
13512
+ addParams?: Record<string, unknown> | undefined;
13602
13513
  dropParams?: string[] | undefined;
13603
13514
  additionalHeaders?: Record<string, string> | undefined;
13604
13515
  })[];
@@ -13755,7 +13666,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13755
13666
  fetch?: boolean | undefined;
13756
13667
  userIdQuery?: boolean | undefined;
13757
13668
  } | undefined;
13758
- addParams?: Record<string, string | number | boolean | null> | undefined;
13669
+ addParams?: Record<string, unknown> | undefined;
13759
13670
  dropParams?: string[] | undefined;
13760
13671
  modelDisplayLabel?: string | undefined;
13761
13672
  customParams?: {
@@ -13839,7 +13750,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13839
13750
  deploymentName?: string | undefined;
13840
13751
  assistants?: boolean | undefined;
13841
13752
  serverless?: boolean | undefined;
13842
- addParams?: Record<string, string | number | boolean | null> | undefined;
13753
+ addParams?: Record<string, unknown> | undefined;
13843
13754
  dropParams?: string[] | undefined;
13844
13755
  additionalHeaders?: Record<string, string> | undefined;
13845
13756
  })[];
@@ -13996,7 +13907,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
13996
13907
  fetch?: boolean | undefined;
13997
13908
  userIdQuery?: boolean | undefined;
13998
13909
  } | undefined;
13999
- addParams?: Record<string, string | number | boolean | null> | undefined;
13910
+ addParams?: Record<string, unknown> | undefined;
14000
13911
  dropParams?: string[] | undefined;
14001
13912
  modelDisplayLabel?: string | undefined;
14002
13913
  customParams?: {
@@ -14080,7 +13991,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
14080
13991
  deploymentName?: string | undefined;
14081
13992
  assistants?: boolean | undefined;
14082
13993
  serverless?: boolean | undefined;
14083
- addParams?: Record<string, string | number | boolean | null> | undefined;
13994
+ addParams?: Record<string, unknown> | undefined;
14084
13995
  dropParams?: string[] | undefined;
14085
13996
  additionalHeaders?: Record<string, string> | undefined;
14086
13997
  })[];
@@ -14237,7 +14148,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
14237
14148
  fetch?: boolean | undefined;
14238
14149
  userIdQuery?: boolean | undefined;
14239
14150
  } | undefined;
14240
- addParams?: Record<string, string | number | boolean | null> | undefined;
14151
+ addParams?: Record<string, unknown> | undefined;
14241
14152
  dropParams?: string[] | undefined;
14242
14153
  modelDisplayLabel?: string | undefined;
14243
14154
  customParams?: {
@@ -14785,7 +14696,7 @@ export declare enum Constants {
14785
14696
  /** Key for the app's version. */
14786
14697
  VERSION = "v0.8.4",
14787
14698
  /** Key for the Custom Config's version (librechat.yaml). */
14788
- CONFIG_VERSION = "1.3.6",
14699
+ CONFIG_VERSION = "1.3.7",
14789
14700
  /** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
14790
14701
  NO_PARENT = "00000000-0000-0000-0000-000000000000",
14791
14702
  /** Standard value to use whatever the submission prelim. `responseMessageId` is */