librechat-data-provider 0.8.407 → 0.8.501
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-query/index.es.js +1 -1
- package/dist/react-query/index.es.js.map +1 -1
- package/dist/types/bedrock.d.ts +32 -10
- package/dist/types/config.d.ts +167 -30
- package/dist/types/data-service.d.ts +2 -7
- package/dist/types/file-config.d.ts +2 -0
- package/dist/types/generate.d.ts +2 -0
- package/dist/types/models.d.ts +12 -0
- package/dist/types/schemas.d.ts +67 -3
- package/dist/types/types/queries.d.ts +11 -0
- package/dist/types/types.d.ts +2 -1
- package/package.json +2 -2
package/dist/types/generate.d.ts
CHANGED
|
@@ -220,6 +220,7 @@ export declare const generateOpenAISchema: (customOpenAI: OpenAISettings) => z.Z
|
|
|
220
220
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
221
221
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
222
222
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
223
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
|
|
223
224
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
224
225
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
225
226
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -459,6 +460,7 @@ export declare const generateGoogleSchema: (customGoogle: GoogleSettings) => z.Z
|
|
|
459
460
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
460
461
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
461
462
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
463
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
|
|
462
464
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
463
465
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
464
466
|
assistant_id: z.ZodOptional<z.ZodString>;
|
package/dist/types/models.d.ts
CHANGED
|
@@ -156,6 +156,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
156
156
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
157
157
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
158
158
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
159
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
|
|
159
160
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
160
161
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
161
162
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -285,6 +286,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
285
286
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
286
287
|
useResponsesApi?: boolean | undefined;
|
|
287
288
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
289
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
288
290
|
web_search?: boolean | undefined;
|
|
289
291
|
disableStreaming?: boolean | undefined;
|
|
290
292
|
assistant_id?: string | undefined;
|
|
@@ -376,6 +378,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
376
378
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
377
379
|
useResponsesApi?: boolean | undefined;
|
|
378
380
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
381
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
379
382
|
web_search?: boolean | undefined;
|
|
380
383
|
disableStreaming?: boolean | undefined;
|
|
381
384
|
assistant_id?: string | undefined;
|
|
@@ -485,6 +488,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
485
488
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
486
489
|
useResponsesApi?: boolean | undefined;
|
|
487
490
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
491
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
488
492
|
web_search?: boolean | undefined;
|
|
489
493
|
disableStreaming?: boolean | undefined;
|
|
490
494
|
assistant_id?: string | undefined;
|
|
@@ -594,6 +598,7 @@ export declare const tModelSpecSchema: z.ZodObject<{
|
|
|
594
598
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
595
599
|
useResponsesApi?: boolean | undefined;
|
|
596
600
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
601
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
597
602
|
web_search?: boolean | undefined;
|
|
598
603
|
disableStreaming?: boolean | undefined;
|
|
599
604
|
assistant_id?: string | undefined;
|
|
@@ -774,6 +779,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
774
779
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").Verbosity>>>;
|
|
775
780
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
776
781
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").AnthropicEffort>>>;
|
|
782
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("./schemas").ThinkingDisplay>>>;
|
|
777
783
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
778
784
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
779
785
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -903,6 +909,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
903
909
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
904
910
|
useResponsesApi?: boolean | undefined;
|
|
905
911
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
912
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
906
913
|
web_search?: boolean | undefined;
|
|
907
914
|
disableStreaming?: boolean | undefined;
|
|
908
915
|
assistant_id?: string | undefined;
|
|
@@ -994,6 +1001,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
994
1001
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
995
1002
|
useResponsesApi?: boolean | undefined;
|
|
996
1003
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
1004
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
997
1005
|
web_search?: boolean | undefined;
|
|
998
1006
|
disableStreaming?: boolean | undefined;
|
|
999
1007
|
assistant_id?: string | undefined;
|
|
@@ -1103,6 +1111,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1103
1111
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1104
1112
|
useResponsesApi?: boolean | undefined;
|
|
1105
1113
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
1114
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
1106
1115
|
web_search?: boolean | undefined;
|
|
1107
1116
|
disableStreaming?: boolean | undefined;
|
|
1108
1117
|
assistant_id?: string | undefined;
|
|
@@ -1212,6 +1221,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1212
1221
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1213
1222
|
useResponsesApi?: boolean | undefined;
|
|
1214
1223
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
1224
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
1215
1225
|
web_search?: boolean | undefined;
|
|
1216
1226
|
disableStreaming?: boolean | undefined;
|
|
1217
1227
|
assistant_id?: string | undefined;
|
|
@@ -1326,6 +1336,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1326
1336
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1327
1337
|
useResponsesApi?: boolean | undefined;
|
|
1328
1338
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
1339
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
1329
1340
|
web_search?: boolean | undefined;
|
|
1330
1341
|
disableStreaming?: boolean | undefined;
|
|
1331
1342
|
assistant_id?: string | undefined;
|
|
@@ -1438,6 +1449,7 @@ export declare const specsConfigSchema: z.ZodObject<{
|
|
|
1438
1449
|
verbosity?: import("./schemas").Verbosity | null | undefined;
|
|
1439
1450
|
useResponsesApi?: boolean | undefined;
|
|
1440
1451
|
effort?: import("./schemas").AnthropicEffort | null | undefined;
|
|
1452
|
+
thinkingDisplay?: import("./schemas").ThinkingDisplay | null | undefined;
|
|
1441
1453
|
web_search?: boolean | undefined;
|
|
1442
1454
|
disableStreaming?: boolean | undefined;
|
|
1443
1455
|
assistant_id?: string | undefined;
|
package/dist/types/schemas.d.ts
CHANGED
|
@@ -84,8 +84,29 @@ export declare enum AnthropicEffort {
|
|
|
84
84
|
low = "low",
|
|
85
85
|
medium = "medium",
|
|
86
86
|
high = "high",
|
|
87
|
+
xhigh = "xhigh",
|
|
87
88
|
max = "max"
|
|
88
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* Controls whether the model's reasoning content is returned in responses.
|
|
92
|
+
*
|
|
93
|
+
* - `'auto'` - LibreChat decides: opt in to `'summarized'` for models that
|
|
94
|
+
* omit by default (Opus 4.7+), leave the field off for older models.
|
|
95
|
+
* - `'summarized'` - always request a post-hoc summary of the reasoning.
|
|
96
|
+
* - `'omitted'` - always suppress reasoning content. Slightly lower latency.
|
|
97
|
+
*
|
|
98
|
+
* See https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-7#thinking-content-omitted-by-default
|
|
99
|
+
*/
|
|
100
|
+
export declare enum ThinkingDisplay {
|
|
101
|
+
auto = "auto",
|
|
102
|
+
summarized = "summarized",
|
|
103
|
+
omitted = "omitted"
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Wire-level values accepted by the Anthropic Messages API `thinking.display`
|
|
107
|
+
* field. Excludes the LibreChat-only `'auto'` sentinel.
|
|
108
|
+
*/
|
|
109
|
+
export type ThinkingDisplayWireValue = Exclude<ThinkingDisplay, ThinkingDisplay.auto>;
|
|
89
110
|
export declare enum BedrockReasoningConfig {
|
|
90
111
|
low = "low",
|
|
91
112
|
medium = "medium",
|
|
@@ -123,6 +144,7 @@ export declare const imageDetailValue: {
|
|
|
123
144
|
export declare const eImageDetailSchema: z.ZodNativeEnum<typeof ImageDetail>;
|
|
124
145
|
export declare const eReasoningEffortSchema: z.ZodNativeEnum<typeof ReasoningEffort>;
|
|
125
146
|
export declare const eAnthropicEffortSchema: z.ZodNativeEnum<typeof AnthropicEffort>;
|
|
147
|
+
export declare const eThinkingDisplaySchema: z.ZodNativeEnum<typeof ThinkingDisplay>;
|
|
126
148
|
export declare const eReasoningSummarySchema: z.ZodNativeEnum<typeof ReasoningSummary>;
|
|
127
149
|
export declare const eVerbositySchema: z.ZodNativeEnum<typeof Verbosity>;
|
|
128
150
|
export declare const eThinkingLevelSchema: z.ZodNativeEnum<typeof ThinkingLevel>;
|
|
@@ -313,6 +335,10 @@ export declare const anthropicSettings: {
|
|
|
313
335
|
default: AnthropicEffort;
|
|
314
336
|
options: AnthropicEffort[];
|
|
315
337
|
};
|
|
338
|
+
thinkingDisplay: {
|
|
339
|
+
default: ThinkingDisplay;
|
|
340
|
+
options: ThinkingDisplay[];
|
|
341
|
+
};
|
|
316
342
|
web_search: {
|
|
317
343
|
default: false;
|
|
318
344
|
};
|
|
@@ -507,6 +533,10 @@ export declare const endpointSettings: {
|
|
|
507
533
|
default: AnthropicEffort;
|
|
508
534
|
options: AnthropicEffort[];
|
|
509
535
|
};
|
|
536
|
+
thinkingDisplay: {
|
|
537
|
+
default: ThinkingDisplay;
|
|
538
|
+
options: ThinkingDisplay[];
|
|
539
|
+
};
|
|
510
540
|
web_search: {
|
|
511
541
|
default: false;
|
|
512
542
|
};
|
|
@@ -992,6 +1022,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
992
1022
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
993
1023
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
994
1024
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1025
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
995
1026
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
996
1027
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
997
1028
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1080,6 +1111,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1080
1111
|
verbosity?: Verbosity | null | undefined;
|
|
1081
1112
|
useResponsesApi?: boolean | undefined;
|
|
1082
1113
|
effort?: AnthropicEffort | null | undefined;
|
|
1114
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1083
1115
|
web_search?: boolean | undefined;
|
|
1084
1116
|
disableStreaming?: boolean | undefined;
|
|
1085
1117
|
assistant_id?: string | undefined;
|
|
@@ -1164,6 +1196,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1164
1196
|
verbosity?: Verbosity | null | undefined;
|
|
1165
1197
|
useResponsesApi?: boolean | undefined;
|
|
1166
1198
|
effort?: AnthropicEffort | null | undefined;
|
|
1199
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1167
1200
|
web_search?: boolean | undefined;
|
|
1168
1201
|
disableStreaming?: boolean | undefined;
|
|
1169
1202
|
assistant_id?: string | undefined;
|
|
@@ -1306,6 +1339,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1306
1339
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1307
1340
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1308
1341
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1342
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1309
1343
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1310
1344
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1311
1345
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1395,6 +1429,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1395
1429
|
verbosity?: Verbosity | null | undefined;
|
|
1396
1430
|
useResponsesApi?: boolean | undefined;
|
|
1397
1431
|
effort?: AnthropicEffort | null | undefined;
|
|
1432
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1398
1433
|
web_search?: boolean | undefined;
|
|
1399
1434
|
disableStreaming?: boolean | undefined;
|
|
1400
1435
|
assistant_id?: string | undefined;
|
|
@@ -1480,6 +1515,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1480
1515
|
verbosity?: Verbosity | null | undefined;
|
|
1481
1516
|
useResponsesApi?: boolean | undefined;
|
|
1482
1517
|
effort?: AnthropicEffort | null | undefined;
|
|
1518
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1483
1519
|
web_search?: boolean | undefined;
|
|
1484
1520
|
disableStreaming?: boolean | undefined;
|
|
1485
1521
|
assistant_id?: string | undefined;
|
|
@@ -1626,6 +1662,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1626
1662
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1627
1663
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1628
1664
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1665
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1629
1666
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1630
1667
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1631
1668
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1715,6 +1752,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1715
1752
|
verbosity?: Verbosity | null | undefined;
|
|
1716
1753
|
useResponsesApi?: boolean | undefined;
|
|
1717
1754
|
effort?: AnthropicEffort | null | undefined;
|
|
1755
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1718
1756
|
web_search?: boolean | undefined;
|
|
1719
1757
|
disableStreaming?: boolean | undefined;
|
|
1720
1758
|
assistant_id?: string | undefined;
|
|
@@ -1799,6 +1837,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1799
1837
|
verbosity?: Verbosity | null | undefined;
|
|
1800
1838
|
useResponsesApi?: boolean | undefined;
|
|
1801
1839
|
effort?: AnthropicEffort | null | undefined;
|
|
1840
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1802
1841
|
web_search?: boolean | undefined;
|
|
1803
1842
|
disableStreaming?: boolean | undefined;
|
|
1804
1843
|
assistant_id?: string | undefined;
|
|
@@ -1945,6 +1984,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1945
1984
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
1946
1985
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
1947
1986
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1987
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1948
1988
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1949
1989
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1950
1990
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1967,7 +2007,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1967
2007
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1968
2008
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
1969
2009
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1970
|
-
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "web_search" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
2010
|
+
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
1971
2011
|
/** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
|
|
1972
2012
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
1973
2013
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1994,6 +2034,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
1994
2034
|
verbosity?: Verbosity | null | undefined;
|
|
1995
2035
|
useResponsesApi?: boolean | undefined;
|
|
1996
2036
|
effort?: AnthropicEffort | null | undefined;
|
|
2037
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1997
2038
|
web_search?: boolean | undefined;
|
|
1998
2039
|
disableStreaming?: boolean | undefined;
|
|
1999
2040
|
assistant_id?: string | undefined;
|
|
@@ -2029,6 +2070,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2029
2070
|
verbosity?: Verbosity | null | undefined;
|
|
2030
2071
|
useResponsesApi?: boolean | undefined;
|
|
2031
2072
|
effort?: AnthropicEffort | null | undefined;
|
|
2073
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2032
2074
|
web_search?: boolean | undefined;
|
|
2033
2075
|
disableStreaming?: boolean | undefined;
|
|
2034
2076
|
assistant_id?: string | undefined;
|
|
@@ -2165,6 +2207,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2165
2207
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2166
2208
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2167
2209
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2210
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2168
2211
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2169
2212
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2170
2213
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2245,6 +2288,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2245
2288
|
verbosity?: Verbosity | null | undefined;
|
|
2246
2289
|
useResponsesApi?: boolean | undefined;
|
|
2247
2290
|
effort?: AnthropicEffort | null | undefined;
|
|
2291
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2248
2292
|
web_search?: boolean | undefined;
|
|
2249
2293
|
disableStreaming?: boolean | undefined;
|
|
2250
2294
|
assistant_id?: string | undefined;
|
|
@@ -2312,6 +2356,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2312
2356
|
verbosity?: Verbosity | null | undefined;
|
|
2313
2357
|
useResponsesApi?: boolean | undefined;
|
|
2314
2358
|
effort?: AnthropicEffort | null | undefined;
|
|
2359
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2315
2360
|
web_search?: boolean | undefined;
|
|
2316
2361
|
disableStreaming?: boolean | undefined;
|
|
2317
2362
|
assistant_id?: string | undefined;
|
|
@@ -2514,6 +2559,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2514
2559
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2515
2560
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2516
2561
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2562
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2517
2563
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2518
2564
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2519
2565
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2716,6 +2762,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2716
2762
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
2717
2763
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
2718
2764
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2765
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2719
2766
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2720
2767
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2721
2768
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3002,6 +3049,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3002
3049
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3003
3050
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3004
3051
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3052
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3005
3053
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3006
3054
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3007
3055
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3192,6 +3240,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3192
3240
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3193
3241
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3194
3242
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3243
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3195
3244
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3196
3245
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3197
3246
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3378,6 +3427,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3378
3427
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3379
3428
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3380
3429
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3430
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3381
3431
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3382
3432
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3383
3433
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3558,6 +3608,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3558
3608
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3559
3609
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3560
3610
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3611
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3561
3612
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3562
3613
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3563
3614
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3768,6 +3819,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
3768
3819
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3769
3820
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3770
3821
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3822
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3771
3823
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3772
3824
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3773
3825
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3968,6 +4020,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3968
4020
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
3969
4021
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
3970
4022
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4023
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3971
4024
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3972
4025
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3973
4026
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4193,6 +4246,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4193
4246
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4194
4247
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4195
4248
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4249
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4196
4250
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4197
4251
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4198
4252
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4421,6 +4475,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4421
4475
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4422
4476
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4423
4477
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4478
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4424
4479
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4425
4480
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4426
4481
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4443,7 +4498,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4443
4498
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4444
4499
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4445
4500
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4446
|
-
}, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4501
|
+
}, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4447
4502
|
model?: string | null | undefined;
|
|
4448
4503
|
iconURL?: string | null | undefined;
|
|
4449
4504
|
modelLabel?: string | null | undefined;
|
|
@@ -4460,6 +4515,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4460
4515
|
artifacts?: string | undefined;
|
|
4461
4516
|
resendFiles?: boolean | undefined;
|
|
4462
4517
|
effort?: AnthropicEffort | null | undefined;
|
|
4518
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4463
4519
|
web_search?: boolean | undefined;
|
|
4464
4520
|
stop?: string[] | undefined;
|
|
4465
4521
|
greeting?: string | undefined;
|
|
@@ -4482,6 +4538,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
4482
4538
|
artifacts?: string | undefined;
|
|
4483
4539
|
resendFiles?: boolean | undefined;
|
|
4484
4540
|
effort?: AnthropicEffort | null | undefined;
|
|
4541
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4485
4542
|
web_search?: boolean | undefined;
|
|
4486
4543
|
stop?: string[] | undefined;
|
|
4487
4544
|
greeting?: string | undefined;
|
|
@@ -4615,6 +4672,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4615
4672
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4616
4673
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4617
4674
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4675
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4618
4676
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4619
4677
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4620
4678
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4637,7 +4695,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4637
4695
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4638
4696
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4639
4697
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4640
|
-
}, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4698
|
+
}, "model" | "iconURL" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "promptCache" | "thinking" | "thinkingBudget" | "stream" | "artifacts" | "resendFiles" | "effort" | "thinkingDisplay" | "web_search" | "stop" | "greeting" | "spec" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
4641
4699
|
model?: string | null | undefined;
|
|
4642
4700
|
iconURL?: string | null | undefined;
|
|
4643
4701
|
modelLabel?: string | null | undefined;
|
|
@@ -4654,6 +4712,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4654
4712
|
artifacts?: string | undefined;
|
|
4655
4713
|
resendFiles?: boolean | undefined;
|
|
4656
4714
|
effort?: AnthropicEffort | null | undefined;
|
|
4715
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4657
4716
|
web_search?: boolean | undefined;
|
|
4658
4717
|
stop?: string[] | undefined;
|
|
4659
4718
|
greeting?: string | undefined;
|
|
@@ -4676,6 +4735,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4676
4735
|
artifacts?: string | undefined;
|
|
4677
4736
|
resendFiles?: boolean | undefined;
|
|
4678
4737
|
effort?: AnthropicEffort | null | undefined;
|
|
4738
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4679
4739
|
web_search?: boolean | undefined;
|
|
4680
4740
|
stop?: string[] | undefined;
|
|
4681
4741
|
greeting?: string | undefined;
|
|
@@ -4698,6 +4758,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4698
4758
|
artifacts?: string | undefined;
|
|
4699
4759
|
resendFiles?: boolean | undefined;
|
|
4700
4760
|
effort?: AnthropicEffort | null | undefined;
|
|
4761
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4701
4762
|
web_search?: boolean | undefined;
|
|
4702
4763
|
stop?: string[] | undefined;
|
|
4703
4764
|
greeting?: string | undefined;
|
|
@@ -4720,6 +4781,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4720
4781
|
artifacts?: string | undefined;
|
|
4721
4782
|
resendFiles?: boolean | undefined;
|
|
4722
4783
|
effort?: AnthropicEffort | null | undefined;
|
|
4784
|
+
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
4723
4785
|
web_search?: boolean | undefined;
|
|
4724
4786
|
stop?: string[] | undefined;
|
|
4725
4787
|
greeting?: string | undefined;
|
|
@@ -4882,6 +4944,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
4882
4944
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
4883
4945
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
4884
4946
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4947
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4885
4948
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4886
4949
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4887
4950
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5046,6 +5109,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5046
5109
|
verbosity: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof Verbosity>>>;
|
|
5047
5110
|
useResponsesApi: z.ZodOptional<z.ZodBoolean>;
|
|
5048
5111
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
5112
|
+
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
5049
5113
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5050
5114
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5051
5115
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
@@ -168,6 +168,17 @@ export interface MCPAuthValuesResponse {
|
|
|
168
168
|
serverName: string;
|
|
169
169
|
authValueFlags: Record<string, boolean>;
|
|
170
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* User Favorites — pinned agents, models, and model specs.
|
|
173
|
+
* Exactly one variant should be set per entry; exclusivity is enforced
|
|
174
|
+
* server-side in FavoritesController. Shape is loose for state-update ergonomics.
|
|
175
|
+
*/
|
|
176
|
+
export type TUserFavorite = {
|
|
177
|
+
agentId?: string;
|
|
178
|
+
model?: string;
|
|
179
|
+
endpoint?: string;
|
|
180
|
+
spec?: string;
|
|
181
|
+
};
|
|
171
182
|
export type GraphTokenParams = {
|
|
172
183
|
scopes: string;
|
|
173
184
|
};
|
package/dist/types/types.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { ContentTypes } from './types/runs';
|
|
|
6
6
|
import type { Agent } from './types/assistants';
|
|
7
7
|
export * from './schemas';
|
|
8
8
|
export type TMessages = TMessage[];
|
|
9
|
-
export type TEndpointOption = Pick<TConversation, 'endpoint' | 'endpointType' | 'model' | 'modelLabel' | 'chatGptLabel' | 'promptPrefix' | 'temperature' | 'topP' | 'topK' | 'top_p' | 'frequency_penalty' | 'presence_penalty' | 'maxOutputTokens' | 'maxContextTokens' | 'max_tokens' | 'maxTokens' | 'resendFiles' | 'imageDetail' | 'reasoning_effort' | 'verbosity' | 'instructions' | 'additional_instructions' | 'append_current_datetime' | 'tools' | 'stop' | 'region' | 'additionalModelRequestFields' | 'promptCache' | 'thinking' | 'thinkingBudget' | 'thinkingLevel' | 'effort' | 'assistant_id' | 'agent_id' | 'iconURL' | 'greeting' | 'spec' | 'artifacts' | 'file_ids' | 'system' | 'examples' | 'context'> & {
|
|
9
|
+
export type TEndpointOption = Pick<TConversation, 'endpoint' | 'endpointType' | 'model' | 'modelLabel' | 'chatGptLabel' | 'promptPrefix' | 'temperature' | 'topP' | 'topK' | 'top_p' | 'frequency_penalty' | 'presence_penalty' | 'maxOutputTokens' | 'maxContextTokens' | 'max_tokens' | 'maxTokens' | 'resendFiles' | 'imageDetail' | 'reasoning_effort' | 'verbosity' | 'instructions' | 'additional_instructions' | 'append_current_datetime' | 'tools' | 'stop' | 'region' | 'additionalModelRequestFields' | 'promptCache' | 'thinking' | 'thinkingBudget' | 'thinkingLevel' | 'effort' | 'thinkingDisplay' | 'assistant_id' | 'agent_id' | 'iconURL' | 'greeting' | 'spec' | 'artifacts' | 'file_ids' | 'system' | 'examples' | 'context'> & {
|
|
10
10
|
modelDisplayLabel?: string;
|
|
11
11
|
key?: string | null;
|
|
12
12
|
/** @deprecated Assistants API */
|
|
@@ -383,6 +383,7 @@ export type TPromptGroup = {
|
|
|
383
383
|
productionPrompt?: Pick<TPrompt, 'prompt'> | null;
|
|
384
384
|
author: string;
|
|
385
385
|
authorName: string;
|
|
386
|
+
isPublic?: boolean;
|
|
386
387
|
createdAt?: Date;
|
|
387
388
|
updatedAt?: Date;
|
|
388
389
|
_id?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "librechat-data-provider",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.501",
|
|
4
4
|
"description": "data services for librechat apps",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"homepage": "https://librechat.ai",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"axios": "1.
|
|
46
|
+
"axios": "^1.15.0",
|
|
47
47
|
"dayjs": "^1.11.13",
|
|
48
48
|
"js-yaml": "^4.1.1",
|
|
49
49
|
"zod": "^3.22.4"
|