librechat-data-provider 0.8.403 → 0.8.404
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 +1358 -425
- package/dist/types/data-service.d.ts +3 -0
- package/dist/types/mcp.d.ts +27 -27
- package/dist/types/models.d.ts +6 -136
- package/dist/types/schemas.d.ts +295 -0
- package/package.json +2 -1
package/dist/types/models.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TModelSpecPreset } from './schemas';
|
|
3
3
|
import { EModelEndpoint, AuthType } from './schemas';
|
|
4
4
|
export type TModelSpec = {
|
|
5
5
|
name: string;
|
|
6
6
|
label: string;
|
|
7
|
-
preset:
|
|
7
|
+
preset: TModelSpecPreset;
|
|
8
8
|
order?: number;
|
|
9
9
|
default?: boolean;
|
|
10
10
|
description?: string;
|
|
@@ -34,7 +34,7 @@ export type TModelSpec = {
|
|
|
34
34
|
export declare const tModelSpecSchema: z.ZodObject<{
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
label: z.ZodString;
|
|
37
|
-
preset: z.ZodObject<{
|
|
37
|
+
preset: z.ZodObject<Omit<{
|
|
38
38
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
39
39
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
user: z.ZodOptional<z.ZodString>;
|
|
@@ -230,14 +230,11 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
230
230
|
defaultPreset: z.ZodOptional<z.ZodBoolean>;
|
|
231
231
|
order: z.ZodOptional<z.ZodNumber>;
|
|
232
232
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
233
|
-
}, "strip", z.ZodTypeAny, {
|
|
233
|
+
}, "isArchived" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "greeting" | "spec" | "iconURL" | "expiredAt" | "resendImages" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
234
234
|
endpoint: string | null;
|
|
235
235
|
conversationId?: string | null | undefined;
|
|
236
236
|
endpointType?: EModelEndpoint | null | undefined;
|
|
237
|
-
isArchived?: boolean | undefined;
|
|
238
237
|
title?: string | null | undefined;
|
|
239
|
-
user?: string | undefined;
|
|
240
|
-
messages?: string[] | undefined;
|
|
241
238
|
tools?: string[] | {
|
|
242
239
|
name: string;
|
|
243
240
|
pluginKey: string;
|
|
@@ -264,7 +261,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
264
261
|
top_p?: number | undefined;
|
|
265
262
|
frequency_penalty?: number | undefined;
|
|
266
263
|
presence_penalty?: number | undefined;
|
|
267
|
-
parentMessageId?: string | undefined;
|
|
268
264
|
maxOutputTokens?: number | null | undefined;
|
|
269
265
|
maxContextTokens?: number | undefined;
|
|
270
266
|
max_tokens?: number | undefined;
|
|
@@ -284,9 +280,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
284
280
|
content: string;
|
|
285
281
|
};
|
|
286
282
|
}[] | undefined;
|
|
287
|
-
tags?: string[] | undefined;
|
|
288
283
|
resendFiles?: boolean | undefined;
|
|
289
|
-
file_ids?: string[] | undefined;
|
|
290
284
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
291
285
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
292
286
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -327,15 +321,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
327
321
|
instructions?: string | undefined;
|
|
328
322
|
additional_instructions?: string | undefined;
|
|
329
323
|
append_current_datetime?: boolean | undefined;
|
|
330
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
331
324
|
stop?: string[] | undefined;
|
|
332
|
-
greeting?: string | undefined;
|
|
333
|
-
spec?: string | null | undefined;
|
|
334
|
-
iconURL?: string | null | undefined;
|
|
335
|
-
expiredAt?: string | null | undefined;
|
|
336
325
|
fileTokenLimit?: number | undefined;
|
|
337
|
-
resendImages?: boolean | undefined;
|
|
338
|
-
chatGptLabel?: string | null | undefined;
|
|
339
326
|
presetId?: string | null | undefined;
|
|
340
327
|
defaultPreset?: boolean | undefined;
|
|
341
328
|
order?: number | undefined;
|
|
@@ -343,10 +330,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
343
330
|
endpoint: string | null;
|
|
344
331
|
conversationId?: string | null | undefined;
|
|
345
332
|
endpointType?: EModelEndpoint | null | undefined;
|
|
346
|
-
isArchived?: boolean | undefined;
|
|
347
333
|
title?: string | null | undefined;
|
|
348
|
-
user?: string | undefined;
|
|
349
|
-
messages?: string[] | undefined;
|
|
350
334
|
tools?: string[] | {
|
|
351
335
|
name: string;
|
|
352
336
|
pluginKey: string;
|
|
@@ -373,7 +357,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
373
357
|
top_p?: number | undefined;
|
|
374
358
|
frequency_penalty?: number | undefined;
|
|
375
359
|
presence_penalty?: number | undefined;
|
|
376
|
-
parentMessageId?: string | undefined;
|
|
377
360
|
maxOutputTokens?: string | number | null | undefined;
|
|
378
361
|
maxContextTokens?: string | number | undefined;
|
|
379
362
|
max_tokens?: string | number | undefined;
|
|
@@ -393,9 +376,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
393
376
|
content: string;
|
|
394
377
|
};
|
|
395
378
|
}[] | undefined;
|
|
396
|
-
tags?: string[] | undefined;
|
|
397
379
|
resendFiles?: boolean | undefined;
|
|
398
|
-
file_ids?: string[] | undefined;
|
|
399
380
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
400
381
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
401
382
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -436,15 +417,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
436
417
|
instructions?: string | undefined;
|
|
437
418
|
additional_instructions?: string | undefined;
|
|
438
419
|
append_current_datetime?: boolean | undefined;
|
|
439
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
440
420
|
stop?: string[] | undefined;
|
|
441
|
-
greeting?: string | undefined;
|
|
442
|
-
spec?: string | null | undefined;
|
|
443
|
-
iconURL?: string | null | undefined;
|
|
444
|
-
expiredAt?: string | null | undefined;
|
|
445
421
|
fileTokenLimit?: string | number | undefined;
|
|
446
|
-
resendImages?: boolean | undefined;
|
|
447
|
-
chatGptLabel?: string | null | undefined;
|
|
448
422
|
presetId?: string | null | undefined;
|
|
449
423
|
defaultPreset?: boolean | undefined;
|
|
450
424
|
order?: number | undefined;
|
|
@@ -470,10 +444,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
470
444
|
endpoint: string | null;
|
|
471
445
|
conversationId?: string | null | undefined;
|
|
472
446
|
endpointType?: EModelEndpoint | null | undefined;
|
|
473
|
-
isArchived?: boolean | undefined;
|
|
474
447
|
title?: string | null | undefined;
|
|
475
|
-
user?: string | undefined;
|
|
476
|
-
messages?: string[] | undefined;
|
|
477
448
|
tools?: string[] | {
|
|
478
449
|
name: string;
|
|
479
450
|
pluginKey: string;
|
|
@@ -500,7 +471,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
500
471
|
top_p?: number | undefined;
|
|
501
472
|
frequency_penalty?: number | undefined;
|
|
502
473
|
presence_penalty?: number | undefined;
|
|
503
|
-
parentMessageId?: string | undefined;
|
|
504
474
|
maxOutputTokens?: number | null | undefined;
|
|
505
475
|
maxContextTokens?: number | undefined;
|
|
506
476
|
max_tokens?: number | undefined;
|
|
@@ -520,9 +490,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
520
490
|
content: string;
|
|
521
491
|
};
|
|
522
492
|
}[] | undefined;
|
|
523
|
-
tags?: string[] | undefined;
|
|
524
493
|
resendFiles?: boolean | undefined;
|
|
525
|
-
file_ids?: string[] | undefined;
|
|
526
494
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
527
495
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
528
496
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -563,15 +531,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
563
531
|
instructions?: string | undefined;
|
|
564
532
|
additional_instructions?: string | undefined;
|
|
565
533
|
append_current_datetime?: boolean | undefined;
|
|
566
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
567
534
|
stop?: string[] | undefined;
|
|
568
|
-
greeting?: string | undefined;
|
|
569
|
-
spec?: string | null | undefined;
|
|
570
|
-
iconURL?: string | null | undefined;
|
|
571
|
-
expiredAt?: string | null | undefined;
|
|
572
535
|
fileTokenLimit?: number | undefined;
|
|
573
|
-
resendImages?: boolean | undefined;
|
|
574
|
-
chatGptLabel?: string | null | undefined;
|
|
575
536
|
presetId?: string | null | undefined;
|
|
576
537
|
defaultPreset?: boolean | undefined;
|
|
577
538
|
order?: number | undefined;
|
|
@@ -597,10 +558,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
597
558
|
endpoint: string | null;
|
|
598
559
|
conversationId?: string | null | undefined;
|
|
599
560
|
endpointType?: EModelEndpoint | null | undefined;
|
|
600
|
-
isArchived?: boolean | undefined;
|
|
601
561
|
title?: string | null | undefined;
|
|
602
|
-
user?: string | undefined;
|
|
603
|
-
messages?: string[] | undefined;
|
|
604
562
|
tools?: string[] | {
|
|
605
563
|
name: string;
|
|
606
564
|
pluginKey: string;
|
|
@@ -627,7 +585,6 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
627
585
|
top_p?: number | undefined;
|
|
628
586
|
frequency_penalty?: number | undefined;
|
|
629
587
|
presence_penalty?: number | undefined;
|
|
630
|
-
parentMessageId?: string | undefined;
|
|
631
588
|
maxOutputTokens?: string | number | null | undefined;
|
|
632
589
|
maxContextTokens?: string | number | undefined;
|
|
633
590
|
max_tokens?: string | number | undefined;
|
|
@@ -647,9 +604,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
647
604
|
content: string;
|
|
648
605
|
};
|
|
649
606
|
}[] | undefined;
|
|
650
|
-
tags?: string[] | undefined;
|
|
651
607
|
resendFiles?: boolean | undefined;
|
|
652
|
-
file_ids?: string[] | undefined;
|
|
653
608
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
654
609
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
655
610
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -690,15 +645,8 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
690
645
|
instructions?: string | undefined;
|
|
691
646
|
additional_instructions?: string | undefined;
|
|
692
647
|
append_current_datetime?: boolean | undefined;
|
|
693
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
694
648
|
stop?: string[] | undefined;
|
|
695
|
-
greeting?: string | undefined;
|
|
696
|
-
spec?: string | null | undefined;
|
|
697
|
-
iconURL?: string | null | undefined;
|
|
698
|
-
expiredAt?: string | null | undefined;
|
|
699
649
|
fileTokenLimit?: string | number | undefined;
|
|
700
|
-
resendImages?: boolean | undefined;
|
|
701
|
-
chatGptLabel?: string | null | undefined;
|
|
702
650
|
presetId?: string | null | undefined;
|
|
703
651
|
defaultPreset?: boolean | undefined;
|
|
704
652
|
order?: number | undefined;
|
|
@@ -724,7 +672,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
724
672
|
list: z.ZodArray<z.ZodObject<{
|
|
725
673
|
name: z.ZodString;
|
|
726
674
|
label: z.ZodString;
|
|
727
|
-
preset: z.ZodObject<{
|
|
675
|
+
preset: z.ZodObject<Omit<{
|
|
728
676
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
729
677
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
730
678
|
user: z.ZodOptional<z.ZodString>;
|
|
@@ -920,14 +868,11 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
920
868
|
defaultPreset: z.ZodOptional<z.ZodBoolean>;
|
|
921
869
|
order: z.ZodOptional<z.ZodNumber>;
|
|
922
870
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
923
|
-
}, "strip", z.ZodTypeAny, {
|
|
871
|
+
}, "isArchived" | "user" | "messages" | "parentMessageId" | "tags" | "file_ids" | "presetOverride" | "greeting" | "spec" | "iconURL" | "expiredAt" | "resendImages" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
924
872
|
endpoint: string | null;
|
|
925
873
|
conversationId?: string | null | undefined;
|
|
926
874
|
endpointType?: EModelEndpoint | null | undefined;
|
|
927
|
-
isArchived?: boolean | undefined;
|
|
928
875
|
title?: string | null | undefined;
|
|
929
|
-
user?: string | undefined;
|
|
930
|
-
messages?: string[] | undefined;
|
|
931
876
|
tools?: string[] | {
|
|
932
877
|
name: string;
|
|
933
878
|
pluginKey: string;
|
|
@@ -954,7 +899,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
954
899
|
top_p?: number | undefined;
|
|
955
900
|
frequency_penalty?: number | undefined;
|
|
956
901
|
presence_penalty?: number | undefined;
|
|
957
|
-
parentMessageId?: string | undefined;
|
|
958
902
|
maxOutputTokens?: number | null | undefined;
|
|
959
903
|
maxContextTokens?: number | undefined;
|
|
960
904
|
max_tokens?: number | undefined;
|
|
@@ -974,9 +918,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
974
918
|
content: string;
|
|
975
919
|
};
|
|
976
920
|
}[] | undefined;
|
|
977
|
-
tags?: string[] | undefined;
|
|
978
921
|
resendFiles?: boolean | undefined;
|
|
979
|
-
file_ids?: string[] | undefined;
|
|
980
922
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
981
923
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
982
924
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1017,15 +959,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1017
959
|
instructions?: string | undefined;
|
|
1018
960
|
additional_instructions?: string | undefined;
|
|
1019
961
|
append_current_datetime?: boolean | undefined;
|
|
1020
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1021
962
|
stop?: string[] | undefined;
|
|
1022
|
-
greeting?: string | undefined;
|
|
1023
|
-
spec?: string | null | undefined;
|
|
1024
|
-
iconURL?: string | null | undefined;
|
|
1025
|
-
expiredAt?: string | null | undefined;
|
|
1026
963
|
fileTokenLimit?: number | undefined;
|
|
1027
|
-
resendImages?: boolean | undefined;
|
|
1028
|
-
chatGptLabel?: string | null | undefined;
|
|
1029
964
|
presetId?: string | null | undefined;
|
|
1030
965
|
defaultPreset?: boolean | undefined;
|
|
1031
966
|
order?: number | undefined;
|
|
@@ -1033,10 +968,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1033
968
|
endpoint: string | null;
|
|
1034
969
|
conversationId?: string | null | undefined;
|
|
1035
970
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1036
|
-
isArchived?: boolean | undefined;
|
|
1037
971
|
title?: string | null | undefined;
|
|
1038
|
-
user?: string | undefined;
|
|
1039
|
-
messages?: string[] | undefined;
|
|
1040
972
|
tools?: string[] | {
|
|
1041
973
|
name: string;
|
|
1042
974
|
pluginKey: string;
|
|
@@ -1063,7 +995,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1063
995
|
top_p?: number | undefined;
|
|
1064
996
|
frequency_penalty?: number | undefined;
|
|
1065
997
|
presence_penalty?: number | undefined;
|
|
1066
|
-
parentMessageId?: string | undefined;
|
|
1067
998
|
maxOutputTokens?: string | number | null | undefined;
|
|
1068
999
|
maxContextTokens?: string | number | undefined;
|
|
1069
1000
|
max_tokens?: string | number | undefined;
|
|
@@ -1083,9 +1014,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1083
1014
|
content: string;
|
|
1084
1015
|
};
|
|
1085
1016
|
}[] | undefined;
|
|
1086
|
-
tags?: string[] | undefined;
|
|
1087
1017
|
resendFiles?: boolean | undefined;
|
|
1088
|
-
file_ids?: string[] | undefined;
|
|
1089
1018
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1090
1019
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1091
1020
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1126,15 +1055,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1126
1055
|
instructions?: string | undefined;
|
|
1127
1056
|
additional_instructions?: string | undefined;
|
|
1128
1057
|
append_current_datetime?: boolean | undefined;
|
|
1129
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1130
1058
|
stop?: string[] | undefined;
|
|
1131
|
-
greeting?: string | undefined;
|
|
1132
|
-
spec?: string | null | undefined;
|
|
1133
|
-
iconURL?: string | null | undefined;
|
|
1134
|
-
expiredAt?: string | null | undefined;
|
|
1135
1059
|
fileTokenLimit?: string | number | undefined;
|
|
1136
|
-
resendImages?: boolean | undefined;
|
|
1137
|
-
chatGptLabel?: string | null | undefined;
|
|
1138
1060
|
presetId?: string | null | undefined;
|
|
1139
1061
|
defaultPreset?: boolean | undefined;
|
|
1140
1062
|
order?: number | undefined;
|
|
@@ -1160,10 +1082,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1160
1082
|
endpoint: string | null;
|
|
1161
1083
|
conversationId?: string | null | undefined;
|
|
1162
1084
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1163
|
-
isArchived?: boolean | undefined;
|
|
1164
1085
|
title?: string | null | undefined;
|
|
1165
|
-
user?: string | undefined;
|
|
1166
|
-
messages?: string[] | undefined;
|
|
1167
1086
|
tools?: string[] | {
|
|
1168
1087
|
name: string;
|
|
1169
1088
|
pluginKey: string;
|
|
@@ -1190,7 +1109,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1190
1109
|
top_p?: number | undefined;
|
|
1191
1110
|
frequency_penalty?: number | undefined;
|
|
1192
1111
|
presence_penalty?: number | undefined;
|
|
1193
|
-
parentMessageId?: string | undefined;
|
|
1194
1112
|
maxOutputTokens?: number | null | undefined;
|
|
1195
1113
|
maxContextTokens?: number | undefined;
|
|
1196
1114
|
max_tokens?: number | undefined;
|
|
@@ -1210,9 +1128,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1210
1128
|
content: string;
|
|
1211
1129
|
};
|
|
1212
1130
|
}[] | undefined;
|
|
1213
|
-
tags?: string[] | undefined;
|
|
1214
1131
|
resendFiles?: boolean | undefined;
|
|
1215
|
-
file_ids?: string[] | undefined;
|
|
1216
1132
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1217
1133
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1218
1134
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1253,15 +1169,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1253
1169
|
instructions?: string | undefined;
|
|
1254
1170
|
additional_instructions?: string | undefined;
|
|
1255
1171
|
append_current_datetime?: boolean | undefined;
|
|
1256
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1257
1172
|
stop?: string[] | undefined;
|
|
1258
|
-
greeting?: string | undefined;
|
|
1259
|
-
spec?: string | null | undefined;
|
|
1260
|
-
iconURL?: string | null | undefined;
|
|
1261
|
-
expiredAt?: string | null | undefined;
|
|
1262
1173
|
fileTokenLimit?: number | undefined;
|
|
1263
|
-
resendImages?: boolean | undefined;
|
|
1264
|
-
chatGptLabel?: string | null | undefined;
|
|
1265
1174
|
presetId?: string | null | undefined;
|
|
1266
1175
|
defaultPreset?: boolean | undefined;
|
|
1267
1176
|
order?: number | undefined;
|
|
@@ -1287,10 +1196,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1287
1196
|
endpoint: string | null;
|
|
1288
1197
|
conversationId?: string | null | undefined;
|
|
1289
1198
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1290
|
-
isArchived?: boolean | undefined;
|
|
1291
1199
|
title?: string | null | undefined;
|
|
1292
|
-
user?: string | undefined;
|
|
1293
|
-
messages?: string[] | undefined;
|
|
1294
1200
|
tools?: string[] | {
|
|
1295
1201
|
name: string;
|
|
1296
1202
|
pluginKey: string;
|
|
@@ -1317,7 +1223,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1317
1223
|
top_p?: number | undefined;
|
|
1318
1224
|
frequency_penalty?: number | undefined;
|
|
1319
1225
|
presence_penalty?: number | undefined;
|
|
1320
|
-
parentMessageId?: string | undefined;
|
|
1321
1226
|
maxOutputTokens?: string | number | null | undefined;
|
|
1322
1227
|
maxContextTokens?: string | number | undefined;
|
|
1323
1228
|
max_tokens?: string | number | undefined;
|
|
@@ -1337,9 +1242,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1337
1242
|
content: string;
|
|
1338
1243
|
};
|
|
1339
1244
|
}[] | undefined;
|
|
1340
|
-
tags?: string[] | undefined;
|
|
1341
1245
|
resendFiles?: boolean | undefined;
|
|
1342
|
-
file_ids?: string[] | undefined;
|
|
1343
1246
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1344
1247
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1345
1248
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1380,15 +1283,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1380
1283
|
instructions?: string | undefined;
|
|
1381
1284
|
additional_instructions?: string | undefined;
|
|
1382
1285
|
append_current_datetime?: boolean | undefined;
|
|
1383
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1384
1286
|
stop?: string[] | undefined;
|
|
1385
|
-
greeting?: string | undefined;
|
|
1386
|
-
spec?: string | null | undefined;
|
|
1387
|
-
iconURL?: string | null | undefined;
|
|
1388
|
-
expiredAt?: string | null | undefined;
|
|
1389
1287
|
fileTokenLimit?: string | number | undefined;
|
|
1390
|
-
resendImages?: boolean | undefined;
|
|
1391
|
-
chatGptLabel?: string | null | undefined;
|
|
1392
1288
|
presetId?: string | null | undefined;
|
|
1393
1289
|
defaultPreset?: boolean | undefined;
|
|
1394
1290
|
order?: number | undefined;
|
|
@@ -1419,10 +1315,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1419
1315
|
endpoint: string | null;
|
|
1420
1316
|
conversationId?: string | null | undefined;
|
|
1421
1317
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1422
|
-
isArchived?: boolean | undefined;
|
|
1423
1318
|
title?: string | null | undefined;
|
|
1424
|
-
user?: string | undefined;
|
|
1425
|
-
messages?: string[] | undefined;
|
|
1426
1319
|
tools?: string[] | {
|
|
1427
1320
|
name: string;
|
|
1428
1321
|
pluginKey: string;
|
|
@@ -1449,7 +1342,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1449
1342
|
top_p?: number | undefined;
|
|
1450
1343
|
frequency_penalty?: number | undefined;
|
|
1451
1344
|
presence_penalty?: number | undefined;
|
|
1452
|
-
parentMessageId?: string | undefined;
|
|
1453
1345
|
maxOutputTokens?: number | null | undefined;
|
|
1454
1346
|
maxContextTokens?: number | undefined;
|
|
1455
1347
|
max_tokens?: number | undefined;
|
|
@@ -1469,9 +1361,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1469
1361
|
content: string;
|
|
1470
1362
|
};
|
|
1471
1363
|
}[] | undefined;
|
|
1472
|
-
tags?: string[] | undefined;
|
|
1473
1364
|
resendFiles?: boolean | undefined;
|
|
1474
|
-
file_ids?: string[] | undefined;
|
|
1475
1365
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1476
1366
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1477
1367
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1512,15 +1402,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1512
1402
|
instructions?: string | undefined;
|
|
1513
1403
|
additional_instructions?: string | undefined;
|
|
1514
1404
|
append_current_datetime?: boolean | undefined;
|
|
1515
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1516
1405
|
stop?: string[] | undefined;
|
|
1517
|
-
greeting?: string | undefined;
|
|
1518
|
-
spec?: string | null | undefined;
|
|
1519
|
-
iconURL?: string | null | undefined;
|
|
1520
|
-
expiredAt?: string | null | undefined;
|
|
1521
1406
|
fileTokenLimit?: number | undefined;
|
|
1522
|
-
resendImages?: boolean | undefined;
|
|
1523
|
-
chatGptLabel?: string | null | undefined;
|
|
1524
1407
|
presetId?: string | null | undefined;
|
|
1525
1408
|
defaultPreset?: boolean | undefined;
|
|
1526
1409
|
order?: number | undefined;
|
|
@@ -1549,10 +1432,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1549
1432
|
endpoint: string | null;
|
|
1550
1433
|
conversationId?: string | null | undefined;
|
|
1551
1434
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1552
|
-
isArchived?: boolean | undefined;
|
|
1553
1435
|
title?: string | null | undefined;
|
|
1554
|
-
user?: string | undefined;
|
|
1555
|
-
messages?: string[] | undefined;
|
|
1556
1436
|
tools?: string[] | {
|
|
1557
1437
|
name: string;
|
|
1558
1438
|
pluginKey: string;
|
|
@@ -1579,7 +1459,6 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1579
1459
|
top_p?: number | undefined;
|
|
1580
1460
|
frequency_penalty?: number | undefined;
|
|
1581
1461
|
presence_penalty?: number | undefined;
|
|
1582
|
-
parentMessageId?: string | undefined;
|
|
1583
1462
|
maxOutputTokens?: string | number | null | undefined;
|
|
1584
1463
|
maxContextTokens?: string | number | undefined;
|
|
1585
1464
|
max_tokens?: string | number | undefined;
|
|
@@ -1599,9 +1478,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1599
1478
|
content: string;
|
|
1600
1479
|
};
|
|
1601
1480
|
}[] | undefined;
|
|
1602
|
-
tags?: string[] | undefined;
|
|
1603
1481
|
resendFiles?: boolean | undefined;
|
|
1604
|
-
file_ids?: string[] | undefined;
|
|
1605
1482
|
imageDetail?: import("./schemas").ImageDetail | undefined;
|
|
1606
1483
|
reasoning_effort?: import("./schemas").ReasoningEffort | null | undefined;
|
|
1607
1484
|
reasoning_summary?: import("./schemas").ReasoningSummary | null | undefined;
|
|
@@ -1642,15 +1519,8 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1642
1519
|
instructions?: string | undefined;
|
|
1643
1520
|
additional_instructions?: string | undefined;
|
|
1644
1521
|
append_current_datetime?: boolean | undefined;
|
|
1645
|
-
presetOverride?: Record<string, unknown> | undefined;
|
|
1646
1522
|
stop?: string[] | undefined;
|
|
1647
|
-
greeting?: string | undefined;
|
|
1648
|
-
spec?: string | null | undefined;
|
|
1649
|
-
iconURL?: string | null | undefined;
|
|
1650
|
-
expiredAt?: string | null | undefined;
|
|
1651
1523
|
fileTokenLimit?: string | number | undefined;
|
|
1652
|
-
resendImages?: boolean | undefined;
|
|
1653
|
-
chatGptLabel?: string | null | undefined;
|
|
1654
1524
|
presetId?: string | null | undefined;
|
|
1655
1525
|
defaultPreset?: boolean | undefined;
|
|
1656
1526
|
order?: number | undefined;
|