librechat-data-provider 0.8.502 → 0.8.504
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/data-service-BFGYAHRx.mjs +6519 -0
- package/dist/data-service-BFGYAHRx.mjs.map +1 -0
- package/dist/data-service-Dk-uLruo.js +8518 -0
- package/dist/data-service-Dk-uLruo.js.map +1 -0
- package/dist/index.js +6592 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6161 -0
- package/dist/index.mjs.map +1 -0
- package/dist/react-query/index.js +361 -0
- package/dist/react-query/index.js.map +1 -0
- package/dist/react-query/index.mjs +326 -0
- package/dist/react-query/index.mjs.map +1 -0
- package/dist/types/accessPermissions.d.ts +13 -10
- package/dist/types/actions.d.ts +2 -2
- package/dist/types/api-endpoints.d.ts +19 -10
- package/dist/types/bedrock.d.ts +258 -212
- package/dist/types/config.d.ts +4823 -2612
- package/dist/types/data-service.d.ts +28 -8
- package/dist/types/file-config.d.ts +12 -12
- package/dist/types/generate.d.ts +66 -53
- package/dist/types/keys.d.ts +7 -0
- package/dist/types/limits.d.ts +2 -0
- package/dist/types/mcp.d.ts +1774 -249
- package/dist/types/models.d.ts +347 -206
- package/dist/types/parameterSettings.d.ts +6 -0
- package/dist/types/parsers.d.ts +8 -8
- package/dist/types/permissions.d.ts +65 -9
- package/dist/types/react-query/react-query-service.d.ts +1 -31
- package/dist/types/request.d.ts +1 -1
- package/dist/types/roles.d.ts +52 -0
- package/dist/types/schemas.d.ts +409 -143
- package/dist/types/types/agents.d.ts +15 -1
- package/dist/types/types/files.d.ts +1 -1
- package/dist/types/types/mutations.d.ts +1 -0
- package/dist/types/types/queries.d.ts +16 -3
- package/dist/types/types/skills.d.ts +72 -9
- package/dist/types/types.d.ts +48 -5
- package/package.json +11 -13
- package/dist/index.es.js +0 -2
- package/dist/index.es.js.map +0 -1
- package/dist/react-query/index.es.js +0 -2
- package/dist/react-query/index.es.js.map +0 -1
- package/dist/types/balance.spec.d.ts +0 -1
- package/dist/types/cloudfront-config.spec.d.ts +0 -1
- package/dist/types/codeEnvRef.spec.d.ts +0 -1
- package/dist/types/config.spec.d.ts +0 -1
- package/dist/types/file-config.spec.d.ts +0 -1
- package/dist/types/roles.spec.d.ts +0 -1
- package/dist/types/schemas.spec.d.ts +0 -1
package/dist/types/schemas.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { Tools } from './types/assistants';
|
|
3
2
|
import type { TMessageContentParts, FunctionTool, FunctionToolCall } from './types/assistants';
|
|
4
|
-
import { TFeedback } from './feedback';
|
|
5
3
|
import type { SearchResultData } from './types/web';
|
|
6
4
|
import type { TFile } from './types/files';
|
|
5
|
+
import { TFeedback } from './feedback';
|
|
6
|
+
import { Tools } from './types/assistants';
|
|
7
7
|
export declare const isUUID: z.ZodString;
|
|
8
8
|
export declare enum AuthType {
|
|
9
9
|
OVERRIDE_AUTH = "override_auth",
|
|
@@ -79,6 +79,15 @@ export declare enum ReasoningEffort {
|
|
|
79
79
|
high = "high",
|
|
80
80
|
xhigh = "xhigh"
|
|
81
81
|
}
|
|
82
|
+
export declare enum ReasoningParameterFormat {
|
|
83
|
+
disabled = "disabled",
|
|
84
|
+
reasoningEffort = "reasoning_effort",
|
|
85
|
+
reasoningObject = "reasoning_object"
|
|
86
|
+
}
|
|
87
|
+
export declare enum ReasoningResponseKey {
|
|
88
|
+
reasoning = "reasoning",
|
|
89
|
+
reasoningContent = "reasoning_content"
|
|
90
|
+
}
|
|
82
91
|
export declare enum AnthropicEffort {
|
|
83
92
|
unset = "",
|
|
84
93
|
low = "low",
|
|
@@ -143,6 +152,8 @@ export declare const imageDetailValue: {
|
|
|
143
152
|
};
|
|
144
153
|
export declare const eImageDetailSchema: z.ZodNativeEnum<typeof ImageDetail>;
|
|
145
154
|
export declare const eReasoningEffortSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
|
|
155
|
+
export declare const eReasoningParameterFormatSchema: z.ZodNativeEnum<typeof ReasoningParameterFormat>;
|
|
156
|
+
export declare const eReasoningResponseKeySchema: z.ZodNativeEnum<typeof ReasoningResponseKey>;
|
|
146
157
|
export declare const eAnthropicEffortSchema: z.ZodNativeEnum<typeof AnthropicEffort>;
|
|
147
158
|
export declare const eThinkingDisplaySchema: z.ZodNativeEnum<typeof ThinkingDisplay>;
|
|
148
159
|
export declare const eReasoningSummarySchema: z.ZodNativeEnum<typeof ReasoningSummary>;
|
|
@@ -192,9 +203,9 @@ export declare const defaultAgentFormValues: {
|
|
|
192
203
|
skills_enabled: boolean | undefined;
|
|
193
204
|
/** `undefined` = feature disabled by default (no subagent tool injected). */
|
|
194
205
|
subagents: {
|
|
195
|
-
enabled?: boolean
|
|
196
|
-
allowSelf?: boolean
|
|
197
|
-
agent_ids?: string[]
|
|
206
|
+
enabled?: boolean;
|
|
207
|
+
allowSelf?: boolean;
|
|
208
|
+
agent_ids?: string[];
|
|
198
209
|
} | undefined;
|
|
199
210
|
};
|
|
200
211
|
export declare const ImageVisionTool: FunctionTool;
|
|
@@ -249,9 +260,11 @@ export declare const googleSettings: {
|
|
|
249
260
|
};
|
|
250
261
|
maxOutputTokens: {
|
|
251
262
|
min: 1;
|
|
252
|
-
max:
|
|
263
|
+
max: 65535;
|
|
253
264
|
step: 1;
|
|
254
265
|
default: 8192;
|
|
266
|
+
reset: (modelName: string) => number;
|
|
267
|
+
set: (value: number, modelName: string) => number;
|
|
255
268
|
};
|
|
256
269
|
temperature: {
|
|
257
270
|
min: 0;
|
|
@@ -287,6 +300,21 @@ export declare const googleSettings: {
|
|
|
287
300
|
default: ThinkingLevel.unset;
|
|
288
301
|
};
|
|
289
302
|
};
|
|
303
|
+
/**
|
|
304
|
+
* Claude "Mythos-class" model families — new top-level classes (peers of
|
|
305
|
+
* `opus`/`sonnet`/`haiku`) that ship with the post-Opus-4.7 modern profile:
|
|
306
|
+
* adaptive thinking always on, raw thinking omitted by default (summarized
|
|
307
|
+
* opt-in), sampling parameters rejected, and a 1M context window. The tier
|
|
308
|
+
* word is the class name itself, so the `opus`/`sonnet` version parsers don't
|
|
309
|
+
* cover them.
|
|
310
|
+
*
|
|
311
|
+
* Single source of truth: add a future sibling class name here and every
|
|
312
|
+
* Mythos-class gate (adaptive thinking, sampling omission, prompt caching, 1M
|
|
313
|
+
* context, 128K output) picks it up.
|
|
314
|
+
*/
|
|
315
|
+
export declare const MYTHOS_CLASS_FAMILIES: readonly ["fable", "mythos"];
|
|
316
|
+
/** Whether the model is a Claude Mythos-class model (e.g. `claude-fable-5`). */
|
|
317
|
+
export declare function isMythosClassModel(model: string): boolean;
|
|
290
318
|
export declare const anthropicSettings: {
|
|
291
319
|
model: {
|
|
292
320
|
default: "claude-3-5-sonnet-latest";
|
|
@@ -314,7 +342,7 @@ export declare const anthropicSettings: {
|
|
|
314
342
|
max: 128000;
|
|
315
343
|
step: 1;
|
|
316
344
|
default: 8192;
|
|
317
|
-
reset: (modelName: string) =>
|
|
345
|
+
reset: (modelName: string) => 8192 | 32000 | 128000 | 64000;
|
|
318
346
|
set: (value: number, modelName: string) => number;
|
|
319
347
|
};
|
|
320
348
|
topP: {
|
|
@@ -447,9 +475,11 @@ export declare const endpointSettings: {
|
|
|
447
475
|
};
|
|
448
476
|
maxOutputTokens: {
|
|
449
477
|
min: 1;
|
|
450
|
-
max:
|
|
478
|
+
max: 65535;
|
|
451
479
|
step: 1;
|
|
452
480
|
default: 8192;
|
|
481
|
+
reset: (modelName: string) => number;
|
|
482
|
+
set: (value: number, modelName: string) => number;
|
|
453
483
|
};
|
|
454
484
|
temperature: {
|
|
455
485
|
min: 0;
|
|
@@ -512,7 +542,7 @@ export declare const endpointSettings: {
|
|
|
512
542
|
max: 128000;
|
|
513
543
|
step: 1;
|
|
514
544
|
default: 8192;
|
|
515
|
-
reset: (modelName: string) =>
|
|
545
|
+
reset: (modelName: string) => 8192 | 32000 | 128000 | 64000;
|
|
516
546
|
set: (value: number, modelName: string) => number;
|
|
517
547
|
};
|
|
518
548
|
topP: {
|
|
@@ -643,16 +673,20 @@ export declare const tPluginAuthConfigSchema: z.ZodObject<{
|
|
|
643
673
|
label: z.ZodString;
|
|
644
674
|
description: z.ZodString;
|
|
645
675
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
676
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
677
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
646
678
|
}, "strip", z.ZodTypeAny, {
|
|
647
679
|
description: string;
|
|
648
680
|
authField: string;
|
|
649
681
|
label: string;
|
|
650
682
|
optional?: boolean | undefined;
|
|
683
|
+
sensitive?: boolean | undefined;
|
|
651
684
|
}, {
|
|
652
685
|
description: string;
|
|
653
686
|
authField: string;
|
|
654
687
|
label: string;
|
|
655
688
|
optional?: boolean | undefined;
|
|
689
|
+
sensitive?: boolean | undefined;
|
|
656
690
|
}>;
|
|
657
691
|
export type TPluginAuthConfig = z.infer<typeof tPluginAuthConfigSchema>;
|
|
658
692
|
export declare const tPluginSchema: z.ZodObject<{
|
|
@@ -665,16 +699,20 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
665
699
|
label: z.ZodString;
|
|
666
700
|
description: z.ZodString;
|
|
667
701
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
702
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
703
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
668
704
|
}, "strip", z.ZodTypeAny, {
|
|
669
705
|
description: string;
|
|
670
706
|
authField: string;
|
|
671
707
|
label: string;
|
|
672
708
|
optional?: boolean | undefined;
|
|
709
|
+
sensitive?: boolean | undefined;
|
|
673
710
|
}, {
|
|
674
711
|
description: string;
|
|
675
712
|
authField: string;
|
|
676
713
|
label: string;
|
|
677
714
|
optional?: boolean | undefined;
|
|
715
|
+
sensitive?: boolean | undefined;
|
|
678
716
|
}>, "many">>;
|
|
679
717
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
680
718
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -690,6 +728,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
690
728
|
authField: string;
|
|
691
729
|
label: string;
|
|
692
730
|
optional?: boolean | undefined;
|
|
731
|
+
sensitive?: boolean | undefined;
|
|
693
732
|
}[] | undefined;
|
|
694
733
|
authenticated?: boolean | undefined;
|
|
695
734
|
chatMenu?: boolean | undefined;
|
|
@@ -705,6 +744,7 @@ export declare const tPluginSchema: z.ZodObject<{
|
|
|
705
744
|
authField: string;
|
|
706
745
|
label: string;
|
|
707
746
|
optional?: boolean | undefined;
|
|
747
|
+
sensitive?: boolean | undefined;
|
|
708
748
|
}[] | undefined;
|
|
709
749
|
authenticated?: boolean | undefined;
|
|
710
750
|
chatMenu?: boolean | undefined;
|
|
@@ -762,6 +802,8 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
762
802
|
/** @deprecated */
|
|
763
803
|
generation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
764
804
|
isCreatedByUser: z.ZodBoolean;
|
|
805
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
806
|
+
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
765
807
|
error: z.ZodOptional<z.ZodBoolean>;
|
|
766
808
|
clientTimestamp: z.ZodOptional<z.ZodString>;
|
|
767
809
|
createdAt: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -815,30 +857,32 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
815
857
|
*/
|
|
816
858
|
alwaysAppliedSkills: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
817
859
|
}, "strip", z.ZodTypeAny, {
|
|
818
|
-
messageId: string;
|
|
819
860
|
conversationId: string | null;
|
|
820
|
-
parentMessageId: string | null;
|
|
821
861
|
title: string | null;
|
|
822
|
-
|
|
823
|
-
isCreatedByUser: boolean;
|
|
862
|
+
parentMessageId: string | null;
|
|
824
863
|
createdAt: string;
|
|
825
864
|
updatedAt: string;
|
|
865
|
+
text: string;
|
|
866
|
+
messageId: string;
|
|
867
|
+
isCreatedByUser: boolean;
|
|
868
|
+
model?: string | null | undefined;
|
|
826
869
|
endpoint?: string | undefined;
|
|
870
|
+
iconURL?: string | null | undefined;
|
|
871
|
+
expiredAt?: string | null | undefined;
|
|
872
|
+
isTemporary?: boolean | undefined;
|
|
873
|
+
error?: boolean | undefined;
|
|
827
874
|
clientId?: string | null | undefined;
|
|
828
875
|
responseMessageId?: string | null | undefined;
|
|
829
876
|
overrideParentMessageId?: string | null | undefined;
|
|
830
877
|
bg?: string | null | undefined;
|
|
831
|
-
model?: string | null | undefined;
|
|
832
878
|
sender?: string | undefined;
|
|
833
879
|
generation?: string | null | undefined;
|
|
834
|
-
error?: boolean | undefined;
|
|
835
880
|
clientTimestamp?: string | undefined;
|
|
836
881
|
current?: boolean | undefined;
|
|
837
882
|
unfinished?: boolean | undefined;
|
|
838
883
|
searchResult?: boolean | undefined;
|
|
839
884
|
finish_reason?: string | undefined;
|
|
840
885
|
thread_id?: string | undefined;
|
|
841
|
-
iconURL?: string | null | undefined;
|
|
842
886
|
feedback?: {
|
|
843
887
|
rating: "thumbsUp" | "thumbsDown";
|
|
844
888
|
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
@@ -852,30 +896,32 @@ export declare const tMessageSchema: z.ZodObject<{
|
|
|
852
896
|
manualSkills?: string[] | undefined;
|
|
853
897
|
alwaysAppliedSkills?: string[] | undefined;
|
|
854
898
|
}, {
|
|
855
|
-
messageId: string;
|
|
856
899
|
conversationId: string | null;
|
|
857
900
|
parentMessageId: string | null;
|
|
858
901
|
text: string;
|
|
902
|
+
messageId: string;
|
|
859
903
|
isCreatedByUser: boolean;
|
|
904
|
+
model?: string | null | undefined;
|
|
860
905
|
endpoint?: string | undefined;
|
|
906
|
+
title?: string | null | undefined;
|
|
907
|
+
createdAt?: string | undefined;
|
|
908
|
+
updatedAt?: string | undefined;
|
|
909
|
+
iconURL?: string | null | undefined;
|
|
910
|
+
expiredAt?: string | null | undefined;
|
|
911
|
+
isTemporary?: boolean | undefined;
|
|
912
|
+
error?: boolean | undefined;
|
|
861
913
|
clientId?: string | null | undefined;
|
|
862
914
|
responseMessageId?: string | null | undefined;
|
|
863
915
|
overrideParentMessageId?: string | null | undefined;
|
|
864
916
|
bg?: string | null | undefined;
|
|
865
|
-
model?: string | null | undefined;
|
|
866
|
-
title?: string | null | undefined;
|
|
867
917
|
sender?: string | undefined;
|
|
868
918
|
generation?: string | null | undefined;
|
|
869
|
-
error?: boolean | undefined;
|
|
870
919
|
clientTimestamp?: string | undefined;
|
|
871
|
-
createdAt?: string | undefined;
|
|
872
|
-
updatedAt?: string | undefined;
|
|
873
920
|
current?: boolean | undefined;
|
|
874
921
|
unfinished?: boolean | undefined;
|
|
875
922
|
searchResult?: boolean | undefined;
|
|
876
923
|
finish_reason?: string | undefined;
|
|
877
924
|
thread_id?: string | undefined;
|
|
878
|
-
iconURL?: string | null | undefined;
|
|
879
925
|
feedback?: {
|
|
880
926
|
rating: "thumbsUp" | "thumbsDown";
|
|
881
927
|
tag: "not_matched" | "inaccurate" | "bad_style" | "missing_image" | "unjustified_refusal" | "not_helpful" | "other" | "accurate_reliable" | "creative_solution" | "clear_well_written" | "attention_to_detail";
|
|
@@ -946,16 +992,20 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
946
992
|
label: z.ZodString;
|
|
947
993
|
description: z.ZodString;
|
|
948
994
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
995
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
996
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
949
997
|
}, "strip", z.ZodTypeAny, {
|
|
950
998
|
description: string;
|
|
951
999
|
authField: string;
|
|
952
1000
|
label: string;
|
|
953
1001
|
optional?: boolean | undefined;
|
|
1002
|
+
sensitive?: boolean | undefined;
|
|
954
1003
|
}, {
|
|
955
1004
|
description: string;
|
|
956
1005
|
authField: string;
|
|
957
1006
|
label: string;
|
|
958
1007
|
optional?: boolean | undefined;
|
|
1008
|
+
sensitive?: boolean | undefined;
|
|
959
1009
|
}>, "many">>;
|
|
960
1010
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
961
1011
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -971,6 +1021,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
971
1021
|
authField: string;
|
|
972
1022
|
label: string;
|
|
973
1023
|
optional?: boolean | undefined;
|
|
1024
|
+
sensitive?: boolean | undefined;
|
|
974
1025
|
}[] | undefined;
|
|
975
1026
|
authenticated?: boolean | undefined;
|
|
976
1027
|
chatMenu?: boolean | undefined;
|
|
@@ -986,6 +1037,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
986
1037
|
authField: string;
|
|
987
1038
|
label: string;
|
|
988
1039
|
optional?: boolean | undefined;
|
|
1040
|
+
sensitive?: boolean | undefined;
|
|
989
1041
|
}[] | undefined;
|
|
990
1042
|
authenticated?: boolean | undefined;
|
|
991
1043
|
chatMenu?: boolean | undefined;
|
|
@@ -1045,6 +1097,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1045
1097
|
};
|
|
1046
1098
|
}>, "many">>;
|
|
1047
1099
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1100
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1048
1101
|
createdAt: z.ZodString;
|
|
1049
1102
|
updatedAt: z.ZodString;
|
|
1050
1103
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1073,22 +1126,21 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1073
1126
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1074
1127
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1075
1128
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1129
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
1076
1130
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1077
1131
|
/** @deprecated */
|
|
1078
1132
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1079
1133
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
1080
1134
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1081
1135
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
endpoint: EModelEndpoint | null;
|
|
1083
1136
|
conversationId: string | null;
|
|
1137
|
+
endpoint: EModelEndpoint | null;
|
|
1084
1138
|
title: string | null;
|
|
1085
1139
|
createdAt: string;
|
|
1086
1140
|
updatedAt: string;
|
|
1087
|
-
parentMessageId?: string | undefined;
|
|
1088
|
-
model?: string | null | undefined;
|
|
1089
|
-
iconURL?: string | null | undefined;
|
|
1090
1141
|
user?: string | undefined;
|
|
1091
|
-
|
|
1142
|
+
tags?: string[] | undefined;
|
|
1143
|
+
model?: string | null | undefined;
|
|
1092
1144
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1093
1145
|
isArchived?: boolean | undefined;
|
|
1094
1146
|
messages?: string[] | undefined;
|
|
@@ -1102,6 +1154,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1102
1154
|
authField: string;
|
|
1103
1155
|
label: string;
|
|
1104
1156
|
optional?: boolean | undefined;
|
|
1157
|
+
sensitive?: boolean | undefined;
|
|
1105
1158
|
}[] | undefined;
|
|
1106
1159
|
authenticated?: boolean | undefined;
|
|
1107
1160
|
chatMenu?: boolean | undefined;
|
|
@@ -1117,6 +1170,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1117
1170
|
top_p?: number | undefined;
|
|
1118
1171
|
frequency_penalty?: number | undefined;
|
|
1119
1172
|
presence_penalty?: number | undefined;
|
|
1173
|
+
parentMessageId?: string | undefined;
|
|
1120
1174
|
maxOutputTokens?: number | null | undefined;
|
|
1121
1175
|
maxContextTokens?: number | undefined;
|
|
1122
1176
|
max_tokens?: number | undefined;
|
|
@@ -1127,6 +1181,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1127
1181
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1128
1182
|
stream?: boolean | undefined;
|
|
1129
1183
|
artifacts?: string | undefined;
|
|
1184
|
+
context?: string | null | undefined;
|
|
1130
1185
|
examples?: {
|
|
1131
1186
|
input: {
|
|
1132
1187
|
content: string;
|
|
@@ -1135,7 +1190,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1135
1190
|
content: string;
|
|
1136
1191
|
};
|
|
1137
1192
|
}[] | undefined;
|
|
1138
|
-
|
|
1193
|
+
chatProjectId?: string | null | undefined;
|
|
1139
1194
|
resendFiles?: boolean | undefined;
|
|
1140
1195
|
file_ids?: string[] | undefined;
|
|
1141
1196
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1159,23 +1214,23 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1159
1214
|
stop?: string[] | undefined;
|
|
1160
1215
|
greeting?: string | undefined;
|
|
1161
1216
|
spec?: string | null | undefined;
|
|
1217
|
+
iconURL?: string | null | undefined;
|
|
1162
1218
|
expiredAt?: string | null | undefined;
|
|
1219
|
+
isTemporary?: boolean | undefined;
|
|
1163
1220
|
fileTokenLimit?: number | undefined;
|
|
1164
1221
|
resendImages?: boolean | undefined;
|
|
1165
1222
|
chatGptLabel?: string | null | undefined;
|
|
1166
1223
|
}, {
|
|
1167
|
-
endpoint: EModelEndpoint | null;
|
|
1168
1224
|
conversationId: string | null;
|
|
1225
|
+
endpoint: EModelEndpoint | null;
|
|
1169
1226
|
createdAt: string;
|
|
1170
1227
|
updatedAt: string;
|
|
1171
|
-
parentMessageId?: string | undefined;
|
|
1172
|
-
model?: string | null | undefined;
|
|
1173
|
-
title?: string | null | undefined;
|
|
1174
|
-
iconURL?: string | null | undefined;
|
|
1175
1228
|
user?: string | undefined;
|
|
1176
|
-
|
|
1229
|
+
tags?: string[] | undefined;
|
|
1230
|
+
model?: string | null | undefined;
|
|
1177
1231
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1178
1232
|
isArchived?: boolean | undefined;
|
|
1233
|
+
title?: string | null | undefined;
|
|
1179
1234
|
messages?: string[] | undefined;
|
|
1180
1235
|
tools?: string[] | {
|
|
1181
1236
|
name: string;
|
|
@@ -1187,6 +1242,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1187
1242
|
authField: string;
|
|
1188
1243
|
label: string;
|
|
1189
1244
|
optional?: boolean | undefined;
|
|
1245
|
+
sensitive?: boolean | undefined;
|
|
1190
1246
|
}[] | undefined;
|
|
1191
1247
|
authenticated?: boolean | undefined;
|
|
1192
1248
|
chatMenu?: boolean | undefined;
|
|
@@ -1202,6 +1258,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1202
1258
|
top_p?: number | undefined;
|
|
1203
1259
|
frequency_penalty?: number | undefined;
|
|
1204
1260
|
presence_penalty?: number | undefined;
|
|
1261
|
+
parentMessageId?: string | undefined;
|
|
1205
1262
|
maxOutputTokens?: string | number | null | undefined;
|
|
1206
1263
|
maxContextTokens?: string | number | undefined;
|
|
1207
1264
|
max_tokens?: string | number | undefined;
|
|
@@ -1212,6 +1269,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1212
1269
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1213
1270
|
stream?: boolean | undefined;
|
|
1214
1271
|
artifacts?: string | undefined;
|
|
1272
|
+
context?: string | null | undefined;
|
|
1215
1273
|
examples?: {
|
|
1216
1274
|
input: {
|
|
1217
1275
|
content: string;
|
|
@@ -1220,7 +1278,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1220
1278
|
content: string;
|
|
1221
1279
|
};
|
|
1222
1280
|
}[] | undefined;
|
|
1223
|
-
|
|
1281
|
+
chatProjectId?: string | null | undefined;
|
|
1224
1282
|
resendFiles?: boolean | undefined;
|
|
1225
1283
|
file_ids?: string[] | undefined;
|
|
1226
1284
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1244,17 +1302,17 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1244
1302
|
stop?: string[] | undefined;
|
|
1245
1303
|
greeting?: string | undefined;
|
|
1246
1304
|
spec?: string | null | undefined;
|
|
1305
|
+
iconURL?: string | null | undefined;
|
|
1247
1306
|
expiredAt?: string | null | undefined;
|
|
1307
|
+
isTemporary?: boolean | undefined;
|
|
1248
1308
|
fileTokenLimit?: string | number | undefined;
|
|
1249
1309
|
resendImages?: boolean | undefined;
|
|
1250
1310
|
chatGptLabel?: string | null | undefined;
|
|
1251
1311
|
}>;
|
|
1252
1312
|
export declare const tPresetSchema: z.ZodObject<{
|
|
1253
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
1254
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1255
|
-
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1256
1313
|
user: z.ZodOptional<z.ZodString>;
|
|
1257
|
-
|
|
1314
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1315
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1258
1316
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
1259
1317
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
1260
1318
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -1268,16 +1326,20 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1268
1326
|
label: z.ZodString;
|
|
1269
1327
|
description: z.ZodString;
|
|
1270
1328
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1329
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
1330
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1271
1331
|
}, "strip", z.ZodTypeAny, {
|
|
1272
1332
|
description: string;
|
|
1273
1333
|
authField: string;
|
|
1274
1334
|
label: string;
|
|
1275
1335
|
optional?: boolean | undefined;
|
|
1336
|
+
sensitive?: boolean | undefined;
|
|
1276
1337
|
}, {
|
|
1277
1338
|
description: string;
|
|
1278
1339
|
authField: string;
|
|
1279
1340
|
label: string;
|
|
1280
1341
|
optional?: boolean | undefined;
|
|
1342
|
+
sensitive?: boolean | undefined;
|
|
1281
1343
|
}>, "many">>;
|
|
1282
1344
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1283
1345
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1293,6 +1355,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1293
1355
|
authField: string;
|
|
1294
1356
|
label: string;
|
|
1295
1357
|
optional?: boolean | undefined;
|
|
1358
|
+
sensitive?: boolean | undefined;
|
|
1296
1359
|
}[] | undefined;
|
|
1297
1360
|
authenticated?: boolean | undefined;
|
|
1298
1361
|
chatMenu?: boolean | undefined;
|
|
@@ -1308,6 +1371,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1308
1371
|
authField: string;
|
|
1309
1372
|
label: string;
|
|
1310
1373
|
optional?: boolean | undefined;
|
|
1374
|
+
sensitive?: boolean | undefined;
|
|
1311
1375
|
}[] | undefined;
|
|
1312
1376
|
authenticated?: boolean | undefined;
|
|
1313
1377
|
chatMenu?: boolean | undefined;
|
|
@@ -1323,6 +1387,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1323
1387
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
1324
1388
|
frequency_penalty: z.ZodOptional<z.ZodNumber>;
|
|
1325
1389
|
presence_penalty: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
1326
1391
|
maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
|
|
1327
1392
|
maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1328
1393
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
@@ -1333,6 +1398,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1333
1398
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
|
|
1334
1399
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
1335
1400
|
artifacts: z.ZodOptional<z.ZodString>;
|
|
1401
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1336
1402
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1337
1403
|
input: z.ZodObject<{
|
|
1338
1404
|
content: z.ZodString;
|
|
@@ -1363,7 +1429,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1363
1429
|
content: string;
|
|
1364
1430
|
};
|
|
1365
1431
|
}>, "many">>;
|
|
1366
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1367
1432
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1368
1433
|
file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1369
1434
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
@@ -1387,7 +1452,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1387
1452
|
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1388
1453
|
greeting: z.ZodOptional<z.ZodString>;
|
|
1389
1454
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
|
+
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
1456
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
1391
1458
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1392
1459
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1393
1460
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1400,15 +1467,13 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1400
1467
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
1401
1468
|
}, "strip", z.ZodTypeAny, {
|
|
1402
1469
|
endpoint: string | null;
|
|
1403
|
-
conversationId?: string | null | undefined;
|
|
1404
|
-
parentMessageId?: string | undefined;
|
|
1405
|
-
model?: string | null | undefined;
|
|
1406
|
-
title?: string | null | undefined;
|
|
1407
|
-
iconURL?: string | null | undefined;
|
|
1408
1470
|
user?: string | undefined;
|
|
1409
|
-
|
|
1471
|
+
tags?: string[] | undefined;
|
|
1472
|
+
model?: string | null | undefined;
|
|
1473
|
+
conversationId?: string | null | undefined;
|
|
1410
1474
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1411
1475
|
isArchived?: boolean | undefined;
|
|
1476
|
+
title?: string | null | undefined;
|
|
1412
1477
|
messages?: string[] | undefined;
|
|
1413
1478
|
tools?: string[] | {
|
|
1414
1479
|
name: string;
|
|
@@ -1420,6 +1485,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1420
1485
|
authField: string;
|
|
1421
1486
|
label: string;
|
|
1422
1487
|
optional?: boolean | undefined;
|
|
1488
|
+
sensitive?: boolean | undefined;
|
|
1423
1489
|
}[] | undefined;
|
|
1424
1490
|
authenticated?: boolean | undefined;
|
|
1425
1491
|
chatMenu?: boolean | undefined;
|
|
@@ -1435,6 +1501,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1435
1501
|
top_p?: number | undefined;
|
|
1436
1502
|
frequency_penalty?: number | undefined;
|
|
1437
1503
|
presence_penalty?: number | undefined;
|
|
1504
|
+
parentMessageId?: string | undefined;
|
|
1438
1505
|
maxOutputTokens?: number | null | undefined;
|
|
1439
1506
|
maxContextTokens?: number | undefined;
|
|
1440
1507
|
max_tokens?: number | undefined;
|
|
@@ -1445,6 +1512,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1445
1512
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1446
1513
|
stream?: boolean | undefined;
|
|
1447
1514
|
artifacts?: string | undefined;
|
|
1515
|
+
context?: string | null | undefined;
|
|
1448
1516
|
examples?: {
|
|
1449
1517
|
input: {
|
|
1450
1518
|
content: string;
|
|
@@ -1453,7 +1521,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1453
1521
|
content: string;
|
|
1454
1522
|
};
|
|
1455
1523
|
}[] | undefined;
|
|
1456
|
-
tags?: string[] | undefined;
|
|
1457
1524
|
resendFiles?: boolean | undefined;
|
|
1458
1525
|
file_ids?: string[] | undefined;
|
|
1459
1526
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1477,7 +1544,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1477
1544
|
stop?: string[] | undefined;
|
|
1478
1545
|
greeting?: string | undefined;
|
|
1479
1546
|
spec?: string | null | undefined;
|
|
1547
|
+
iconURL?: string | null | undefined;
|
|
1480
1548
|
expiredAt?: string | null | undefined;
|
|
1549
|
+
isTemporary?: boolean | undefined;
|
|
1481
1550
|
fileTokenLimit?: number | undefined;
|
|
1482
1551
|
resendImages?: boolean | undefined;
|
|
1483
1552
|
chatGptLabel?: string | null | undefined;
|
|
@@ -1486,15 +1555,13 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1486
1555
|
order?: number | undefined;
|
|
1487
1556
|
}, {
|
|
1488
1557
|
endpoint: string | null;
|
|
1489
|
-
conversationId?: string | null | undefined;
|
|
1490
|
-
parentMessageId?: string | undefined;
|
|
1491
|
-
model?: string | null | undefined;
|
|
1492
|
-
title?: string | null | undefined;
|
|
1493
|
-
iconURL?: string | null | undefined;
|
|
1494
1558
|
user?: string | undefined;
|
|
1495
|
-
|
|
1559
|
+
tags?: string[] | undefined;
|
|
1560
|
+
model?: string | null | undefined;
|
|
1561
|
+
conversationId?: string | null | undefined;
|
|
1496
1562
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1497
1563
|
isArchived?: boolean | undefined;
|
|
1564
|
+
title?: string | null | undefined;
|
|
1498
1565
|
messages?: string[] | undefined;
|
|
1499
1566
|
tools?: string[] | {
|
|
1500
1567
|
name: string;
|
|
@@ -1506,6 +1573,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1506
1573
|
authField: string;
|
|
1507
1574
|
label: string;
|
|
1508
1575
|
optional?: boolean | undefined;
|
|
1576
|
+
sensitive?: boolean | undefined;
|
|
1509
1577
|
}[] | undefined;
|
|
1510
1578
|
authenticated?: boolean | undefined;
|
|
1511
1579
|
chatMenu?: boolean | undefined;
|
|
@@ -1521,6 +1589,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1521
1589
|
top_p?: number | undefined;
|
|
1522
1590
|
frequency_penalty?: number | undefined;
|
|
1523
1591
|
presence_penalty?: number | undefined;
|
|
1592
|
+
parentMessageId?: string | undefined;
|
|
1524
1593
|
maxOutputTokens?: string | number | null | undefined;
|
|
1525
1594
|
maxContextTokens?: string | number | undefined;
|
|
1526
1595
|
max_tokens?: string | number | undefined;
|
|
@@ -1531,6 +1600,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1531
1600
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1532
1601
|
stream?: boolean | undefined;
|
|
1533
1602
|
artifacts?: string | undefined;
|
|
1603
|
+
context?: string | null | undefined;
|
|
1534
1604
|
examples?: {
|
|
1535
1605
|
input: {
|
|
1536
1606
|
content: string;
|
|
@@ -1539,7 +1609,6 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1539
1609
|
content: string;
|
|
1540
1610
|
};
|
|
1541
1611
|
}[] | undefined;
|
|
1542
|
-
tags?: string[] | undefined;
|
|
1543
1612
|
resendFiles?: boolean | undefined;
|
|
1544
1613
|
file_ids?: string[] | undefined;
|
|
1545
1614
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1563,7 +1632,9 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1563
1632
|
stop?: string[] | undefined;
|
|
1564
1633
|
greeting?: string | undefined;
|
|
1565
1634
|
spec?: string | null | undefined;
|
|
1635
|
+
iconURL?: string | null | undefined;
|
|
1566
1636
|
expiredAt?: string | null | undefined;
|
|
1637
|
+
isTemporary?: boolean | undefined;
|
|
1567
1638
|
fileTokenLimit?: string | number | undefined;
|
|
1568
1639
|
resendImages?: boolean | undefined;
|
|
1569
1640
|
chatGptLabel?: string | null | undefined;
|
|
@@ -1588,16 +1659,20 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1588
1659
|
label: z.ZodString;
|
|
1589
1660
|
description: z.ZodString;
|
|
1590
1661
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1662
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
1663
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1591
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1592
1665
|
description: string;
|
|
1593
1666
|
authField: string;
|
|
1594
1667
|
label: string;
|
|
1595
1668
|
optional?: boolean | undefined;
|
|
1669
|
+
sensitive?: boolean | undefined;
|
|
1596
1670
|
}, {
|
|
1597
1671
|
description: string;
|
|
1598
1672
|
authField: string;
|
|
1599
1673
|
label: string;
|
|
1600
1674
|
optional?: boolean | undefined;
|
|
1675
|
+
sensitive?: boolean | undefined;
|
|
1601
1676
|
}>, "many">>;
|
|
1602
1677
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1603
1678
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1613,6 +1688,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1613
1688
|
authField: string;
|
|
1614
1689
|
label: string;
|
|
1615
1690
|
optional?: boolean | undefined;
|
|
1691
|
+
sensitive?: boolean | undefined;
|
|
1616
1692
|
}[] | undefined;
|
|
1617
1693
|
authenticated?: boolean | undefined;
|
|
1618
1694
|
chatMenu?: boolean | undefined;
|
|
@@ -1628,6 +1704,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1628
1704
|
authField: string;
|
|
1629
1705
|
label: string;
|
|
1630
1706
|
optional?: boolean | undefined;
|
|
1707
|
+
sensitive?: boolean | undefined;
|
|
1631
1708
|
}[] | undefined;
|
|
1632
1709
|
authenticated?: boolean | undefined;
|
|
1633
1710
|
chatMenu?: boolean | undefined;
|
|
@@ -1687,6 +1764,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1687
1764
|
};
|
|
1688
1765
|
}>, "many">>;
|
|
1689
1766
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1767
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1690
1768
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
1691
1769
|
file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1692
1770
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
@@ -1712,6 +1790,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1712
1790
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1713
1791
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1714
1792
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1793
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
1715
1794
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1716
1795
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1717
1796
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1720,16 +1799,12 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1720
1799
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1721
1800
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1722
1801
|
}, "strip", z.ZodTypeAny, {
|
|
1723
|
-
endpoint: string | null;
|
|
1724
1802
|
conversationId: string | null;
|
|
1803
|
+
endpoint: string | null;
|
|
1725
1804
|
title: string | null;
|
|
1726
|
-
parentMessageId?: string | undefined;
|
|
1727
|
-
model?: string | null | undefined;
|
|
1728
|
-
createdAt?: string | undefined;
|
|
1729
|
-
updatedAt?: string | undefined;
|
|
1730
|
-
iconURL?: string | null | undefined;
|
|
1731
1805
|
user?: string | undefined;
|
|
1732
|
-
|
|
1806
|
+
tags?: string[] | undefined;
|
|
1807
|
+
model?: string | null | undefined;
|
|
1733
1808
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1734
1809
|
isArchived?: boolean | undefined;
|
|
1735
1810
|
messages?: string[] | undefined;
|
|
@@ -1743,6 +1818,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1743
1818
|
authField: string;
|
|
1744
1819
|
label: string;
|
|
1745
1820
|
optional?: boolean | undefined;
|
|
1821
|
+
sensitive?: boolean | undefined;
|
|
1746
1822
|
}[] | undefined;
|
|
1747
1823
|
authenticated?: boolean | undefined;
|
|
1748
1824
|
chatMenu?: boolean | undefined;
|
|
@@ -1758,6 +1834,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1758
1834
|
top_p?: number | undefined;
|
|
1759
1835
|
frequency_penalty?: number | undefined;
|
|
1760
1836
|
presence_penalty?: number | undefined;
|
|
1837
|
+
parentMessageId?: string | undefined;
|
|
1761
1838
|
maxOutputTokens?: number | null | undefined;
|
|
1762
1839
|
maxContextTokens?: number | undefined;
|
|
1763
1840
|
max_tokens?: number | undefined;
|
|
@@ -1768,6 +1845,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1768
1845
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1769
1846
|
stream?: boolean | undefined;
|
|
1770
1847
|
artifacts?: string | undefined;
|
|
1848
|
+
context?: string | null | undefined;
|
|
1771
1849
|
examples?: {
|
|
1772
1850
|
input: {
|
|
1773
1851
|
content: string;
|
|
@@ -1776,7 +1854,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1776
1854
|
content: string;
|
|
1777
1855
|
};
|
|
1778
1856
|
}[] | undefined;
|
|
1779
|
-
|
|
1857
|
+
chatProjectId?: string | null | undefined;
|
|
1858
|
+
createdAt?: string | undefined;
|
|
1859
|
+
updatedAt?: string | undefined;
|
|
1780
1860
|
resendFiles?: boolean | undefined;
|
|
1781
1861
|
file_ids?: string[] | undefined;
|
|
1782
1862
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1800,23 +1880,21 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1800
1880
|
stop?: string[] | undefined;
|
|
1801
1881
|
greeting?: string | undefined;
|
|
1802
1882
|
spec?: string | null | undefined;
|
|
1883
|
+
iconURL?: string | null | undefined;
|
|
1803
1884
|
expiredAt?: string | null | undefined;
|
|
1885
|
+
isTemporary?: boolean | undefined;
|
|
1804
1886
|
fileTokenLimit?: number | undefined;
|
|
1805
1887
|
resendImages?: boolean | undefined;
|
|
1806
1888
|
chatGptLabel?: string | null | undefined;
|
|
1807
1889
|
}, {
|
|
1808
|
-
endpoint: string | null;
|
|
1809
1890
|
conversationId: string | null;
|
|
1810
|
-
|
|
1811
|
-
model?: string | null | undefined;
|
|
1812
|
-
title?: string | null | undefined;
|
|
1813
|
-
createdAt?: string | undefined;
|
|
1814
|
-
updatedAt?: string | undefined;
|
|
1815
|
-
iconURL?: string | null | undefined;
|
|
1891
|
+
endpoint: string | null;
|
|
1816
1892
|
user?: string | undefined;
|
|
1817
|
-
|
|
1893
|
+
tags?: string[] | undefined;
|
|
1894
|
+
model?: string | null | undefined;
|
|
1818
1895
|
endpointType?: EModelEndpoint | null | undefined;
|
|
1819
1896
|
isArchived?: boolean | undefined;
|
|
1897
|
+
title?: string | null | undefined;
|
|
1820
1898
|
messages?: string[] | undefined;
|
|
1821
1899
|
tools?: string[] | {
|
|
1822
1900
|
name: string;
|
|
@@ -1828,6 +1906,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1828
1906
|
authField: string;
|
|
1829
1907
|
label: string;
|
|
1830
1908
|
optional?: boolean | undefined;
|
|
1909
|
+
sensitive?: boolean | undefined;
|
|
1831
1910
|
}[] | undefined;
|
|
1832
1911
|
authenticated?: boolean | undefined;
|
|
1833
1912
|
chatMenu?: boolean | undefined;
|
|
@@ -1843,6 +1922,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1843
1922
|
top_p?: number | undefined;
|
|
1844
1923
|
frequency_penalty?: number | undefined;
|
|
1845
1924
|
presence_penalty?: number | undefined;
|
|
1925
|
+
parentMessageId?: string | undefined;
|
|
1846
1926
|
maxOutputTokens?: string | number | null | undefined;
|
|
1847
1927
|
maxContextTokens?: string | number | undefined;
|
|
1848
1928
|
max_tokens?: string | number | undefined;
|
|
@@ -1853,6 +1933,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1853
1933
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
1854
1934
|
stream?: boolean | undefined;
|
|
1855
1935
|
artifacts?: string | undefined;
|
|
1936
|
+
context?: string | null | undefined;
|
|
1856
1937
|
examples?: {
|
|
1857
1938
|
input: {
|
|
1858
1939
|
content: string;
|
|
@@ -1861,7 +1942,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1861
1942
|
content: string;
|
|
1862
1943
|
};
|
|
1863
1944
|
}[] | undefined;
|
|
1864
|
-
|
|
1945
|
+
chatProjectId?: string | null | undefined;
|
|
1946
|
+
createdAt?: string | undefined;
|
|
1947
|
+
updatedAt?: string | undefined;
|
|
1865
1948
|
resendFiles?: boolean | undefined;
|
|
1866
1949
|
file_ids?: string[] | undefined;
|
|
1867
1950
|
imageDetail?: ImageDetail | undefined;
|
|
@@ -1885,7 +1968,9 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1885
1968
|
stop?: string[] | undefined;
|
|
1886
1969
|
greeting?: string | undefined;
|
|
1887
1970
|
spec?: string | null | undefined;
|
|
1971
|
+
iconURL?: string | null | undefined;
|
|
1888
1972
|
expiredAt?: string | null | undefined;
|
|
1973
|
+
isTemporary?: boolean | undefined;
|
|
1889
1974
|
fileTokenLimit?: string | number | undefined;
|
|
1890
1975
|
resendImages?: boolean | undefined;
|
|
1891
1976
|
chatGptLabel?: string | null | undefined;
|
|
@@ -1908,16 +1993,20 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1908
1993
|
label: z.ZodString;
|
|
1909
1994
|
description: z.ZodString;
|
|
1910
1995
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
1996
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
1997
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1911
1998
|
}, "strip", z.ZodTypeAny, {
|
|
1912
1999
|
description: string;
|
|
1913
2000
|
authField: string;
|
|
1914
2001
|
label: string;
|
|
1915
2002
|
optional?: boolean | undefined;
|
|
2003
|
+
sensitive?: boolean | undefined;
|
|
1916
2004
|
}, {
|
|
1917
2005
|
description: string;
|
|
1918
2006
|
authField: string;
|
|
1919
2007
|
label: string;
|
|
1920
2008
|
optional?: boolean | undefined;
|
|
2009
|
+
sensitive?: boolean | undefined;
|
|
1921
2010
|
}>, "many">>;
|
|
1922
2011
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1923
2012
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1933,6 +2022,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1933
2022
|
authField: string;
|
|
1934
2023
|
label: string;
|
|
1935
2024
|
optional?: boolean | undefined;
|
|
2025
|
+
sensitive?: boolean | undefined;
|
|
1936
2026
|
}[] | undefined;
|
|
1937
2027
|
authenticated?: boolean | undefined;
|
|
1938
2028
|
chatMenu?: boolean | undefined;
|
|
@@ -1948,6 +2038,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1948
2038
|
authField: string;
|
|
1949
2039
|
label: string;
|
|
1950
2040
|
optional?: boolean | undefined;
|
|
2041
|
+
sensitive?: boolean | undefined;
|
|
1951
2042
|
}[] | undefined;
|
|
1952
2043
|
authenticated?: boolean | undefined;
|
|
1953
2044
|
chatMenu?: boolean | undefined;
|
|
@@ -2007,6 +2098,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2007
2098
|
};
|
|
2008
2099
|
}>, "many">>;
|
|
2009
2100
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2101
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2010
2102
|
createdAt: z.ZodString;
|
|
2011
2103
|
updatedAt: z.ZodString;
|
|
2012
2104
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2035,6 +2127,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2035
2127
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2036
2128
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2037
2129
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2038
2131
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2039
2132
|
/** @deprecated */
|
|
2040
2133
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2124,11 +2217,9 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2124
2217
|
* omitted to avoid duplicate configuration surface.
|
|
2125
2218
|
*/
|
|
2126
2219
|
export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
2127
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
2128
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2129
|
-
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2130
2220
|
user: z.ZodOptional<z.ZodString>;
|
|
2131
|
-
|
|
2221
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2222
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2132
2223
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
2133
2224
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
2134
2225
|
messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
@@ -2142,16 +2233,20 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2142
2233
|
label: z.ZodString;
|
|
2143
2234
|
description: z.ZodString;
|
|
2144
2235
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2236
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
2237
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2145
2238
|
}, "strip", z.ZodTypeAny, {
|
|
2146
2239
|
description: string;
|
|
2147
2240
|
authField: string;
|
|
2148
2241
|
label: string;
|
|
2149
2242
|
optional?: boolean | undefined;
|
|
2243
|
+
sensitive?: boolean | undefined;
|
|
2150
2244
|
}, {
|
|
2151
2245
|
description: string;
|
|
2152
2246
|
authField: string;
|
|
2153
2247
|
label: string;
|
|
2154
2248
|
optional?: boolean | undefined;
|
|
2249
|
+
sensitive?: boolean | undefined;
|
|
2155
2250
|
}>, "many">>;
|
|
2156
2251
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2157
2252
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2167,6 +2262,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2167
2262
|
authField: string;
|
|
2168
2263
|
label: string;
|
|
2169
2264
|
optional?: boolean | undefined;
|
|
2265
|
+
sensitive?: boolean | undefined;
|
|
2170
2266
|
}[] | undefined;
|
|
2171
2267
|
authenticated?: boolean | undefined;
|
|
2172
2268
|
chatMenu?: boolean | undefined;
|
|
@@ -2182,6 +2278,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2182
2278
|
authField: string;
|
|
2183
2279
|
label: string;
|
|
2184
2280
|
optional?: boolean | undefined;
|
|
2281
|
+
sensitive?: boolean | undefined;
|
|
2185
2282
|
}[] | undefined;
|
|
2186
2283
|
authenticated?: boolean | undefined;
|
|
2187
2284
|
chatMenu?: boolean | undefined;
|
|
@@ -2197,6 +2294,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2197
2294
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
2198
2295
|
frequency_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2199
2296
|
presence_penalty: z.ZodOptional<z.ZodNumber>;
|
|
2297
|
+
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
2200
2298
|
maxOutputTokens: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>>;
|
|
2201
2299
|
maxContextTokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2202
2300
|
max_tokens: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
@@ -2207,6 +2305,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2207
2305
|
thinkingLevel: z.ZodOptional<z.ZodNativeEnum<typeof ThinkingLevel>>;
|
|
2208
2306
|
stream: z.ZodOptional<z.ZodBoolean>;
|
|
2209
2307
|
artifacts: z.ZodOptional<z.ZodString>;
|
|
2308
|
+
context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2210
2309
|
examples: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2211
2310
|
input: z.ZodObject<{
|
|
2212
2311
|
content: z.ZodString;
|
|
@@ -2237,7 +2336,6 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2237
2336
|
content: string;
|
|
2238
2337
|
};
|
|
2239
2338
|
}>, "many">>;
|
|
2240
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2241
2339
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
2242
2340
|
file_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2243
2341
|
imageDetail: z.ZodOptional<z.ZodNativeEnum<typeof ImageDetail>>;
|
|
@@ -2261,7 +2359,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2261
2359
|
stop: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2262
2360
|
greeting: z.ZodOptional<z.ZodString>;
|
|
2263
2361
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2362
|
+
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2264
2363
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2364
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2265
2365
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2266
2366
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2267
2367
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2272,11 +2372,9 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2272
2372
|
defaultPreset: z.ZodOptional<z.ZodBoolean>;
|
|
2273
2373
|
order: z.ZodOptional<z.ZodNumber>;
|
|
2274
2374
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
2275
|
-
}, "
|
|
2375
|
+
}, "user" | "tags" | "conversationId" | "isArchived" | "title" | "messages" | "parentMessageId" | "file_ids" | "presetOverride" | "spec" | "expiredAt" | "resendImages" | "chatGptLabel" | "presetId" | "defaultPreset" | "order">, "strip", z.ZodTypeAny, {
|
|
2276
2376
|
endpoint: string | null;
|
|
2277
2377
|
model?: string | null | undefined;
|
|
2278
|
-
iconURL?: string | null | undefined;
|
|
2279
|
-
context?: string | null | undefined;
|
|
2280
2378
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2281
2379
|
tools?: string[] | {
|
|
2282
2380
|
name: string;
|
|
@@ -2288,6 +2386,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2288
2386
|
authField: string;
|
|
2289
2387
|
label: string;
|
|
2290
2388
|
optional?: boolean | undefined;
|
|
2389
|
+
sensitive?: boolean | undefined;
|
|
2291
2390
|
}[] | undefined;
|
|
2292
2391
|
authenticated?: boolean | undefined;
|
|
2293
2392
|
chatMenu?: boolean | undefined;
|
|
@@ -2313,6 +2412,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2313
2412
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2314
2413
|
stream?: boolean | undefined;
|
|
2315
2414
|
artifacts?: string | undefined;
|
|
2415
|
+
context?: string | null | undefined;
|
|
2316
2416
|
examples?: {
|
|
2317
2417
|
input: {
|
|
2318
2418
|
content: string;
|
|
@@ -2341,12 +2441,12 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2341
2441
|
append_current_datetime?: boolean | undefined;
|
|
2342
2442
|
stop?: string[] | undefined;
|
|
2343
2443
|
greeting?: string | undefined;
|
|
2444
|
+
iconURL?: string | null | undefined;
|
|
2445
|
+
isTemporary?: boolean | undefined;
|
|
2344
2446
|
fileTokenLimit?: number | undefined;
|
|
2345
2447
|
}, {
|
|
2346
2448
|
endpoint: string | null;
|
|
2347
2449
|
model?: string | null | undefined;
|
|
2348
|
-
iconURL?: string | null | undefined;
|
|
2349
|
-
context?: string | null | undefined;
|
|
2350
2450
|
endpointType?: EModelEndpoint | null | undefined;
|
|
2351
2451
|
tools?: string[] | {
|
|
2352
2452
|
name: string;
|
|
@@ -2358,6 +2458,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2358
2458
|
authField: string;
|
|
2359
2459
|
label: string;
|
|
2360
2460
|
optional?: boolean | undefined;
|
|
2461
|
+
sensitive?: boolean | undefined;
|
|
2361
2462
|
}[] | undefined;
|
|
2362
2463
|
authenticated?: boolean | undefined;
|
|
2363
2464
|
chatMenu?: boolean | undefined;
|
|
@@ -2383,6 +2484,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2383
2484
|
thinkingLevel?: ThinkingLevel | undefined;
|
|
2384
2485
|
stream?: boolean | undefined;
|
|
2385
2486
|
artifacts?: string | undefined;
|
|
2487
|
+
context?: string | null | undefined;
|
|
2386
2488
|
examples?: {
|
|
2387
2489
|
input: {
|
|
2388
2490
|
content: string;
|
|
@@ -2411,6 +2513,8 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2411
2513
|
append_current_datetime?: boolean | undefined;
|
|
2412
2514
|
stop?: string[] | undefined;
|
|
2413
2515
|
greeting?: string | undefined;
|
|
2516
|
+
iconURL?: string | null | undefined;
|
|
2517
|
+
isTemporary?: boolean | undefined;
|
|
2414
2518
|
fileTokenLimit?: string | number | undefined;
|
|
2415
2519
|
}>;
|
|
2416
2520
|
export type TModelSpecPreset = z.infer<typeof tModelSpecPresetSchema>;
|
|
@@ -2423,27 +2527,27 @@ export type TConversation = z.infer<typeof tConversationSchema> & {
|
|
|
2423
2527
|
export declare const tSharedLinkSchema: z.ZodObject<{
|
|
2424
2528
|
conversationId: z.ZodString;
|
|
2425
2529
|
shareId: z.ZodString;
|
|
2530
|
+
targetMessageId: z.ZodOptional<z.ZodString>;
|
|
2426
2531
|
messages: z.ZodArray<z.ZodString, "many">;
|
|
2427
|
-
isPublic: z.ZodBoolean;
|
|
2428
2532
|
title: z.ZodString;
|
|
2429
2533
|
createdAt: z.ZodString;
|
|
2430
2534
|
updatedAt: z.ZodString;
|
|
2431
2535
|
}, "strip", z.ZodTypeAny, {
|
|
2432
2536
|
conversationId: string;
|
|
2433
2537
|
title: string;
|
|
2538
|
+
messages: string[];
|
|
2434
2539
|
createdAt: string;
|
|
2435
2540
|
updatedAt: string;
|
|
2436
|
-
messages: string[];
|
|
2437
2541
|
shareId: string;
|
|
2438
|
-
|
|
2542
|
+
targetMessageId?: string | undefined;
|
|
2439
2543
|
}, {
|
|
2440
2544
|
conversationId: string;
|
|
2441
2545
|
title: string;
|
|
2546
|
+
messages: string[];
|
|
2442
2547
|
createdAt: string;
|
|
2443
2548
|
updatedAt: string;
|
|
2444
|
-
messages: string[];
|
|
2445
2549
|
shareId: string;
|
|
2446
|
-
|
|
2550
|
+
targetMessageId?: string | undefined;
|
|
2447
2551
|
}>;
|
|
2448
2552
|
export type TSharedLink = z.infer<typeof tSharedLinkSchema>;
|
|
2449
2553
|
export declare const tConversationTagSchema: z.ZodObject<{
|
|
@@ -2456,20 +2560,20 @@ export declare const tConversationTagSchema: z.ZodObject<{
|
|
|
2456
2560
|
count: z.ZodNumber;
|
|
2457
2561
|
position: z.ZodNumber;
|
|
2458
2562
|
}, "strip", z.ZodTypeAny, {
|
|
2563
|
+
user: string;
|
|
2459
2564
|
createdAt: string;
|
|
2460
2565
|
updatedAt: string;
|
|
2461
2566
|
tag: string;
|
|
2462
2567
|
_id: string;
|
|
2463
|
-
user: string;
|
|
2464
2568
|
count: number;
|
|
2465
2569
|
position: number;
|
|
2466
2570
|
description?: string | undefined;
|
|
2467
2571
|
}, {
|
|
2572
|
+
user: string;
|
|
2468
2573
|
createdAt: string;
|
|
2469
2574
|
updatedAt: string;
|
|
2470
2575
|
tag: string;
|
|
2471
2576
|
_id: string;
|
|
2472
|
-
user: string;
|
|
2473
2577
|
count: number;
|
|
2474
2578
|
position: number;
|
|
2475
2579
|
description?: string | undefined;
|
|
@@ -2493,16 +2597,20 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2493
2597
|
label: z.ZodString;
|
|
2494
2598
|
description: z.ZodString;
|
|
2495
2599
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2600
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
2601
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2496
2602
|
}, "strip", z.ZodTypeAny, {
|
|
2497
2603
|
description: string;
|
|
2498
2604
|
authField: string;
|
|
2499
2605
|
label: string;
|
|
2500
2606
|
optional?: boolean | undefined;
|
|
2607
|
+
sensitive?: boolean | undefined;
|
|
2501
2608
|
}, {
|
|
2502
2609
|
description: string;
|
|
2503
2610
|
authField: string;
|
|
2504
2611
|
label: string;
|
|
2505
2612
|
optional?: boolean | undefined;
|
|
2613
|
+
sensitive?: boolean | undefined;
|
|
2506
2614
|
}>, "many">>;
|
|
2507
2615
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2508
2616
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2518,6 +2626,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2518
2626
|
authField: string;
|
|
2519
2627
|
label: string;
|
|
2520
2628
|
optional?: boolean | undefined;
|
|
2629
|
+
sensitive?: boolean | undefined;
|
|
2521
2630
|
}[] | undefined;
|
|
2522
2631
|
authenticated?: boolean | undefined;
|
|
2523
2632
|
chatMenu?: boolean | undefined;
|
|
@@ -2533,6 +2642,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2533
2642
|
authField: string;
|
|
2534
2643
|
label: string;
|
|
2535
2644
|
optional?: boolean | undefined;
|
|
2645
|
+
sensitive?: boolean | undefined;
|
|
2536
2646
|
}[] | undefined;
|
|
2537
2647
|
authenticated?: boolean | undefined;
|
|
2538
2648
|
chatMenu?: boolean | undefined;
|
|
@@ -2592,6 +2702,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2592
2702
|
};
|
|
2593
2703
|
}>, "many">>;
|
|
2594
2704
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2705
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2595
2706
|
createdAt: z.ZodString;
|
|
2596
2707
|
updatedAt: z.ZodString;
|
|
2597
2708
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2620,14 +2731,14 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2620
2731
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2621
2732
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2622
2733
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2734
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2623
2735
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2624
2736
|
/** @deprecated */
|
|
2625
2737
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2626
2738
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2627
2739
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2628
|
-
}, "model" | "
|
|
2740
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
2629
2741
|
model?: string | null | undefined;
|
|
2630
|
-
iconURL?: string | null | undefined;
|
|
2631
2742
|
modelLabel?: string | null | undefined;
|
|
2632
2743
|
promptPrefix?: string | null | undefined;
|
|
2633
2744
|
temperature?: number | null | undefined;
|
|
@@ -2647,13 +2758,14 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2647
2758
|
content: string;
|
|
2648
2759
|
};
|
|
2649
2760
|
}[] | undefined;
|
|
2761
|
+
chatProjectId?: string | null | undefined;
|
|
2650
2762
|
web_search?: boolean | undefined;
|
|
2651
2763
|
greeting?: string | undefined;
|
|
2652
2764
|
spec?: string | null | undefined;
|
|
2765
|
+
iconURL?: string | null | undefined;
|
|
2653
2766
|
fileTokenLimit?: number | undefined;
|
|
2654
2767
|
}, {
|
|
2655
2768
|
model?: string | null | undefined;
|
|
2656
|
-
iconURL?: string | null | undefined;
|
|
2657
2769
|
modelLabel?: string | null | undefined;
|
|
2658
2770
|
promptPrefix?: string | null | undefined;
|
|
2659
2771
|
temperature?: number | null | undefined;
|
|
@@ -2673,9 +2785,11 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2673
2785
|
content: string;
|
|
2674
2786
|
};
|
|
2675
2787
|
}[] | undefined;
|
|
2788
|
+
chatProjectId?: string | null | undefined;
|
|
2676
2789
|
web_search?: boolean | undefined;
|
|
2677
2790
|
greeting?: string | undefined;
|
|
2678
2791
|
spec?: string | null | undefined;
|
|
2792
|
+
iconURL?: string | null | undefined;
|
|
2679
2793
|
fileTokenLimit?: string | number | undefined;
|
|
2680
2794
|
}>;
|
|
2681
2795
|
export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
@@ -2696,16 +2810,20 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2696
2810
|
label: z.ZodString;
|
|
2697
2811
|
description: z.ZodString;
|
|
2698
2812
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
2813
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
2814
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2699
2815
|
}, "strip", z.ZodTypeAny, {
|
|
2700
2816
|
description: string;
|
|
2701
2817
|
authField: string;
|
|
2702
2818
|
label: string;
|
|
2703
2819
|
optional?: boolean | undefined;
|
|
2820
|
+
sensitive?: boolean | undefined;
|
|
2704
2821
|
}, {
|
|
2705
2822
|
description: string;
|
|
2706
2823
|
authField: string;
|
|
2707
2824
|
label: string;
|
|
2708
2825
|
optional?: boolean | undefined;
|
|
2826
|
+
sensitive?: boolean | undefined;
|
|
2709
2827
|
}>, "many">>;
|
|
2710
2828
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2711
2829
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2721,6 +2839,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2721
2839
|
authField: string;
|
|
2722
2840
|
label: string;
|
|
2723
2841
|
optional?: boolean | undefined;
|
|
2842
|
+
sensitive?: boolean | undefined;
|
|
2724
2843
|
}[] | undefined;
|
|
2725
2844
|
authenticated?: boolean | undefined;
|
|
2726
2845
|
chatMenu?: boolean | undefined;
|
|
@@ -2736,6 +2855,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2736
2855
|
authField: string;
|
|
2737
2856
|
label: string;
|
|
2738
2857
|
optional?: boolean | undefined;
|
|
2858
|
+
sensitive?: boolean | undefined;
|
|
2739
2859
|
}[] | undefined;
|
|
2740
2860
|
authenticated?: boolean | undefined;
|
|
2741
2861
|
chatMenu?: boolean | undefined;
|
|
@@ -2795,6 +2915,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2795
2915
|
};
|
|
2796
2916
|
}>, "many">>;
|
|
2797
2917
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2918
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2798
2919
|
createdAt: z.ZodString;
|
|
2799
2920
|
updatedAt: z.ZodString;
|
|
2800
2921
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2823,14 +2944,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2823
2944
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2824
2945
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2825
2946
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2947
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
2826
2948
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
2827
2949
|
/** @deprecated */
|
|
2828
2950
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2829
2951
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2830
2952
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2831
|
-
}, "model" | "
|
|
2953
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
2832
2954
|
model?: string | null | undefined;
|
|
2833
|
-
iconURL?: string | null | undefined;
|
|
2834
2955
|
modelLabel?: string | null | undefined;
|
|
2835
2956
|
promptPrefix?: string | null | undefined;
|
|
2836
2957
|
temperature?: number | null | undefined;
|
|
@@ -2850,13 +2971,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2850
2971
|
content: string;
|
|
2851
2972
|
};
|
|
2852
2973
|
}[] | undefined;
|
|
2974
|
+
chatProjectId?: string | null | undefined;
|
|
2853
2975
|
web_search?: boolean | undefined;
|
|
2854
2976
|
greeting?: string | undefined;
|
|
2855
2977
|
spec?: string | null | undefined;
|
|
2978
|
+
iconURL?: string | null | undefined;
|
|
2856
2979
|
fileTokenLimit?: number | undefined;
|
|
2857
2980
|
}, {
|
|
2858
2981
|
model?: string | null | undefined;
|
|
2859
|
-
iconURL?: string | null | undefined;
|
|
2860
2982
|
modelLabel?: string | null | undefined;
|
|
2861
2983
|
promptPrefix?: string | null | undefined;
|
|
2862
2984
|
temperature?: number | null | undefined;
|
|
@@ -2876,13 +2998,14 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2876
2998
|
content: string;
|
|
2877
2999
|
};
|
|
2878
3000
|
}[] | undefined;
|
|
3001
|
+
chatProjectId?: string | null | undefined;
|
|
2879
3002
|
web_search?: boolean | undefined;
|
|
2880
3003
|
greeting?: string | undefined;
|
|
2881
3004
|
spec?: string | null | undefined;
|
|
3005
|
+
iconURL?: string | null | undefined;
|
|
2882
3006
|
fileTokenLimit?: string | number | undefined;
|
|
2883
3007
|
}>, Partial<Partial<TConversation>>, {
|
|
2884
3008
|
model?: string | null | undefined;
|
|
2885
|
-
iconURL?: string | null | undefined;
|
|
2886
3009
|
modelLabel?: string | null | undefined;
|
|
2887
3010
|
promptPrefix?: string | null | undefined;
|
|
2888
3011
|
temperature?: number | null | undefined;
|
|
@@ -2902,9 +3025,11 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2902
3025
|
content: string;
|
|
2903
3026
|
};
|
|
2904
3027
|
}[] | undefined;
|
|
3028
|
+
chatProjectId?: string | null | undefined;
|
|
2905
3029
|
web_search?: boolean | undefined;
|
|
2906
3030
|
greeting?: string | undefined;
|
|
2907
3031
|
spec?: string | null | undefined;
|
|
3032
|
+
iconURL?: string | null | undefined;
|
|
2908
3033
|
fileTokenLimit?: string | number | undefined;
|
|
2909
3034
|
}>>;
|
|
2910
3035
|
/**
|
|
@@ -2983,16 +3108,20 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2983
3108
|
label: z.ZodString;
|
|
2984
3109
|
description: z.ZodString;
|
|
2985
3110
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3111
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
3112
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2986
3113
|
}, "strip", z.ZodTypeAny, {
|
|
2987
3114
|
description: string;
|
|
2988
3115
|
authField: string;
|
|
2989
3116
|
label: string;
|
|
2990
3117
|
optional?: boolean | undefined;
|
|
3118
|
+
sensitive?: boolean | undefined;
|
|
2991
3119
|
}, {
|
|
2992
3120
|
description: string;
|
|
2993
3121
|
authField: string;
|
|
2994
3122
|
label: string;
|
|
2995
3123
|
optional?: boolean | undefined;
|
|
3124
|
+
sensitive?: boolean | undefined;
|
|
2996
3125
|
}>, "many">>;
|
|
2997
3126
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
2998
3127
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3008,6 +3137,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3008
3137
|
authField: string;
|
|
3009
3138
|
label: string;
|
|
3010
3139
|
optional?: boolean | undefined;
|
|
3140
|
+
sensitive?: boolean | undefined;
|
|
3011
3141
|
}[] | undefined;
|
|
3012
3142
|
authenticated?: boolean | undefined;
|
|
3013
3143
|
chatMenu?: boolean | undefined;
|
|
@@ -3023,6 +3153,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3023
3153
|
authField: string;
|
|
3024
3154
|
label: string;
|
|
3025
3155
|
optional?: boolean | undefined;
|
|
3156
|
+
sensitive?: boolean | undefined;
|
|
3026
3157
|
}[] | undefined;
|
|
3027
3158
|
authenticated?: boolean | undefined;
|
|
3028
3159
|
chatMenu?: boolean | undefined;
|
|
@@ -3082,6 +3213,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3082
3213
|
};
|
|
3083
3214
|
}>, "many">>;
|
|
3084
3215
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3216
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3085
3217
|
createdAt: z.ZodString;
|
|
3086
3218
|
updatedAt: z.ZodString;
|
|
3087
3219
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3110,31 +3242,34 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3110
3242
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3111
3243
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3112
3244
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3245
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
3113
3246
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3114
3247
|
/** @deprecated */
|
|
3115
3248
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3116
3249
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3117
3250
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3118
|
-
}, "model" | "
|
|
3251
|
+
}, "model" | "promptPrefix" | "artifacts" | "chatProjectId" | "assistant_id" | "instructions" | "append_current_datetime" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
3119
3252
|
model?: string | null | undefined;
|
|
3120
|
-
iconURL?: string | null | undefined;
|
|
3121
3253
|
promptPrefix?: string | null | undefined;
|
|
3122
3254
|
artifacts?: string | undefined;
|
|
3255
|
+
chatProjectId?: string | null | undefined;
|
|
3123
3256
|
assistant_id?: string | undefined;
|
|
3124
3257
|
instructions?: string | undefined;
|
|
3125
3258
|
append_current_datetime?: boolean | undefined;
|
|
3126
3259
|
greeting?: string | undefined;
|
|
3127
3260
|
spec?: string | null | undefined;
|
|
3261
|
+
iconURL?: string | null | undefined;
|
|
3128
3262
|
}, {
|
|
3129
3263
|
model?: string | null | undefined;
|
|
3130
|
-
iconURL?: string | null | undefined;
|
|
3131
3264
|
promptPrefix?: string | null | undefined;
|
|
3132
3265
|
artifacts?: string | undefined;
|
|
3266
|
+
chatProjectId?: string | null | undefined;
|
|
3133
3267
|
assistant_id?: string | undefined;
|
|
3134
3268
|
instructions?: string | undefined;
|
|
3135
3269
|
append_current_datetime?: boolean | undefined;
|
|
3136
3270
|
greeting?: string | undefined;
|
|
3137
3271
|
spec?: string | null | undefined;
|
|
3272
|
+
iconURL?: string | null | undefined;
|
|
3138
3273
|
}>, {
|
|
3139
3274
|
model: string;
|
|
3140
3275
|
assistant_id: string | undefined;
|
|
@@ -3145,16 +3280,18 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3145
3280
|
spec: string | undefined;
|
|
3146
3281
|
append_current_datetime: boolean;
|
|
3147
3282
|
artifacts?: string | undefined;
|
|
3283
|
+
chatProjectId?: string | null | undefined;
|
|
3148
3284
|
}, {
|
|
3149
3285
|
model?: string | null | undefined;
|
|
3150
|
-
iconURL?: string | null | undefined;
|
|
3151
3286
|
promptPrefix?: string | null | undefined;
|
|
3152
3287
|
artifacts?: string | undefined;
|
|
3288
|
+
chatProjectId?: string | null | undefined;
|
|
3153
3289
|
assistant_id?: string | undefined;
|
|
3154
3290
|
instructions?: string | undefined;
|
|
3155
3291
|
append_current_datetime?: boolean | undefined;
|
|
3156
3292
|
greeting?: string | undefined;
|
|
3157
3293
|
spec?: string | null | undefined;
|
|
3294
|
+
iconURL?: string | null | undefined;
|
|
3158
3295
|
}>>;
|
|
3159
3296
|
export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
3160
3297
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
@@ -3174,16 +3311,20 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3174
3311
|
label: z.ZodString;
|
|
3175
3312
|
description: z.ZodString;
|
|
3176
3313
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3314
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
3315
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3177
3316
|
}, "strip", z.ZodTypeAny, {
|
|
3178
3317
|
description: string;
|
|
3179
3318
|
authField: string;
|
|
3180
3319
|
label: string;
|
|
3181
3320
|
optional?: boolean | undefined;
|
|
3321
|
+
sensitive?: boolean | undefined;
|
|
3182
3322
|
}, {
|
|
3183
3323
|
description: string;
|
|
3184
3324
|
authField: string;
|
|
3185
3325
|
label: string;
|
|
3186
3326
|
optional?: boolean | undefined;
|
|
3327
|
+
sensitive?: boolean | undefined;
|
|
3187
3328
|
}>, "many">>;
|
|
3188
3329
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
3189
3330
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3199,6 +3340,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3199
3340
|
authField: string;
|
|
3200
3341
|
label: string;
|
|
3201
3342
|
optional?: boolean | undefined;
|
|
3343
|
+
sensitive?: boolean | undefined;
|
|
3202
3344
|
}[] | undefined;
|
|
3203
3345
|
authenticated?: boolean | undefined;
|
|
3204
3346
|
chatMenu?: boolean | undefined;
|
|
@@ -3214,6 +3356,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3214
3356
|
authField: string;
|
|
3215
3357
|
label: string;
|
|
3216
3358
|
optional?: boolean | undefined;
|
|
3359
|
+
sensitive?: boolean | undefined;
|
|
3217
3360
|
}[] | undefined;
|
|
3218
3361
|
authenticated?: boolean | undefined;
|
|
3219
3362
|
chatMenu?: boolean | undefined;
|
|
@@ -3273,6 +3416,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3273
3416
|
};
|
|
3274
3417
|
}>, "many">>;
|
|
3275
3418
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3419
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3276
3420
|
createdAt: z.ZodString;
|
|
3277
3421
|
updatedAt: z.ZodString;
|
|
3278
3422
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3301,47 +3445,52 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3301
3445
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3302
3446
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3303
3447
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3448
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
3304
3449
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3305
3450
|
/** @deprecated */
|
|
3306
3451
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3307
3452
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3308
3453
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3309
|
-
}, "model" | "
|
|
3454
|
+
}, "model" | "promptPrefix" | "artifacts" | "chatProjectId" | "assistant_id" | "instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
3310
3455
|
model?: string | null | undefined;
|
|
3311
|
-
iconURL?: string | null | undefined;
|
|
3312
3456
|
promptPrefix?: string | null | undefined;
|
|
3313
3457
|
artifacts?: string | undefined;
|
|
3458
|
+
chatProjectId?: string | null | undefined;
|
|
3314
3459
|
assistant_id?: string | undefined;
|
|
3315
3460
|
instructions?: string | undefined;
|
|
3316
3461
|
greeting?: string | undefined;
|
|
3317
3462
|
spec?: string | null | undefined;
|
|
3463
|
+
iconURL?: string | null | undefined;
|
|
3318
3464
|
}, {
|
|
3319
3465
|
model?: string | null | undefined;
|
|
3320
|
-
iconURL?: string | null | undefined;
|
|
3321
3466
|
promptPrefix?: string | null | undefined;
|
|
3322
3467
|
artifacts?: string | undefined;
|
|
3468
|
+
chatProjectId?: string | null | undefined;
|
|
3323
3469
|
assistant_id?: string | undefined;
|
|
3324
3470
|
instructions?: string | undefined;
|
|
3325
3471
|
greeting?: string | undefined;
|
|
3326
3472
|
spec?: string | null | undefined;
|
|
3473
|
+
iconURL?: string | null | undefined;
|
|
3327
3474
|
}>, Partial<{
|
|
3328
3475
|
model?: string | null | undefined;
|
|
3329
|
-
iconURL?: string | null | undefined;
|
|
3330
3476
|
promptPrefix?: string | null | undefined;
|
|
3331
3477
|
artifacts?: string | undefined;
|
|
3478
|
+
chatProjectId?: string | null | undefined;
|
|
3332
3479
|
assistant_id?: string | undefined;
|
|
3333
3480
|
instructions?: string | undefined;
|
|
3334
3481
|
greeting?: string | undefined;
|
|
3335
3482
|
spec?: string | null | undefined;
|
|
3483
|
+
iconURL?: string | null | undefined;
|
|
3336
3484
|
}>, {
|
|
3337
3485
|
model?: string | null | undefined;
|
|
3338
|
-
iconURL?: string | null | undefined;
|
|
3339
3486
|
promptPrefix?: string | null | undefined;
|
|
3340
3487
|
artifacts?: string | undefined;
|
|
3488
|
+
chatProjectId?: string | null | undefined;
|
|
3341
3489
|
assistant_id?: string | undefined;
|
|
3342
3490
|
instructions?: string | undefined;
|
|
3343
3491
|
greeting?: string | undefined;
|
|
3344
3492
|
spec?: string | null | undefined;
|
|
3493
|
+
iconURL?: string | null | undefined;
|
|
3345
3494
|
}>>;
|
|
3346
3495
|
export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
3347
3496
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
@@ -3361,16 +3510,20 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3361
3510
|
label: z.ZodString;
|
|
3362
3511
|
description: z.ZodString;
|
|
3363
3512
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3513
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
3514
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3364
3515
|
}, "strip", z.ZodTypeAny, {
|
|
3365
3516
|
description: string;
|
|
3366
3517
|
authField: string;
|
|
3367
3518
|
label: string;
|
|
3368
3519
|
optional?: boolean | undefined;
|
|
3520
|
+
sensitive?: boolean | undefined;
|
|
3369
3521
|
}, {
|
|
3370
3522
|
description: string;
|
|
3371
3523
|
authField: string;
|
|
3372
3524
|
label: string;
|
|
3373
3525
|
optional?: boolean | undefined;
|
|
3526
|
+
sensitive?: boolean | undefined;
|
|
3374
3527
|
}>, "many">>;
|
|
3375
3528
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
3376
3529
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3386,6 +3539,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3386
3539
|
authField: string;
|
|
3387
3540
|
label: string;
|
|
3388
3541
|
optional?: boolean | undefined;
|
|
3542
|
+
sensitive?: boolean | undefined;
|
|
3389
3543
|
}[] | undefined;
|
|
3390
3544
|
authenticated?: boolean | undefined;
|
|
3391
3545
|
chatMenu?: boolean | undefined;
|
|
@@ -3401,6 +3555,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3401
3555
|
authField: string;
|
|
3402
3556
|
label: string;
|
|
3403
3557
|
optional?: boolean | undefined;
|
|
3558
|
+
sensitive?: boolean | undefined;
|
|
3404
3559
|
}[] | undefined;
|
|
3405
3560
|
authenticated?: boolean | undefined;
|
|
3406
3561
|
chatMenu?: boolean | undefined;
|
|
@@ -3460,6 +3615,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3460
3615
|
};
|
|
3461
3616
|
}>, "many">>;
|
|
3462
3617
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3618
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3463
3619
|
createdAt: z.ZodString;
|
|
3464
3620
|
updatedAt: z.ZodString;
|
|
3465
3621
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3488,14 +3644,14 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3488
3644
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3489
3645
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3490
3646
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3647
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
3491
3648
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3492
3649
|
/** @deprecated */
|
|
3493
3650
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3494
3651
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3495
3652
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3496
|
-
}, "model" | "
|
|
3653
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
3497
3654
|
model?: string | null | undefined;
|
|
3498
|
-
iconURL?: string | null | undefined;
|
|
3499
3655
|
modelLabel?: string | null | undefined;
|
|
3500
3656
|
promptPrefix?: string | null | undefined;
|
|
3501
3657
|
temperature?: number | null | undefined;
|
|
@@ -3503,14 +3659,15 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3503
3659
|
frequency_penalty?: number | undefined;
|
|
3504
3660
|
presence_penalty?: number | undefined;
|
|
3505
3661
|
maxContextTokens?: number | undefined;
|
|
3662
|
+
chatProjectId?: string | null | undefined;
|
|
3506
3663
|
resendFiles?: boolean | undefined;
|
|
3507
3664
|
imageDetail?: ImageDetail | undefined;
|
|
3508
3665
|
agent_id?: string | undefined;
|
|
3509
3666
|
instructions?: string | undefined;
|
|
3510
3667
|
greeting?: string | undefined;
|
|
3668
|
+
iconURL?: string | null | undefined;
|
|
3511
3669
|
}, {
|
|
3512
3670
|
model?: string | null | undefined;
|
|
3513
|
-
iconURL?: string | null | undefined;
|
|
3514
3671
|
modelLabel?: string | null | undefined;
|
|
3515
3672
|
promptPrefix?: string | null | undefined;
|
|
3516
3673
|
temperature?: number | null | undefined;
|
|
@@ -3518,11 +3675,13 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3518
3675
|
frequency_penalty?: number | undefined;
|
|
3519
3676
|
presence_penalty?: number | undefined;
|
|
3520
3677
|
maxContextTokens?: string | number | undefined;
|
|
3678
|
+
chatProjectId?: string | null | undefined;
|
|
3521
3679
|
resendFiles?: boolean | undefined;
|
|
3522
3680
|
imageDetail?: ImageDetail | undefined;
|
|
3523
3681
|
agent_id?: string | undefined;
|
|
3524
3682
|
instructions?: string | undefined;
|
|
3525
3683
|
greeting?: string | undefined;
|
|
3684
|
+
iconURL?: string | null | undefined;
|
|
3526
3685
|
}>;
|
|
3527
3686
|
export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
3528
3687
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
@@ -3542,16 +3701,20 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3542
3701
|
label: z.ZodString;
|
|
3543
3702
|
description: z.ZodString;
|
|
3544
3703
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3704
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
3705
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3545
3706
|
}, "strip", z.ZodTypeAny, {
|
|
3546
3707
|
description: string;
|
|
3547
3708
|
authField: string;
|
|
3548
3709
|
label: string;
|
|
3549
3710
|
optional?: boolean | undefined;
|
|
3711
|
+
sensitive?: boolean | undefined;
|
|
3550
3712
|
}, {
|
|
3551
3713
|
description: string;
|
|
3552
3714
|
authField: string;
|
|
3553
3715
|
label: string;
|
|
3554
3716
|
optional?: boolean | undefined;
|
|
3717
|
+
sensitive?: boolean | undefined;
|
|
3555
3718
|
}>, "many">>;
|
|
3556
3719
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
3557
3720
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3567,6 +3730,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3567
3730
|
authField: string;
|
|
3568
3731
|
label: string;
|
|
3569
3732
|
optional?: boolean | undefined;
|
|
3733
|
+
sensitive?: boolean | undefined;
|
|
3570
3734
|
}[] | undefined;
|
|
3571
3735
|
authenticated?: boolean | undefined;
|
|
3572
3736
|
chatMenu?: boolean | undefined;
|
|
@@ -3582,6 +3746,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3582
3746
|
authField: string;
|
|
3583
3747
|
label: string;
|
|
3584
3748
|
optional?: boolean | undefined;
|
|
3749
|
+
sensitive?: boolean | undefined;
|
|
3585
3750
|
}[] | undefined;
|
|
3586
3751
|
authenticated?: boolean | undefined;
|
|
3587
3752
|
chatMenu?: boolean | undefined;
|
|
@@ -3641,6 +3806,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3641
3806
|
};
|
|
3642
3807
|
}>, "many">>;
|
|
3643
3808
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3809
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3644
3810
|
createdAt: z.ZodString;
|
|
3645
3811
|
updatedAt: z.ZodString;
|
|
3646
3812
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3669,14 +3835,14 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3669
3835
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3670
3836
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3671
3837
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3838
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
3672
3839
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3673
3840
|
/** @deprecated */
|
|
3674
3841
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3675
3842
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3676
3843
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3677
|
-
}, "model" | "
|
|
3844
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "chatProjectId" | "resendFiles" | "imageDetail" | "agent_id" | "instructions" | "greeting" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
3678
3845
|
model?: string | null | undefined;
|
|
3679
|
-
iconURL?: string | null | undefined;
|
|
3680
3846
|
modelLabel?: string | null | undefined;
|
|
3681
3847
|
promptPrefix?: string | null | undefined;
|
|
3682
3848
|
temperature?: number | null | undefined;
|
|
@@ -3684,14 +3850,15 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3684
3850
|
frequency_penalty?: number | undefined;
|
|
3685
3851
|
presence_penalty?: number | undefined;
|
|
3686
3852
|
maxContextTokens?: number | undefined;
|
|
3853
|
+
chatProjectId?: string | null | undefined;
|
|
3687
3854
|
resendFiles?: boolean | undefined;
|
|
3688
3855
|
imageDetail?: ImageDetail | undefined;
|
|
3689
3856
|
agent_id?: string | undefined;
|
|
3690
3857
|
instructions?: string | undefined;
|
|
3691
3858
|
greeting?: string | undefined;
|
|
3859
|
+
iconURL?: string | null | undefined;
|
|
3692
3860
|
}, {
|
|
3693
3861
|
model?: string | null | undefined;
|
|
3694
|
-
iconURL?: string | null | undefined;
|
|
3695
3862
|
modelLabel?: string | null | undefined;
|
|
3696
3863
|
promptPrefix?: string | null | undefined;
|
|
3697
3864
|
temperature?: number | null | undefined;
|
|
@@ -3699,11 +3866,13 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3699
3866
|
frequency_penalty?: number | undefined;
|
|
3700
3867
|
presence_penalty?: number | undefined;
|
|
3701
3868
|
maxContextTokens?: string | number | undefined;
|
|
3869
|
+
chatProjectId?: string | null | undefined;
|
|
3702
3870
|
resendFiles?: boolean | undefined;
|
|
3703
3871
|
imageDetail?: ImageDetail | undefined;
|
|
3704
3872
|
agent_id?: string | undefined;
|
|
3705
3873
|
instructions?: string | undefined;
|
|
3706
3874
|
greeting?: string | undefined;
|
|
3875
|
+
iconURL?: string | null | undefined;
|
|
3707
3876
|
}>, {
|
|
3708
3877
|
model: string;
|
|
3709
3878
|
modelLabel: string | null;
|
|
@@ -3719,9 +3888,9 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3719
3888
|
iconURL: string | undefined;
|
|
3720
3889
|
greeting: string | undefined;
|
|
3721
3890
|
maxContextTokens: number | undefined;
|
|
3891
|
+
chatProjectId?: string | null | undefined;
|
|
3722
3892
|
}, {
|
|
3723
3893
|
model?: string | null | undefined;
|
|
3724
|
-
iconURL?: string | null | undefined;
|
|
3725
3894
|
modelLabel?: string | null | undefined;
|
|
3726
3895
|
promptPrefix?: string | null | undefined;
|
|
3727
3896
|
temperature?: number | null | undefined;
|
|
@@ -3729,11 +3898,13 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3729
3898
|
frequency_penalty?: number | undefined;
|
|
3730
3899
|
presence_penalty?: number | undefined;
|
|
3731
3900
|
maxContextTokens?: string | number | undefined;
|
|
3901
|
+
chatProjectId?: string | null | undefined;
|
|
3732
3902
|
resendFiles?: boolean | undefined;
|
|
3733
3903
|
imageDetail?: ImageDetail | undefined;
|
|
3734
3904
|
agent_id?: string | undefined;
|
|
3735
3905
|
instructions?: string | undefined;
|
|
3736
3906
|
greeting?: string | undefined;
|
|
3907
|
+
iconURL?: string | null | undefined;
|
|
3737
3908
|
}>>;
|
|
3738
3909
|
export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
3739
3910
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
@@ -3753,16 +3924,20 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3753
3924
|
label: z.ZodString;
|
|
3754
3925
|
description: z.ZodString;
|
|
3755
3926
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
3927
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
3928
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3756
3929
|
}, "strip", z.ZodTypeAny, {
|
|
3757
3930
|
description: string;
|
|
3758
3931
|
authField: string;
|
|
3759
3932
|
label: string;
|
|
3760
3933
|
optional?: boolean | undefined;
|
|
3934
|
+
sensitive?: boolean | undefined;
|
|
3761
3935
|
}, {
|
|
3762
3936
|
description: string;
|
|
3763
3937
|
authField: string;
|
|
3764
3938
|
label: string;
|
|
3765
3939
|
optional?: boolean | undefined;
|
|
3940
|
+
sensitive?: boolean | undefined;
|
|
3766
3941
|
}>, "many">>;
|
|
3767
3942
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
3768
3943
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3778,6 +3953,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3778
3953
|
authField: string;
|
|
3779
3954
|
label: string;
|
|
3780
3955
|
optional?: boolean | undefined;
|
|
3956
|
+
sensitive?: boolean | undefined;
|
|
3781
3957
|
}[] | undefined;
|
|
3782
3958
|
authenticated?: boolean | undefined;
|
|
3783
3959
|
chatMenu?: boolean | undefined;
|
|
@@ -3793,6 +3969,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3793
3969
|
authField: string;
|
|
3794
3970
|
label: string;
|
|
3795
3971
|
optional?: boolean | undefined;
|
|
3972
|
+
sensitive?: boolean | undefined;
|
|
3796
3973
|
}[] | undefined;
|
|
3797
3974
|
authenticated?: boolean | undefined;
|
|
3798
3975
|
chatMenu?: boolean | undefined;
|
|
@@ -3852,6 +4029,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3852
4029
|
};
|
|
3853
4030
|
}>, "many">>;
|
|
3854
4031
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4032
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3855
4033
|
createdAt: z.ZodString;
|
|
3856
4034
|
updatedAt: z.ZodString;
|
|
3857
4035
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3880,14 +4058,14 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3880
4058
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3881
4059
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3882
4060
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4061
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
3883
4062
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
3884
4063
|
/** @deprecated */
|
|
3885
4064
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3886
4065
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3887
4066
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3888
|
-
}, "model" | "
|
|
4067
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
3889
4068
|
model?: string | null | undefined;
|
|
3890
|
-
iconURL?: string | null | undefined;
|
|
3891
4069
|
modelLabel?: string | null | undefined;
|
|
3892
4070
|
promptPrefix?: string | null | undefined;
|
|
3893
4071
|
temperature?: number | null | undefined;
|
|
@@ -3897,6 +4075,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3897
4075
|
maxContextTokens?: number | undefined;
|
|
3898
4076
|
max_tokens?: number | undefined;
|
|
3899
4077
|
artifacts?: string | undefined;
|
|
4078
|
+
chatProjectId?: string | null | undefined;
|
|
3900
4079
|
resendFiles?: boolean | undefined;
|
|
3901
4080
|
imageDetail?: ImageDetail | undefined;
|
|
3902
4081
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -3908,11 +4087,11 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3908
4087
|
stop?: string[] | undefined;
|
|
3909
4088
|
greeting?: string | undefined;
|
|
3910
4089
|
spec?: string | null | undefined;
|
|
4090
|
+
iconURL?: string | null | undefined;
|
|
3911
4091
|
fileTokenLimit?: number | undefined;
|
|
3912
4092
|
chatGptLabel?: string | null | undefined;
|
|
3913
4093
|
}, {
|
|
3914
4094
|
model?: string | null | undefined;
|
|
3915
|
-
iconURL?: string | null | undefined;
|
|
3916
4095
|
modelLabel?: string | null | undefined;
|
|
3917
4096
|
promptPrefix?: string | null | undefined;
|
|
3918
4097
|
temperature?: number | null | undefined;
|
|
@@ -3922,6 +4101,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3922
4101
|
maxContextTokens?: string | number | undefined;
|
|
3923
4102
|
max_tokens?: string | number | undefined;
|
|
3924
4103
|
artifacts?: string | undefined;
|
|
4104
|
+
chatProjectId?: string | null | undefined;
|
|
3925
4105
|
resendFiles?: boolean | undefined;
|
|
3926
4106
|
imageDetail?: ImageDetail | undefined;
|
|
3927
4107
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -3933,6 +4113,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3933
4113
|
stop?: string[] | undefined;
|
|
3934
4114
|
greeting?: string | undefined;
|
|
3935
4115
|
spec?: string | null | undefined;
|
|
4116
|
+
iconURL?: string | null | undefined;
|
|
3936
4117
|
fileTokenLimit?: string | number | undefined;
|
|
3937
4118
|
chatGptLabel?: string | null | undefined;
|
|
3938
4119
|
}>;
|
|
@@ -3954,16 +4135,20 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3954
4135
|
label: z.ZodString;
|
|
3955
4136
|
description: z.ZodString;
|
|
3956
4137
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4138
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
4139
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3957
4140
|
}, "strip", z.ZodTypeAny, {
|
|
3958
4141
|
description: string;
|
|
3959
4142
|
authField: string;
|
|
3960
4143
|
label: string;
|
|
3961
4144
|
optional?: boolean | undefined;
|
|
4145
|
+
sensitive?: boolean | undefined;
|
|
3962
4146
|
}, {
|
|
3963
4147
|
description: string;
|
|
3964
4148
|
authField: string;
|
|
3965
4149
|
label: string;
|
|
3966
4150
|
optional?: boolean | undefined;
|
|
4151
|
+
sensitive?: boolean | undefined;
|
|
3967
4152
|
}>, "many">>;
|
|
3968
4153
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
3969
4154
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3979,6 +4164,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3979
4164
|
authField: string;
|
|
3980
4165
|
label: string;
|
|
3981
4166
|
optional?: boolean | undefined;
|
|
4167
|
+
sensitive?: boolean | undefined;
|
|
3982
4168
|
}[] | undefined;
|
|
3983
4169
|
authenticated?: boolean | undefined;
|
|
3984
4170
|
chatMenu?: boolean | undefined;
|
|
@@ -3994,6 +4180,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3994
4180
|
authField: string;
|
|
3995
4181
|
label: string;
|
|
3996
4182
|
optional?: boolean | undefined;
|
|
4183
|
+
sensitive?: boolean | undefined;
|
|
3997
4184
|
}[] | undefined;
|
|
3998
4185
|
authenticated?: boolean | undefined;
|
|
3999
4186
|
chatMenu?: boolean | undefined;
|
|
@@ -4053,6 +4240,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4053
4240
|
};
|
|
4054
4241
|
}>, "many">>;
|
|
4055
4242
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4243
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4056
4244
|
createdAt: z.ZodString;
|
|
4057
4245
|
updatedAt: z.ZodString;
|
|
4058
4246
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4081,14 +4269,14 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4081
4269
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4082
4270
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4083
4271
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4272
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
4084
4273
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4085
4274
|
/** @deprecated */
|
|
4086
4275
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4087
4276
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4088
4277
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4089
|
-
}, "model" | "
|
|
4278
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel">, "strip", z.ZodTypeAny, {
|
|
4090
4279
|
model?: string | null | undefined;
|
|
4091
|
-
iconURL?: string | null | undefined;
|
|
4092
4280
|
modelLabel?: string | null | undefined;
|
|
4093
4281
|
promptPrefix?: string | null | undefined;
|
|
4094
4282
|
temperature?: number | null | undefined;
|
|
@@ -4098,6 +4286,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4098
4286
|
maxContextTokens?: number | undefined;
|
|
4099
4287
|
max_tokens?: number | undefined;
|
|
4100
4288
|
artifacts?: string | undefined;
|
|
4289
|
+
chatProjectId?: string | null | undefined;
|
|
4101
4290
|
resendFiles?: boolean | undefined;
|
|
4102
4291
|
imageDetail?: ImageDetail | undefined;
|
|
4103
4292
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4109,11 +4298,11 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4109
4298
|
stop?: string[] | undefined;
|
|
4110
4299
|
greeting?: string | undefined;
|
|
4111
4300
|
spec?: string | null | undefined;
|
|
4301
|
+
iconURL?: string | null | undefined;
|
|
4112
4302
|
fileTokenLimit?: number | undefined;
|
|
4113
4303
|
chatGptLabel?: string | null | undefined;
|
|
4114
4304
|
}, {
|
|
4115
4305
|
model?: string | null | undefined;
|
|
4116
|
-
iconURL?: string | null | undefined;
|
|
4117
4306
|
modelLabel?: string | null | undefined;
|
|
4118
4307
|
promptPrefix?: string | null | undefined;
|
|
4119
4308
|
temperature?: number | null | undefined;
|
|
@@ -4123,6 +4312,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4123
4312
|
maxContextTokens?: string | number | undefined;
|
|
4124
4313
|
max_tokens?: string | number | undefined;
|
|
4125
4314
|
artifacts?: string | undefined;
|
|
4315
|
+
chatProjectId?: string | null | undefined;
|
|
4126
4316
|
resendFiles?: boolean | undefined;
|
|
4127
4317
|
imageDetail?: ImageDetail | undefined;
|
|
4128
4318
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4134,11 +4324,11 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4134
4324
|
stop?: string[] | undefined;
|
|
4135
4325
|
greeting?: string | undefined;
|
|
4136
4326
|
spec?: string | null | undefined;
|
|
4327
|
+
iconURL?: string | null | undefined;
|
|
4137
4328
|
fileTokenLimit?: string | number | undefined;
|
|
4138
4329
|
chatGptLabel?: string | null | undefined;
|
|
4139
4330
|
}>, Partial<Partial<TConversation>>, {
|
|
4140
4331
|
model?: string | null | undefined;
|
|
4141
|
-
iconURL?: string | null | undefined;
|
|
4142
4332
|
modelLabel?: string | null | undefined;
|
|
4143
4333
|
promptPrefix?: string | null | undefined;
|
|
4144
4334
|
temperature?: number | null | undefined;
|
|
@@ -4148,6 +4338,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4148
4338
|
maxContextTokens?: string | number | undefined;
|
|
4149
4339
|
max_tokens?: string | number | undefined;
|
|
4150
4340
|
artifacts?: string | undefined;
|
|
4341
|
+
chatProjectId?: string | null | undefined;
|
|
4151
4342
|
resendFiles?: boolean | undefined;
|
|
4152
4343
|
imageDetail?: ImageDetail | undefined;
|
|
4153
4344
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4159,6 +4350,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4159
4350
|
stop?: string[] | undefined;
|
|
4160
4351
|
greeting?: string | undefined;
|
|
4161
4352
|
spec?: string | null | undefined;
|
|
4353
|
+
iconURL?: string | null | undefined;
|
|
4162
4354
|
fileTokenLimit?: string | number | undefined;
|
|
4163
4355
|
chatGptLabel?: string | null | undefined;
|
|
4164
4356
|
}>>;
|
|
@@ -4180,16 +4372,20 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4180
4372
|
label: z.ZodString;
|
|
4181
4373
|
description: z.ZodString;
|
|
4182
4374
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4375
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
4376
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4183
4377
|
}, "strip", z.ZodTypeAny, {
|
|
4184
4378
|
description: string;
|
|
4185
4379
|
authField: string;
|
|
4186
4380
|
label: string;
|
|
4187
4381
|
optional?: boolean | undefined;
|
|
4382
|
+
sensitive?: boolean | undefined;
|
|
4188
4383
|
}, {
|
|
4189
4384
|
description: string;
|
|
4190
4385
|
authField: string;
|
|
4191
4386
|
label: string;
|
|
4192
4387
|
optional?: boolean | undefined;
|
|
4388
|
+
sensitive?: boolean | undefined;
|
|
4193
4389
|
}>, "many">>;
|
|
4194
4390
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
4195
4391
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4205,6 +4401,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4205
4401
|
authField: string;
|
|
4206
4402
|
label: string;
|
|
4207
4403
|
optional?: boolean | undefined;
|
|
4404
|
+
sensitive?: boolean | undefined;
|
|
4208
4405
|
}[] | undefined;
|
|
4209
4406
|
authenticated?: boolean | undefined;
|
|
4210
4407
|
chatMenu?: boolean | undefined;
|
|
@@ -4220,6 +4417,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4220
4417
|
authField: string;
|
|
4221
4418
|
label: string;
|
|
4222
4419
|
optional?: boolean | undefined;
|
|
4420
|
+
sensitive?: boolean | undefined;
|
|
4223
4421
|
}[] | undefined;
|
|
4224
4422
|
authenticated?: boolean | undefined;
|
|
4225
4423
|
chatMenu?: boolean | undefined;
|
|
@@ -4279,6 +4477,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4279
4477
|
};
|
|
4280
4478
|
}>, "many">>;
|
|
4281
4479
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4480
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4282
4481
|
createdAt: z.ZodString;
|
|
4283
4482
|
updatedAt: z.ZodString;
|
|
4284
4483
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4307,12 +4506,13 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4307
4506
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4308
4507
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4309
4508
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4509
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
4310
4510
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4311
4511
|
/** @deprecated */
|
|
4312
4512
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4313
4513
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4314
4514
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4315
|
-
}, "model" | "
|
|
4515
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxContextTokens" | "max_tokens" | "artifacts" | "chatProjectId" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "web_search" | "disableStreaming" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit" | "chatGptLabel"> & Pick<{
|
|
4316
4516
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
4317
4517
|
endpoint: z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>;
|
|
4318
4518
|
endpointType: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof EModelEndpoint>>>;
|
|
@@ -4330,16 +4530,20 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4330
4530
|
label: z.ZodString;
|
|
4331
4531
|
description: z.ZodString;
|
|
4332
4532
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4533
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
4534
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4333
4535
|
}, "strip", z.ZodTypeAny, {
|
|
4334
4536
|
description: string;
|
|
4335
4537
|
authField: string;
|
|
4336
4538
|
label: string;
|
|
4337
4539
|
optional?: boolean | undefined;
|
|
4540
|
+
sensitive?: boolean | undefined;
|
|
4338
4541
|
}, {
|
|
4339
4542
|
description: string;
|
|
4340
4543
|
authField: string;
|
|
4341
4544
|
label: string;
|
|
4342
4545
|
optional?: boolean | undefined;
|
|
4546
|
+
sensitive?: boolean | undefined;
|
|
4343
4547
|
}>, "many">>;
|
|
4344
4548
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
4345
4549
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4355,6 +4559,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4355
4559
|
authField: string;
|
|
4356
4560
|
label: string;
|
|
4357
4561
|
optional?: boolean | undefined;
|
|
4562
|
+
sensitive?: boolean | undefined;
|
|
4358
4563
|
}[] | undefined;
|
|
4359
4564
|
authenticated?: boolean | undefined;
|
|
4360
4565
|
chatMenu?: boolean | undefined;
|
|
@@ -4370,6 +4575,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4370
4575
|
authField: string;
|
|
4371
4576
|
label: string;
|
|
4372
4577
|
optional?: boolean | undefined;
|
|
4578
|
+
sensitive?: boolean | undefined;
|
|
4373
4579
|
}[] | undefined;
|
|
4374
4580
|
authenticated?: boolean | undefined;
|
|
4375
4581
|
chatMenu?: boolean | undefined;
|
|
@@ -4429,6 +4635,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4429
4635
|
};
|
|
4430
4636
|
}>, "many">>;
|
|
4431
4637
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4638
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4432
4639
|
createdAt: z.ZodString;
|
|
4433
4640
|
updatedAt: z.ZodString;
|
|
4434
4641
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4457,6 +4664,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4457
4664
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4458
4665
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4459
4666
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4667
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
4460
4668
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4461
4669
|
/** @deprecated */
|
|
4462
4670
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4464,7 +4672,6 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4464
4672
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4465
4673
|
}, "promptCache">, "strip", z.ZodTypeAny, {
|
|
4466
4674
|
model?: string | null | undefined;
|
|
4467
|
-
iconURL?: string | null | undefined;
|
|
4468
4675
|
modelLabel?: string | null | undefined;
|
|
4469
4676
|
promptPrefix?: string | null | undefined;
|
|
4470
4677
|
temperature?: number | null | undefined;
|
|
@@ -4475,6 +4682,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4475
4682
|
max_tokens?: number | undefined;
|
|
4476
4683
|
promptCache?: boolean | undefined;
|
|
4477
4684
|
artifacts?: string | undefined;
|
|
4685
|
+
chatProjectId?: string | null | undefined;
|
|
4478
4686
|
resendFiles?: boolean | undefined;
|
|
4479
4687
|
imageDetail?: ImageDetail | undefined;
|
|
4480
4688
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4486,11 +4694,11 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4486
4694
|
stop?: string[] | undefined;
|
|
4487
4695
|
greeting?: string | undefined;
|
|
4488
4696
|
spec?: string | null | undefined;
|
|
4697
|
+
iconURL?: string | null | undefined;
|
|
4489
4698
|
fileTokenLimit?: number | undefined;
|
|
4490
4699
|
chatGptLabel?: string | null | undefined;
|
|
4491
4700
|
}, {
|
|
4492
4701
|
model?: string | null | undefined;
|
|
4493
|
-
iconURL?: string | null | undefined;
|
|
4494
4702
|
modelLabel?: string | null | undefined;
|
|
4495
4703
|
promptPrefix?: string | null | undefined;
|
|
4496
4704
|
temperature?: number | null | undefined;
|
|
@@ -4501,6 +4709,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4501
4709
|
max_tokens?: string | number | undefined;
|
|
4502
4710
|
promptCache?: boolean | undefined;
|
|
4503
4711
|
artifacts?: string | undefined;
|
|
4712
|
+
chatProjectId?: string | null | undefined;
|
|
4504
4713
|
resendFiles?: boolean | undefined;
|
|
4505
4714
|
imageDetail?: ImageDetail | undefined;
|
|
4506
4715
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4512,11 +4721,11 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4512
4721
|
stop?: string[] | undefined;
|
|
4513
4722
|
greeting?: string | undefined;
|
|
4514
4723
|
spec?: string | null | undefined;
|
|
4724
|
+
iconURL?: string | null | undefined;
|
|
4515
4725
|
fileTokenLimit?: string | number | undefined;
|
|
4516
4726
|
chatGptLabel?: string | null | undefined;
|
|
4517
4727
|
}>, Partial<Partial<TConversation>>, {
|
|
4518
4728
|
model?: string | null | undefined;
|
|
4519
|
-
iconURL?: string | null | undefined;
|
|
4520
4729
|
modelLabel?: string | null | undefined;
|
|
4521
4730
|
promptPrefix?: string | null | undefined;
|
|
4522
4731
|
temperature?: number | null | undefined;
|
|
@@ -4527,6 +4736,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4527
4736
|
max_tokens?: string | number | undefined;
|
|
4528
4737
|
promptCache?: boolean | undefined;
|
|
4529
4738
|
artifacts?: string | undefined;
|
|
4739
|
+
chatProjectId?: string | null | undefined;
|
|
4530
4740
|
resendFiles?: boolean | undefined;
|
|
4531
4741
|
imageDetail?: ImageDetail | undefined;
|
|
4532
4742
|
reasoning_effort?: ReasoningEffort | null | undefined;
|
|
@@ -4538,6 +4748,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4538
4748
|
stop?: string[] | undefined;
|
|
4539
4749
|
greeting?: string | undefined;
|
|
4540
4750
|
spec?: string | null | undefined;
|
|
4751
|
+
iconURL?: string | null | undefined;
|
|
4541
4752
|
fileTokenLimit?: string | number | undefined;
|
|
4542
4753
|
chatGptLabel?: string | null | undefined;
|
|
4543
4754
|
}>>;
|
|
@@ -4559,16 +4770,20 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4559
4770
|
label: z.ZodString;
|
|
4560
4771
|
description: z.ZodString;
|
|
4561
4772
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
4773
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
4774
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4562
4775
|
}, "strip", z.ZodTypeAny, {
|
|
4563
4776
|
description: string;
|
|
4564
4777
|
authField: string;
|
|
4565
4778
|
label: string;
|
|
4566
4779
|
optional?: boolean | undefined;
|
|
4780
|
+
sensitive?: boolean | undefined;
|
|
4567
4781
|
}, {
|
|
4568
4782
|
description: string;
|
|
4569
4783
|
authField: string;
|
|
4570
4784
|
label: string;
|
|
4571
4785
|
optional?: boolean | undefined;
|
|
4786
|
+
sensitive?: boolean | undefined;
|
|
4572
4787
|
}>, "many">>;
|
|
4573
4788
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
4574
4789
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4584,6 +4799,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4584
4799
|
authField: string;
|
|
4585
4800
|
label: string;
|
|
4586
4801
|
optional?: boolean | undefined;
|
|
4802
|
+
sensitive?: boolean | undefined;
|
|
4587
4803
|
}[] | undefined;
|
|
4588
4804
|
authenticated?: boolean | undefined;
|
|
4589
4805
|
chatMenu?: boolean | undefined;
|
|
@@ -4599,6 +4815,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4599
4815
|
authField: string;
|
|
4600
4816
|
label: string;
|
|
4601
4817
|
optional?: boolean | undefined;
|
|
4818
|
+
sensitive?: boolean | undefined;
|
|
4602
4819
|
}[] | undefined;
|
|
4603
4820
|
authenticated?: boolean | undefined;
|
|
4604
4821
|
chatMenu?: boolean | undefined;
|
|
@@ -4658,6 +4875,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4658
4875
|
};
|
|
4659
4876
|
}>, "many">>;
|
|
4660
4877
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4878
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4661
4879
|
createdAt: z.ZodString;
|
|
4662
4880
|
updatedAt: z.ZodString;
|
|
4663
4881
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4686,14 +4904,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4686
4904
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4687
4905
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4688
4906
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4907
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
4689
4908
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4690
4909
|
/** @deprecated */
|
|
4691
4910
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4692
4911
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4693
4912
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4694
|
-
}, "model" | "
|
|
4913
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4695
4914
|
model?: string | null | undefined;
|
|
4696
|
-
iconURL?: string | null | undefined;
|
|
4697
4915
|
modelLabel?: string | null | undefined;
|
|
4698
4916
|
promptPrefix?: string | null | undefined;
|
|
4699
4917
|
temperature?: number | null | undefined;
|
|
@@ -4713,13 +4931,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4713
4931
|
content: string;
|
|
4714
4932
|
};
|
|
4715
4933
|
}[] | undefined;
|
|
4934
|
+
chatProjectId?: string | null | undefined;
|
|
4716
4935
|
web_search?: boolean | undefined;
|
|
4717
4936
|
greeting?: string | undefined;
|
|
4718
4937
|
spec?: string | null | undefined;
|
|
4938
|
+
iconURL?: string | null | undefined;
|
|
4719
4939
|
fileTokenLimit?: number | undefined;
|
|
4720
4940
|
}, {
|
|
4721
4941
|
model?: string | null | undefined;
|
|
4722
|
-
iconURL?: string | null | undefined;
|
|
4723
4942
|
modelLabel?: string | null | undefined;
|
|
4724
4943
|
promptPrefix?: string | null | undefined;
|
|
4725
4944
|
temperature?: number | null | undefined;
|
|
@@ -4739,13 +4958,14 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4739
4958
|
content: string;
|
|
4740
4959
|
};
|
|
4741
4960
|
}[] | undefined;
|
|
4961
|
+
chatProjectId?: string | null | undefined;
|
|
4742
4962
|
web_search?: boolean | undefined;
|
|
4743
4963
|
greeting?: string | undefined;
|
|
4744
4964
|
spec?: string | null | undefined;
|
|
4965
|
+
iconURL?: string | null | undefined;
|
|
4745
4966
|
fileTokenLimit?: string | number | undefined;
|
|
4746
4967
|
}>, Partial<Partial<TConversation>>, {
|
|
4747
4968
|
model?: string | null | undefined;
|
|
4748
|
-
iconURL?: string | null | undefined;
|
|
4749
4969
|
modelLabel?: string | null | undefined;
|
|
4750
4970
|
promptPrefix?: string | null | undefined;
|
|
4751
4971
|
temperature?: number | null | undefined;
|
|
@@ -4765,9 +4985,11 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4765
4985
|
content: string;
|
|
4766
4986
|
};
|
|
4767
4987
|
}[] | undefined;
|
|
4988
|
+
chatProjectId?: string | null | undefined;
|
|
4768
4989
|
web_search?: boolean | undefined;
|
|
4769
4990
|
greeting?: string | undefined;
|
|
4770
4991
|
spec?: string | null | undefined;
|
|
4992
|
+
iconURL?: string | null | undefined;
|
|
4771
4993
|
fileTokenLimit?: string | number | undefined;
|
|
4772
4994
|
}>>;
|
|
4773
4995
|
export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
@@ -4788,16 +5010,20 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4788
5010
|
label: z.ZodString;
|
|
4789
5011
|
description: z.ZodString;
|
|
4790
5012
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
5013
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
5014
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4791
5015
|
}, "strip", z.ZodTypeAny, {
|
|
4792
5016
|
description: string;
|
|
4793
5017
|
authField: string;
|
|
4794
5018
|
label: string;
|
|
4795
5019
|
optional?: boolean | undefined;
|
|
5020
|
+
sensitive?: boolean | undefined;
|
|
4796
5021
|
}, {
|
|
4797
5022
|
description: string;
|
|
4798
5023
|
authField: string;
|
|
4799
5024
|
label: string;
|
|
4800
5025
|
optional?: boolean | undefined;
|
|
5026
|
+
sensitive?: boolean | undefined;
|
|
4801
5027
|
}>, "many">>;
|
|
4802
5028
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
4803
5029
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4813,6 +5039,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4813
5039
|
authField: string;
|
|
4814
5040
|
label: string;
|
|
4815
5041
|
optional?: boolean | undefined;
|
|
5042
|
+
sensitive?: boolean | undefined;
|
|
4816
5043
|
}[] | undefined;
|
|
4817
5044
|
authenticated?: boolean | undefined;
|
|
4818
5045
|
chatMenu?: boolean | undefined;
|
|
@@ -4828,6 +5055,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4828
5055
|
authField: string;
|
|
4829
5056
|
label: string;
|
|
4830
5057
|
optional?: boolean | undefined;
|
|
5058
|
+
sensitive?: boolean | undefined;
|
|
4831
5059
|
}[] | undefined;
|
|
4832
5060
|
authenticated?: boolean | undefined;
|
|
4833
5061
|
chatMenu?: boolean | undefined;
|
|
@@ -4887,6 +5115,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4887
5115
|
};
|
|
4888
5116
|
}>, "many">>;
|
|
4889
5117
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5118
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4890
5119
|
createdAt: z.ZodString;
|
|
4891
5120
|
updatedAt: z.ZodString;
|
|
4892
5121
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4915,14 +5144,14 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4915
5144
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4916
5145
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4917
5146
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5147
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
4918
5148
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
4919
5149
|
/** @deprecated */
|
|
4920
5150
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4921
5151
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4922
5152
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4923
|
-
}, "model" | "
|
|
5153
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4924
5154
|
model?: string | null | undefined;
|
|
4925
|
-
iconURL?: string | null | undefined;
|
|
4926
5155
|
modelLabel?: string | null | undefined;
|
|
4927
5156
|
promptPrefix?: string | null | undefined;
|
|
4928
5157
|
temperature?: number | null | undefined;
|
|
@@ -4935,6 +5164,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4935
5164
|
thinkingBudget?: number | undefined;
|
|
4936
5165
|
stream?: boolean | undefined;
|
|
4937
5166
|
artifacts?: string | undefined;
|
|
5167
|
+
chatProjectId?: string | null | undefined;
|
|
4938
5168
|
resendFiles?: boolean | undefined;
|
|
4939
5169
|
effort?: AnthropicEffort | null | undefined;
|
|
4940
5170
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -4942,10 +5172,10 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4942
5172
|
stop?: string[] | undefined;
|
|
4943
5173
|
greeting?: string | undefined;
|
|
4944
5174
|
spec?: string | null | undefined;
|
|
5175
|
+
iconURL?: string | null | undefined;
|
|
4945
5176
|
fileTokenLimit?: number | undefined;
|
|
4946
5177
|
}, {
|
|
4947
5178
|
model?: string | null | undefined;
|
|
4948
|
-
iconURL?: string | null | undefined;
|
|
4949
5179
|
modelLabel?: string | null | undefined;
|
|
4950
5180
|
promptPrefix?: string | null | undefined;
|
|
4951
5181
|
temperature?: number | null | undefined;
|
|
@@ -4958,6 +5188,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4958
5188
|
thinkingBudget?: string | number | undefined;
|
|
4959
5189
|
stream?: boolean | undefined;
|
|
4960
5190
|
artifacts?: string | undefined;
|
|
5191
|
+
chatProjectId?: string | null | undefined;
|
|
4961
5192
|
resendFiles?: boolean | undefined;
|
|
4962
5193
|
effort?: AnthropicEffort | null | undefined;
|
|
4963
5194
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -4965,6 +5196,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4965
5196
|
stop?: string[] | undefined;
|
|
4966
5197
|
greeting?: string | undefined;
|
|
4967
5198
|
spec?: string | null | undefined;
|
|
5199
|
+
iconURL?: string | null | undefined;
|
|
4968
5200
|
fileTokenLimit?: string | number | undefined;
|
|
4969
5201
|
}>;
|
|
4970
5202
|
export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
@@ -4985,16 +5217,20 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4985
5217
|
label: z.ZodString;
|
|
4986
5218
|
description: z.ZodString;
|
|
4987
5219
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
5220
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
5221
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
4988
5222
|
}, "strip", z.ZodTypeAny, {
|
|
4989
5223
|
description: string;
|
|
4990
5224
|
authField: string;
|
|
4991
5225
|
label: string;
|
|
4992
5226
|
optional?: boolean | undefined;
|
|
5227
|
+
sensitive?: boolean | undefined;
|
|
4993
5228
|
}, {
|
|
4994
5229
|
description: string;
|
|
4995
5230
|
authField: string;
|
|
4996
5231
|
label: string;
|
|
4997
5232
|
optional?: boolean | undefined;
|
|
5233
|
+
sensitive?: boolean | undefined;
|
|
4998
5234
|
}>, "many">>;
|
|
4999
5235
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
5000
5236
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5010,6 +5246,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5010
5246
|
authField: string;
|
|
5011
5247
|
label: string;
|
|
5012
5248
|
optional?: boolean | undefined;
|
|
5249
|
+
sensitive?: boolean | undefined;
|
|
5013
5250
|
}[] | undefined;
|
|
5014
5251
|
authenticated?: boolean | undefined;
|
|
5015
5252
|
chatMenu?: boolean | undefined;
|
|
@@ -5025,6 +5262,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5025
5262
|
authField: string;
|
|
5026
5263
|
label: string;
|
|
5027
5264
|
optional?: boolean | undefined;
|
|
5265
|
+
sensitive?: boolean | undefined;
|
|
5028
5266
|
}[] | undefined;
|
|
5029
5267
|
authenticated?: boolean | undefined;
|
|
5030
5268
|
chatMenu?: boolean | undefined;
|
|
@@ -5084,6 +5322,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5084
5322
|
};
|
|
5085
5323
|
}>, "many">>;
|
|
5086
5324
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5325
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5087
5326
|
createdAt: z.ZodString;
|
|
5088
5327
|
updatedAt: z.ZodString;
|
|
5089
5328
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5112,14 +5351,14 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5112
5351
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5113
5352
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5114
5353
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5354
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
5115
5355
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5116
5356
|
/** @deprecated */
|
|
5117
5357
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5118
5358
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5119
5359
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5120
|
-
}, "model" | "
|
|
5360
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "chatProjectId" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
5121
5361
|
model?: string | null | undefined;
|
|
5122
|
-
iconURL?: string | null | undefined;
|
|
5123
5362
|
modelLabel?: string | null | undefined;
|
|
5124
5363
|
promptPrefix?: string | null | undefined;
|
|
5125
5364
|
temperature?: number | null | undefined;
|
|
@@ -5132,6 +5371,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5132
5371
|
thinkingBudget?: number | undefined;
|
|
5133
5372
|
stream?: boolean | undefined;
|
|
5134
5373
|
artifacts?: string | undefined;
|
|
5374
|
+
chatProjectId?: string | null | undefined;
|
|
5135
5375
|
resendFiles?: boolean | undefined;
|
|
5136
5376
|
effort?: AnthropicEffort | null | undefined;
|
|
5137
5377
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -5139,10 +5379,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5139
5379
|
stop?: string[] | undefined;
|
|
5140
5380
|
greeting?: string | undefined;
|
|
5141
5381
|
spec?: string | null | undefined;
|
|
5382
|
+
iconURL?: string | null | undefined;
|
|
5142
5383
|
fileTokenLimit?: number | undefined;
|
|
5143
5384
|
}, {
|
|
5144
5385
|
model?: string | null | undefined;
|
|
5145
|
-
iconURL?: string | null | undefined;
|
|
5146
5386
|
modelLabel?: string | null | undefined;
|
|
5147
5387
|
promptPrefix?: string | null | undefined;
|
|
5148
5388
|
temperature?: number | null | undefined;
|
|
@@ -5155,6 +5395,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5155
5395
|
thinkingBudget?: string | number | undefined;
|
|
5156
5396
|
stream?: boolean | undefined;
|
|
5157
5397
|
artifacts?: string | undefined;
|
|
5398
|
+
chatProjectId?: string | null | undefined;
|
|
5158
5399
|
resendFiles?: boolean | undefined;
|
|
5159
5400
|
effort?: AnthropicEffort | null | undefined;
|
|
5160
5401
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -5162,10 +5403,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5162
5403
|
stop?: string[] | undefined;
|
|
5163
5404
|
greeting?: string | undefined;
|
|
5164
5405
|
spec?: string | null | undefined;
|
|
5406
|
+
iconURL?: string | null | undefined;
|
|
5165
5407
|
fileTokenLimit?: string | number | undefined;
|
|
5166
5408
|
}>, Partial<{
|
|
5167
5409
|
model?: string | null | undefined;
|
|
5168
|
-
iconURL?: string | null | undefined;
|
|
5169
5410
|
modelLabel?: string | null | undefined;
|
|
5170
5411
|
promptPrefix?: string | null | undefined;
|
|
5171
5412
|
temperature?: number | null | undefined;
|
|
@@ -5178,6 +5419,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5178
5419
|
thinkingBudget?: number | undefined;
|
|
5179
5420
|
stream?: boolean | undefined;
|
|
5180
5421
|
artifacts?: string | undefined;
|
|
5422
|
+
chatProjectId?: string | null | undefined;
|
|
5181
5423
|
resendFiles?: boolean | undefined;
|
|
5182
5424
|
effort?: AnthropicEffort | null | undefined;
|
|
5183
5425
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -5185,10 +5427,10 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5185
5427
|
stop?: string[] | undefined;
|
|
5186
5428
|
greeting?: string | undefined;
|
|
5187
5429
|
spec?: string | null | undefined;
|
|
5430
|
+
iconURL?: string | null | undefined;
|
|
5188
5431
|
fileTokenLimit?: number | undefined;
|
|
5189
5432
|
}>, {
|
|
5190
5433
|
model?: string | null | undefined;
|
|
5191
|
-
iconURL?: string | null | undefined;
|
|
5192
5434
|
modelLabel?: string | null | undefined;
|
|
5193
5435
|
promptPrefix?: string | null | undefined;
|
|
5194
5436
|
temperature?: number | null | undefined;
|
|
@@ -5201,6 +5443,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5201
5443
|
thinkingBudget?: string | number | undefined;
|
|
5202
5444
|
stream?: boolean | undefined;
|
|
5203
5445
|
artifacts?: string | undefined;
|
|
5446
|
+
chatProjectId?: string | null | undefined;
|
|
5204
5447
|
resendFiles?: boolean | undefined;
|
|
5205
5448
|
effort?: AnthropicEffort | null | undefined;
|
|
5206
5449
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
@@ -5208,6 +5451,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5208
5451
|
stop?: string[] | undefined;
|
|
5209
5452
|
greeting?: string | undefined;
|
|
5210
5453
|
spec?: string | null | undefined;
|
|
5454
|
+
iconURL?: string | null | undefined;
|
|
5211
5455
|
fileTokenLimit?: string | number | undefined;
|
|
5212
5456
|
}>>;
|
|
5213
5457
|
export declare const tBannerSchema: z.ZodObject<{
|
|
@@ -5257,16 +5501,20 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5257
5501
|
label: z.ZodString;
|
|
5258
5502
|
description: z.ZodString;
|
|
5259
5503
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
5504
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
5505
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
5260
5506
|
}, "strip", z.ZodTypeAny, {
|
|
5261
5507
|
description: string;
|
|
5262
5508
|
authField: string;
|
|
5263
5509
|
label: string;
|
|
5264
5510
|
optional?: boolean | undefined;
|
|
5511
|
+
sensitive?: boolean | undefined;
|
|
5265
5512
|
}, {
|
|
5266
5513
|
description: string;
|
|
5267
5514
|
authField: string;
|
|
5268
5515
|
label: string;
|
|
5269
5516
|
optional?: boolean | undefined;
|
|
5517
|
+
sensitive?: boolean | undefined;
|
|
5270
5518
|
}>, "many">>;
|
|
5271
5519
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
5272
5520
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5282,6 +5530,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5282
5530
|
authField: string;
|
|
5283
5531
|
label: string;
|
|
5284
5532
|
optional?: boolean | undefined;
|
|
5533
|
+
sensitive?: boolean | undefined;
|
|
5285
5534
|
}[] | undefined;
|
|
5286
5535
|
authenticated?: boolean | undefined;
|
|
5287
5536
|
chatMenu?: boolean | undefined;
|
|
@@ -5297,6 +5546,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5297
5546
|
authField: string;
|
|
5298
5547
|
label: string;
|
|
5299
5548
|
optional?: boolean | undefined;
|
|
5549
|
+
sensitive?: boolean | undefined;
|
|
5300
5550
|
}[] | undefined;
|
|
5301
5551
|
authenticated?: boolean | undefined;
|
|
5302
5552
|
chatMenu?: boolean | undefined;
|
|
@@ -5356,6 +5606,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5356
5606
|
};
|
|
5357
5607
|
}>, "many">>;
|
|
5358
5608
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5609
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5359
5610
|
createdAt: z.ZodString;
|
|
5360
5611
|
updatedAt: z.ZodString;
|
|
5361
5612
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5384,25 +5635,28 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5384
5635
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5385
5636
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5386
5637
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5638
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
5387
5639
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5388
5640
|
/** @deprecated */
|
|
5389
5641
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5390
5642
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5391
5643
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5392
|
-
}, "
|
|
5393
|
-
|
|
5644
|
+
}, "chatProjectId" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
5645
|
+
chatProjectId?: string | null | undefined;
|
|
5394
5646
|
agent_id?: string | undefined;
|
|
5395
5647
|
instructions?: string | undefined;
|
|
5396
5648
|
additional_instructions?: string | undefined;
|
|
5397
5649
|
greeting?: string | undefined;
|
|
5398
5650
|
spec?: string | null | undefined;
|
|
5399
|
-
}, {
|
|
5400
5651
|
iconURL?: string | null | undefined;
|
|
5652
|
+
}, {
|
|
5653
|
+
chatProjectId?: string | null | undefined;
|
|
5401
5654
|
agent_id?: string | undefined;
|
|
5402
5655
|
instructions?: string | undefined;
|
|
5403
5656
|
additional_instructions?: string | undefined;
|
|
5404
5657
|
greeting?: string | undefined;
|
|
5405
5658
|
spec?: string | null | undefined;
|
|
5659
|
+
iconURL?: string | null | undefined;
|
|
5406
5660
|
}>;
|
|
5407
5661
|
export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
5408
5662
|
conversationId: z.ZodNullable<z.ZodString>;
|
|
@@ -5422,16 +5676,20 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5422
5676
|
label: z.ZodString;
|
|
5423
5677
|
description: z.ZodString;
|
|
5424
5678
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
5679
|
+
/** Whether the field holds a secret and should be masked in the UI (defaults to masked when omitted). */
|
|
5680
|
+
sensitive: z.ZodOptional<z.ZodBoolean>;
|
|
5425
5681
|
}, "strip", z.ZodTypeAny, {
|
|
5426
5682
|
description: string;
|
|
5427
5683
|
authField: string;
|
|
5428
5684
|
label: string;
|
|
5429
5685
|
optional?: boolean | undefined;
|
|
5686
|
+
sensitive?: boolean | undefined;
|
|
5430
5687
|
}, {
|
|
5431
5688
|
description: string;
|
|
5432
5689
|
authField: string;
|
|
5433
5690
|
label: string;
|
|
5434
5691
|
optional?: boolean | undefined;
|
|
5692
|
+
sensitive?: boolean | undefined;
|
|
5435
5693
|
}>, "many">>;
|
|
5436
5694
|
authenticated: z.ZodOptional<z.ZodBoolean>;
|
|
5437
5695
|
chatMenu: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5447,6 +5705,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5447
5705
|
authField: string;
|
|
5448
5706
|
label: string;
|
|
5449
5707
|
optional?: boolean | undefined;
|
|
5708
|
+
sensitive?: boolean | undefined;
|
|
5450
5709
|
}[] | undefined;
|
|
5451
5710
|
authenticated?: boolean | undefined;
|
|
5452
5711
|
chatMenu?: boolean | undefined;
|
|
@@ -5462,6 +5721,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5462
5721
|
authField: string;
|
|
5463
5722
|
label: string;
|
|
5464
5723
|
optional?: boolean | undefined;
|
|
5724
|
+
sensitive?: boolean | undefined;
|
|
5465
5725
|
}[] | undefined;
|
|
5466
5726
|
authenticated?: boolean | undefined;
|
|
5467
5727
|
chatMenu?: boolean | undefined;
|
|
@@ -5521,6 +5781,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5521
5781
|
};
|
|
5522
5782
|
}>, "many">>;
|
|
5523
5783
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
5784
|
+
chatProjectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5524
5785
|
createdAt: z.ZodString;
|
|
5525
5786
|
updatedAt: z.ZodString;
|
|
5526
5787
|
resendFiles: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5549,38 +5810,43 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5549
5810
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5550
5811
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5551
5812
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5813
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
5552
5814
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
5553
5815
|
/** @deprecated */
|
|
5554
5816
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
5555
5817
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
5556
5818
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5557
|
-
}, "
|
|
5558
|
-
|
|
5819
|
+
}, "chatProjectId" | "agent_id" | "instructions" | "additional_instructions" | "greeting" | "spec" | "iconURL">, "strip", z.ZodTypeAny, {
|
|
5820
|
+
chatProjectId?: string | null | undefined;
|
|
5559
5821
|
agent_id?: string | undefined;
|
|
5560
5822
|
instructions?: string | undefined;
|
|
5561
5823
|
additional_instructions?: string | undefined;
|
|
5562
5824
|
greeting?: string | undefined;
|
|
5563
5825
|
spec?: string | null | undefined;
|
|
5564
|
-
}, {
|
|
5565
5826
|
iconURL?: string | null | undefined;
|
|
5827
|
+
}, {
|
|
5828
|
+
chatProjectId?: string | null | undefined;
|
|
5566
5829
|
agent_id?: string | undefined;
|
|
5567
5830
|
instructions?: string | undefined;
|
|
5568
5831
|
additional_instructions?: string | undefined;
|
|
5569
5832
|
greeting?: string | undefined;
|
|
5570
5833
|
spec?: string | null | undefined;
|
|
5571
|
-
}>, Partial<{
|
|
5572
5834
|
iconURL?: string | null | undefined;
|
|
5835
|
+
}>, Partial<{
|
|
5836
|
+
chatProjectId?: string | null | undefined;
|
|
5573
5837
|
agent_id?: string | undefined;
|
|
5574
5838
|
instructions?: string | undefined;
|
|
5575
5839
|
additional_instructions?: string | undefined;
|
|
5576
5840
|
greeting?: string | undefined;
|
|
5577
5841
|
spec?: string | null | undefined;
|
|
5578
|
-
}>, {
|
|
5579
5842
|
iconURL?: string | null | undefined;
|
|
5843
|
+
}>, {
|
|
5844
|
+
chatProjectId?: string | null | undefined;
|
|
5580
5845
|
agent_id?: string | undefined;
|
|
5581
5846
|
instructions?: string | undefined;
|
|
5582
5847
|
additional_instructions?: string | undefined;
|
|
5583
5848
|
greeting?: string | undefined;
|
|
5584
5849
|
spec?: string | null | undefined;
|
|
5850
|
+
iconURL?: string | null | undefined;
|
|
5585
5851
|
}>>;
|
|
5586
5852
|
export {};
|