librechat-data-provider 0.8.406 → 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.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-query/index.es.js +1 -1
- package/dist/react-query/index.es.js.map +1 -1
- package/dist/types/api-endpoints.d.ts +1 -0
- package/dist/types/config.d.ts +110 -129
- package/dist/types/data-service.d.ts +1 -0
- package/dist/types/keys.d.ts +1 -0
- package/dist/types/roles.d.ts +2 -0
- package/dist/types/types/assistants.d.ts +18 -0
- package/dist/types/types/queries.d.ts +10 -0
- package/package.json +4 -4
package/dist/types/config.d.ts
CHANGED
|
@@ -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.
|
|
18
|
-
avatar: z.ZodOptional<z.
|
|
19
|
-
image: z.ZodOptional<z.
|
|
20
|
-
document: z.ZodOptional<z.
|
|
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.
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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.
|
|
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,
|
|
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,
|
|
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>;
|
|
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.
|
|
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.
|
|
4079
|
-
avatar: z.ZodOptional<z.
|
|
4080
|
-
image: z.ZodOptional<z.
|
|
4081
|
-
document: z.ZodOptional<z.
|
|
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">>;
|
|
@@ -5900,7 +5891,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
5900
5891
|
instanceName: z.ZodOptional<z.ZodString>;
|
|
5901
5892
|
deploymentName: z.ZodOptional<z.ZodString>;
|
|
5902
5893
|
assistants: z.ZodOptional<z.ZodBoolean>;
|
|
5903
|
-
addParams: z.ZodOptional<z.
|
|
5894
|
+
addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
|
|
5904
5895
|
dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5905
5896
|
version: z.ZodOptional<z.ZodString>;
|
|
5906
5897
|
baseURL: z.ZodOptional<z.ZodString>;
|
|
@@ -5913,7 +5904,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
5913
5904
|
deploymentName?: string | undefined;
|
|
5914
5905
|
assistants?: boolean | undefined;
|
|
5915
5906
|
serverless?: boolean | undefined;
|
|
5916
|
-
addParams?: Record<string,
|
|
5907
|
+
addParams?: Record<string, unknown> | undefined;
|
|
5917
5908
|
dropParams?: string[] | undefined;
|
|
5918
5909
|
additionalHeaders?: Record<string, string> | undefined;
|
|
5919
5910
|
}, {
|
|
@@ -5924,7 +5915,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
5924
5915
|
deploymentName?: string | undefined;
|
|
5925
5916
|
assistants?: boolean | undefined;
|
|
5926
5917
|
serverless?: boolean | undefined;
|
|
5927
|
-
addParams?: Record<string,
|
|
5918
|
+
addParams?: Record<string, unknown> | undefined;
|
|
5928
5919
|
dropParams?: string[] | undefined;
|
|
5929
5920
|
additionalHeaders?: Record<string, string> | undefined;
|
|
5930
5921
|
}>>, "many">;
|
|
@@ -5945,7 +5936,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
5945
5936
|
deploymentName?: string | undefined;
|
|
5946
5937
|
assistants?: boolean | undefined;
|
|
5947
5938
|
serverless?: boolean | undefined;
|
|
5948
|
-
addParams?: Record<string,
|
|
5939
|
+
addParams?: Record<string, unknown> | undefined;
|
|
5949
5940
|
dropParams?: string[] | undefined;
|
|
5950
5941
|
additionalHeaders?: Record<string, string> | undefined;
|
|
5951
5942
|
})[];
|
|
@@ -5966,7 +5957,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
5966
5957
|
deploymentName?: string | undefined;
|
|
5967
5958
|
assistants?: boolean | undefined;
|
|
5968
5959
|
serverless?: boolean | undefined;
|
|
5969
|
-
addParams?: Record<string,
|
|
5960
|
+
addParams?: Record<string, unknown> | undefined;
|
|
5970
5961
|
dropParams?: string[] | undefined;
|
|
5971
5962
|
additionalHeaders?: Record<string, string> | undefined;
|
|
5972
5963
|
})[];
|
|
@@ -6311,7 +6302,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6311
6302
|
iconURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6312
6303
|
modelDisplayLabel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6313
6304
|
headers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
6314
|
-
addParams: z.ZodOptional<z.ZodOptional<z.
|
|
6305
|
+
addParams: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
|
|
6315
6306
|
dropParams: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6316
6307
|
customParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
6317
6308
|
defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
|
|
@@ -6520,7 +6511,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6520
6511
|
fetch?: boolean | undefined;
|
|
6521
6512
|
userIdQuery?: boolean | undefined;
|
|
6522
6513
|
} | undefined;
|
|
6523
|
-
addParams?: Record<string,
|
|
6514
|
+
addParams?: Record<string, unknown> | undefined;
|
|
6524
6515
|
dropParams?: string[] | undefined;
|
|
6525
6516
|
modelDisplayLabel?: string | undefined;
|
|
6526
6517
|
customParams?: {
|
|
@@ -6584,7 +6575,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6584
6575
|
fetch?: boolean | undefined;
|
|
6585
6576
|
userIdQuery?: boolean | undefined;
|
|
6586
6577
|
} | undefined;
|
|
6587
|
-
addParams?: Record<string,
|
|
6578
|
+
addParams?: Record<string, unknown> | undefined;
|
|
6588
6579
|
dropParams?: string[] | undefined;
|
|
6589
6580
|
modelDisplayLabel?: string | undefined;
|
|
6590
6581
|
customParams?: {
|
|
@@ -6686,7 +6677,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6686
6677
|
deploymentName?: string | undefined;
|
|
6687
6678
|
assistants?: boolean | undefined;
|
|
6688
6679
|
serverless?: boolean | undefined;
|
|
6689
|
-
addParams?: Record<string,
|
|
6680
|
+
addParams?: Record<string, unknown> | undefined;
|
|
6690
6681
|
dropParams?: string[] | undefined;
|
|
6691
6682
|
additionalHeaders?: Record<string, string> | undefined;
|
|
6692
6683
|
})[];
|
|
@@ -6843,7 +6834,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6843
6834
|
fetch?: boolean | undefined;
|
|
6844
6835
|
userIdQuery?: boolean | undefined;
|
|
6845
6836
|
} | undefined;
|
|
6846
|
-
addParams?: Record<string,
|
|
6837
|
+
addParams?: Record<string, unknown> | undefined;
|
|
6847
6838
|
dropParams?: string[] | undefined;
|
|
6848
6839
|
modelDisplayLabel?: string | undefined;
|
|
6849
6840
|
customParams?: {
|
|
@@ -6927,7 +6918,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
6927
6918
|
deploymentName?: string | undefined;
|
|
6928
6919
|
assistants?: boolean | undefined;
|
|
6929
6920
|
serverless?: boolean | undefined;
|
|
6930
|
-
addParams?: Record<string,
|
|
6921
|
+
addParams?: Record<string, unknown> | undefined;
|
|
6931
6922
|
dropParams?: string[] | undefined;
|
|
6932
6923
|
additionalHeaders?: Record<string, string> | undefined;
|
|
6933
6924
|
})[];
|
|
@@ -7084,7 +7075,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7084
7075
|
fetch?: boolean | undefined;
|
|
7085
7076
|
userIdQuery?: boolean | undefined;
|
|
7086
7077
|
} | undefined;
|
|
7087
|
-
addParams?: Record<string,
|
|
7078
|
+
addParams?: Record<string, unknown> | undefined;
|
|
7088
7079
|
dropParams?: string[] | undefined;
|
|
7089
7080
|
modelDisplayLabel?: string | undefined;
|
|
7090
7081
|
customParams?: {
|
|
@@ -7168,7 +7159,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7168
7159
|
deploymentName?: string | undefined;
|
|
7169
7160
|
assistants?: boolean | undefined;
|
|
7170
7161
|
serverless?: boolean | undefined;
|
|
7171
|
-
addParams?: Record<string,
|
|
7162
|
+
addParams?: Record<string, unknown> | undefined;
|
|
7172
7163
|
dropParams?: string[] | undefined;
|
|
7173
7164
|
additionalHeaders?: Record<string, string> | undefined;
|
|
7174
7165
|
})[];
|
|
@@ -7325,7 +7316,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7325
7316
|
fetch?: boolean | undefined;
|
|
7326
7317
|
userIdQuery?: boolean | undefined;
|
|
7327
7318
|
} | undefined;
|
|
7328
|
-
addParams?: Record<string,
|
|
7319
|
+
addParams?: Record<string, unknown> | undefined;
|
|
7329
7320
|
dropParams?: string[] | undefined;
|
|
7330
7321
|
modelDisplayLabel?: string | undefined;
|
|
7331
7322
|
customParams?: {
|
|
@@ -7409,7 +7400,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7409
7400
|
deploymentName?: string | undefined;
|
|
7410
7401
|
assistants?: boolean | undefined;
|
|
7411
7402
|
serverless?: boolean | undefined;
|
|
7412
|
-
addParams?: Record<string,
|
|
7403
|
+
addParams?: Record<string, unknown> | undefined;
|
|
7413
7404
|
dropParams?: string[] | undefined;
|
|
7414
7405
|
additionalHeaders?: Record<string, string> | undefined;
|
|
7415
7406
|
})[];
|
|
@@ -7566,7 +7557,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7566
7557
|
fetch?: boolean | undefined;
|
|
7567
7558
|
userIdQuery?: boolean | undefined;
|
|
7568
7559
|
} | undefined;
|
|
7569
|
-
addParams?: Record<string,
|
|
7560
|
+
addParams?: Record<string, unknown> | undefined;
|
|
7570
7561
|
dropParams?: string[] | undefined;
|
|
7571
7562
|
modelDisplayLabel?: string | undefined;
|
|
7572
7563
|
customParams?: {
|
|
@@ -7664,9 +7655,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7664
7655
|
modalContent?: string | string[] | undefined;
|
|
7665
7656
|
} | undefined;
|
|
7666
7657
|
customWelcome?: string | undefined;
|
|
7667
|
-
endpointsMenu?: boolean | undefined;
|
|
7668
7658
|
modelSelect?: boolean | undefined;
|
|
7669
|
-
sidePanel?: boolean | undefined;
|
|
7670
7659
|
multiConvo?: boolean | undefined;
|
|
7671
7660
|
bookmarks?: boolean | undefined;
|
|
7672
7661
|
memories?: boolean | undefined;
|
|
@@ -7703,7 +7692,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7703
7692
|
public?: boolean | undefined;
|
|
7704
7693
|
} | undefined;
|
|
7705
7694
|
};
|
|
7706
|
-
fileStrategy: FileSources;
|
|
7695
|
+
fileStrategy: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3;
|
|
7707
7696
|
registration: {
|
|
7708
7697
|
allowedDomains?: string[] | undefined;
|
|
7709
7698
|
socialLogins?: string[] | undefined;
|
|
@@ -7974,10 +7963,10 @@ export declare const configSchema: z.ZodObject<{
|
|
|
7974
7963
|
} | undefined;
|
|
7975
7964
|
} | undefined;
|
|
7976
7965
|
fileStrategies?: {
|
|
7977
|
-
default?: FileSources | undefined;
|
|
7978
|
-
avatar?: FileSources | undefined;
|
|
7979
|
-
image?: FileSources | undefined;
|
|
7980
|
-
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;
|
|
7981
7970
|
} | undefined;
|
|
7982
7971
|
actions?: {
|
|
7983
7972
|
allowedDomains?: string[] | undefined;
|
|
@@ -8106,7 +8095,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
8106
8095
|
deploymentName?: string | undefined;
|
|
8107
8096
|
assistants?: boolean | undefined;
|
|
8108
8097
|
serverless?: boolean | undefined;
|
|
8109
|
-
addParams?: Record<string,
|
|
8098
|
+
addParams?: Record<string, unknown> | undefined;
|
|
8110
8099
|
dropParams?: string[] | undefined;
|
|
8111
8100
|
additionalHeaders?: Record<string, string> | undefined;
|
|
8112
8101
|
})[];
|
|
@@ -8263,7 +8252,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
8263
8252
|
fetch?: boolean | undefined;
|
|
8264
8253
|
userIdQuery?: boolean | undefined;
|
|
8265
8254
|
} | undefined;
|
|
8266
|
-
addParams?: Record<string,
|
|
8255
|
+
addParams?: Record<string, unknown> | undefined;
|
|
8267
8256
|
dropParams?: string[] | undefined;
|
|
8268
8257
|
modelDisplayLabel?: string | undefined;
|
|
8269
8258
|
customParams?: {
|
|
@@ -8762,9 +8751,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
8762
8751
|
modalContent?: string | string[] | undefined;
|
|
8763
8752
|
} | undefined;
|
|
8764
8753
|
customWelcome?: string | undefined;
|
|
8765
|
-
endpointsMenu?: boolean | undefined;
|
|
8766
8754
|
modelSelect?: boolean | undefined;
|
|
8767
|
-
sidePanel?: boolean | undefined;
|
|
8768
8755
|
multiConvo?: boolean | undefined;
|
|
8769
8756
|
bookmarks?: boolean | undefined;
|
|
8770
8757
|
memories?: boolean | undefined;
|
|
@@ -8808,12 +8795,12 @@ export declare const configSchema: z.ZodObject<{
|
|
|
8808
8795
|
size?: "normal" | "compact" | "flexible" | "invisible" | undefined;
|
|
8809
8796
|
} | undefined;
|
|
8810
8797
|
} | undefined;
|
|
8811
|
-
fileStrategy?: FileSources | undefined;
|
|
8798
|
+
fileStrategy?: FileSources.local | FileSources.firebase | FileSources.azure_blob | FileSources.s3 | undefined;
|
|
8812
8799
|
fileStrategies?: {
|
|
8813
|
-
default?: FileSources | undefined;
|
|
8814
|
-
avatar?: FileSources | undefined;
|
|
8815
|
-
image?: FileSources | undefined;
|
|
8816
|
-
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;
|
|
8817
8804
|
} | undefined;
|
|
8818
8805
|
actions?: {
|
|
8819
8806
|
allowedDomains?: string[] | undefined;
|
|
@@ -8946,7 +8933,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
8946
8933
|
deploymentName?: string | undefined;
|
|
8947
8934
|
assistants?: boolean | undefined;
|
|
8948
8935
|
serverless?: boolean | undefined;
|
|
8949
|
-
addParams?: Record<string,
|
|
8936
|
+
addParams?: Record<string, unknown> | undefined;
|
|
8950
8937
|
dropParams?: string[] | undefined;
|
|
8951
8938
|
additionalHeaders?: Record<string, string> | undefined;
|
|
8952
8939
|
})[];
|
|
@@ -9103,7 +9090,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
9103
9090
|
fetch?: boolean | undefined;
|
|
9104
9091
|
userIdQuery?: boolean | undefined;
|
|
9105
9092
|
} | undefined;
|
|
9106
|
-
addParams?: Record<string,
|
|
9093
|
+
addParams?: Record<string, unknown> | undefined;
|
|
9107
9094
|
dropParams?: string[] | undefined;
|
|
9108
9095
|
modelDisplayLabel?: string | undefined;
|
|
9109
9096
|
customParams?: {
|
|
@@ -9767,7 +9754,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
9767
9754
|
type: z.ZodDefault<z.ZodLiteral<"stdio">>;
|
|
9768
9755
|
command: z.ZodString;
|
|
9769
9756
|
args: z.ZodArray<z.ZodString, "many">;
|
|
9770
|
-
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
9757
|
+
env: z.ZodEffects<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
9771
9758
|
stderr: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["pipe", "ignore", "inherit"]>, z.ZodNumber]>>;
|
|
9772
9759
|
}, "strip", z.ZodTypeAny, {
|
|
9773
9760
|
type: "stdio";
|
|
@@ -10438,10 +10425,8 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
10438
10425
|
subLabel?: string | Record<string, string> | undefined;
|
|
10439
10426
|
} | undefined;
|
|
10440
10427
|
}>>>;
|
|
10441
|
-
endpointsMenu: z.ZodOptional<z.ZodBoolean>;
|
|
10442
10428
|
modelSelect: z.ZodOptional<z.ZodBoolean>;
|
|
10443
10429
|
parameters: z.ZodOptional<z.ZodBoolean>;
|
|
10444
|
-
sidePanel: z.ZodOptional<z.ZodBoolean>;
|
|
10445
10430
|
multiConvo: z.ZodOptional<z.ZodBoolean>;
|
|
10446
10431
|
bookmarks: z.ZodOptional<z.ZodBoolean>;
|
|
10447
10432
|
memories: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -10546,9 +10531,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
10546
10531
|
modalContent?: string | string[] | undefined;
|
|
10547
10532
|
} | undefined;
|
|
10548
10533
|
customWelcome?: string | undefined;
|
|
10549
|
-
endpointsMenu?: boolean | undefined;
|
|
10550
10534
|
modelSelect?: boolean | undefined;
|
|
10551
|
-
sidePanel?: boolean | undefined;
|
|
10552
10535
|
multiConvo?: boolean | undefined;
|
|
10553
10536
|
bookmarks?: boolean | undefined;
|
|
10554
10537
|
memories?: boolean | undefined;
|
|
@@ -10610,9 +10593,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
10610
10593
|
modalContent?: string | string[] | undefined;
|
|
10611
10594
|
} | undefined;
|
|
10612
10595
|
customWelcome?: string | undefined;
|
|
10613
|
-
endpointsMenu?: boolean | undefined;
|
|
10614
10596
|
modelSelect?: boolean | undefined;
|
|
10615
|
-
sidePanel?: boolean | undefined;
|
|
10616
10597
|
multiConvo?: boolean | undefined;
|
|
10617
10598
|
bookmarks?: boolean | undefined;
|
|
10618
10599
|
memories?: boolean | undefined;
|
|
@@ -10674,22 +10655,22 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
10674
10655
|
size?: "normal" | "compact" | "flexible" | "invisible" | undefined;
|
|
10675
10656
|
} | undefined;
|
|
10676
10657
|
}>>;
|
|
10677
|
-
fileStrategy: z.ZodDefault<z.
|
|
10658
|
+
fileStrategy: z.ZodDefault<z.ZodEnum<[FileSources.local, FileSources.firebase, FileSources.s3, FileSources.azure_blob]>>;
|
|
10678
10659
|
fileStrategies: z.ZodOptional<z.ZodObject<{
|
|
10679
|
-
default: z.ZodOptional<z.
|
|
10680
|
-
avatar: z.ZodOptional<z.
|
|
10681
|
-
image: z.ZodOptional<z.
|
|
10682
|
-
document: z.ZodOptional<z.
|
|
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]>>;
|
|
10683
10664
|
}, "strip", z.ZodTypeAny, {
|
|
10684
|
-
default?: FileSources | undefined;
|
|
10685
|
-
avatar?: FileSources | undefined;
|
|
10686
|
-
image?: FileSources | undefined;
|
|
10687
|
-
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;
|
|
10688
10669
|
}, {
|
|
10689
|
-
default?: FileSources | undefined;
|
|
10690
|
-
avatar?: FileSources | undefined;
|
|
10691
|
-
image?: FileSources | undefined;
|
|
10692
|
-
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;
|
|
10693
10674
|
}>>;
|
|
10694
10675
|
actions: z.ZodOptional<z.ZodObject<{
|
|
10695
10676
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -12501,7 +12482,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12501
12482
|
instanceName: z.ZodOptional<z.ZodString>;
|
|
12502
12483
|
deploymentName: z.ZodOptional<z.ZodString>;
|
|
12503
12484
|
assistants: z.ZodOptional<z.ZodBoolean>;
|
|
12504
|
-
addParams: z.ZodOptional<z.
|
|
12485
|
+
addParams: z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>;
|
|
12505
12486
|
dropParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12506
12487
|
version: z.ZodOptional<z.ZodString>;
|
|
12507
12488
|
baseURL: z.ZodOptional<z.ZodString>;
|
|
@@ -12514,7 +12495,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12514
12495
|
deploymentName?: string | undefined;
|
|
12515
12496
|
assistants?: boolean | undefined;
|
|
12516
12497
|
serverless?: boolean | undefined;
|
|
12517
|
-
addParams?: Record<string,
|
|
12498
|
+
addParams?: Record<string, unknown> | undefined;
|
|
12518
12499
|
dropParams?: string[] | undefined;
|
|
12519
12500
|
additionalHeaders?: Record<string, string> | undefined;
|
|
12520
12501
|
}, {
|
|
@@ -12525,7 +12506,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12525
12506
|
deploymentName?: string | undefined;
|
|
12526
12507
|
assistants?: boolean | undefined;
|
|
12527
12508
|
serverless?: boolean | undefined;
|
|
12528
|
-
addParams?: Record<string,
|
|
12509
|
+
addParams?: Record<string, unknown> | undefined;
|
|
12529
12510
|
dropParams?: string[] | undefined;
|
|
12530
12511
|
additionalHeaders?: Record<string, string> | undefined;
|
|
12531
12512
|
}>>, "many">;
|
|
@@ -12546,7 +12527,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12546
12527
|
deploymentName?: string | undefined;
|
|
12547
12528
|
assistants?: boolean | undefined;
|
|
12548
12529
|
serverless?: boolean | undefined;
|
|
12549
|
-
addParams?: Record<string,
|
|
12530
|
+
addParams?: Record<string, unknown> | undefined;
|
|
12550
12531
|
dropParams?: string[] | undefined;
|
|
12551
12532
|
additionalHeaders?: Record<string, string> | undefined;
|
|
12552
12533
|
})[];
|
|
@@ -12567,7 +12548,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12567
12548
|
deploymentName?: string | undefined;
|
|
12568
12549
|
assistants?: boolean | undefined;
|
|
12569
12550
|
serverless?: boolean | undefined;
|
|
12570
|
-
addParams?: Record<string,
|
|
12551
|
+
addParams?: Record<string, unknown> | undefined;
|
|
12571
12552
|
dropParams?: string[] | undefined;
|
|
12572
12553
|
additionalHeaders?: Record<string, string> | undefined;
|
|
12573
12554
|
})[];
|
|
@@ -12912,7 +12893,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
12912
12893
|
iconURL: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12913
12894
|
modelDisplayLabel: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
12914
12895
|
headers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
12915
|
-
addParams: z.ZodOptional<z.ZodOptional<z.
|
|
12896
|
+
addParams: z.ZodOptional<z.ZodOptional<z.ZodType<Record<string, unknown>, z.ZodTypeDef, Record<string, unknown>>>>;
|
|
12916
12897
|
dropParams: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
12917
12898
|
customParams: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
12918
12899
|
defaultParamsEndpoint: z.ZodDefault<z.ZodString>;
|
|
@@ -13121,7 +13102,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13121
13102
|
fetch?: boolean | undefined;
|
|
13122
13103
|
userIdQuery?: boolean | undefined;
|
|
13123
13104
|
} | undefined;
|
|
13124
|
-
addParams?: Record<string,
|
|
13105
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13125
13106
|
dropParams?: string[] | undefined;
|
|
13126
13107
|
modelDisplayLabel?: string | undefined;
|
|
13127
13108
|
customParams?: {
|
|
@@ -13185,7 +13166,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13185
13166
|
fetch?: boolean | undefined;
|
|
13186
13167
|
userIdQuery?: boolean | undefined;
|
|
13187
13168
|
} | undefined;
|
|
13188
|
-
addParams?: Record<string,
|
|
13169
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13189
13170
|
dropParams?: string[] | undefined;
|
|
13190
13171
|
modelDisplayLabel?: string | undefined;
|
|
13191
13172
|
customParams?: {
|
|
@@ -13287,7 +13268,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13287
13268
|
deploymentName?: string | undefined;
|
|
13288
13269
|
assistants?: boolean | undefined;
|
|
13289
13270
|
serverless?: boolean | undefined;
|
|
13290
|
-
addParams?: Record<string,
|
|
13271
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13291
13272
|
dropParams?: string[] | undefined;
|
|
13292
13273
|
additionalHeaders?: Record<string, string> | undefined;
|
|
13293
13274
|
})[];
|
|
@@ -13444,7 +13425,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13444
13425
|
fetch?: boolean | undefined;
|
|
13445
13426
|
userIdQuery?: boolean | undefined;
|
|
13446
13427
|
} | undefined;
|
|
13447
|
-
addParams?: Record<string,
|
|
13428
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13448
13429
|
dropParams?: string[] | undefined;
|
|
13449
13430
|
modelDisplayLabel?: string | undefined;
|
|
13450
13431
|
customParams?: {
|
|
@@ -13528,7 +13509,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13528
13509
|
deploymentName?: string | undefined;
|
|
13529
13510
|
assistants?: boolean | undefined;
|
|
13530
13511
|
serverless?: boolean | undefined;
|
|
13531
|
-
addParams?: Record<string,
|
|
13512
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13532
13513
|
dropParams?: string[] | undefined;
|
|
13533
13514
|
additionalHeaders?: Record<string, string> | undefined;
|
|
13534
13515
|
})[];
|
|
@@ -13685,7 +13666,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13685
13666
|
fetch?: boolean | undefined;
|
|
13686
13667
|
userIdQuery?: boolean | undefined;
|
|
13687
13668
|
} | undefined;
|
|
13688
|
-
addParams?: Record<string,
|
|
13669
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13689
13670
|
dropParams?: string[] | undefined;
|
|
13690
13671
|
modelDisplayLabel?: string | undefined;
|
|
13691
13672
|
customParams?: {
|
|
@@ -13769,7 +13750,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13769
13750
|
deploymentName?: string | undefined;
|
|
13770
13751
|
assistants?: boolean | undefined;
|
|
13771
13752
|
serverless?: boolean | undefined;
|
|
13772
|
-
addParams?: Record<string,
|
|
13753
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13773
13754
|
dropParams?: string[] | undefined;
|
|
13774
13755
|
additionalHeaders?: Record<string, string> | undefined;
|
|
13775
13756
|
})[];
|
|
@@ -13926,7 +13907,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
13926
13907
|
fetch?: boolean | undefined;
|
|
13927
13908
|
userIdQuery?: boolean | undefined;
|
|
13928
13909
|
} | undefined;
|
|
13929
|
-
addParams?: Record<string,
|
|
13910
|
+
addParams?: Record<string, unknown> | undefined;
|
|
13930
13911
|
dropParams?: string[] | undefined;
|
|
13931
13912
|
modelDisplayLabel?: string | undefined;
|
|
13932
13913
|
customParams?: {
|
|
@@ -14010,7 +13991,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
14010
13991
|
deploymentName?: string | undefined;
|
|
14011
13992
|
assistants?: boolean | undefined;
|
|
14012
13993
|
serverless?: boolean | undefined;
|
|
14013
|
-
addParams?: Record<string,
|
|
13994
|
+
addParams?: Record<string, unknown> | undefined;
|
|
14014
13995
|
dropParams?: string[] | undefined;
|
|
14015
13996
|
additionalHeaders?: Record<string, string> | undefined;
|
|
14016
13997
|
})[];
|
|
@@ -14167,7 +14148,7 @@ export declare const getConfigDefaults: () => ExtractDefaults<{
|
|
|
14167
14148
|
fetch?: boolean | undefined;
|
|
14168
14149
|
userIdQuery?: boolean | undefined;
|
|
14169
14150
|
} | undefined;
|
|
14170
|
-
addParams?: Record<string,
|
|
14151
|
+
addParams?: Record<string, unknown> | undefined;
|
|
14171
14152
|
dropParams?: string[] | undefined;
|
|
14172
14153
|
modelDisplayLabel?: string | undefined;
|
|
14173
14154
|
customParams?: {
|
|
@@ -14715,7 +14696,7 @@ export declare enum Constants {
|
|
|
14715
14696
|
/** Key for the app's version. */
|
|
14716
14697
|
VERSION = "v0.8.4",
|
|
14717
14698
|
/** Key for the Custom Config's version (librechat.yaml). */
|
|
14718
|
-
CONFIG_VERSION = "1.3.
|
|
14699
|
+
CONFIG_VERSION = "1.3.7",
|
|
14719
14700
|
/** Standard value for the first message's `parentMessageId` value, to indicate no parent exists. */
|
|
14720
14701
|
NO_PARENT = "00000000-0000-0000-0000-000000000000",
|
|
14721
14702
|
/** Standard value to use whatever the submission prelim. `responseMessageId` is */
|