librechat-data-provider 0.8.508 → 0.8.509
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-DgNwjhBS.mjs → data-service-BsdHkdKS.mjs} +19 -4
- package/dist/data-service-BsdHkdKS.mjs.map +1 -0
- package/dist/{data-service-DN-HeTC-.js → data-service-XTxx76uB.js} +19 -4
- package/dist/data-service-XTxx76uB.js.map +1 -0
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react-query/index.js +1 -1
- package/dist/react-query/index.mjs +1 -1
- package/dist/types/api-endpoints.d.ts +1 -0
- package/dist/types/bedrock.d.ts +5 -0
- package/dist/types/config.d.ts +88 -0
- package/dist/types/data-service.d.ts +1 -0
- package/dist/types/generate.d.ts +2 -0
- package/dist/types/keys.d.ts +1 -0
- package/dist/types/models.d.ts +12 -0
- package/dist/types/schemas.d.ts +45 -4
- package/dist/types/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/data-service-DN-HeTC-.js.map +0 -1
- package/dist/data-service-DgNwjhBS.mjs.map +0 -1
package/dist/types/schemas.d.ts
CHANGED
|
@@ -1145,6 +1145,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1145
1145
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1146
1146
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1147
1147
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1148
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
1148
1149
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1149
1150
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1150
1151
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1238,6 +1239,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1238
1239
|
effort?: AnthropicEffort | null | undefined;
|
|
1239
1240
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1240
1241
|
web_search?: boolean | undefined;
|
|
1242
|
+
url_context?: boolean | undefined;
|
|
1241
1243
|
disableStreaming?: boolean | undefined;
|
|
1242
1244
|
assistant_id?: string | undefined;
|
|
1243
1245
|
agent_id?: string | undefined;
|
|
@@ -1328,6 +1330,7 @@ export declare const tConversationSchema: z.ZodObject<{
|
|
|
1328
1330
|
effort?: AnthropicEffort | null | undefined;
|
|
1329
1331
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1330
1332
|
web_search?: boolean | undefined;
|
|
1333
|
+
url_context?: boolean | undefined;
|
|
1331
1334
|
disableStreaming?: boolean | undefined;
|
|
1332
1335
|
assistant_id?: string | undefined;
|
|
1333
1336
|
agent_id?: string | undefined;
|
|
@@ -1480,6 +1483,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1480
1483
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1481
1484
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1482
1485
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1486
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
1483
1487
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1484
1488
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1485
1489
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1574,6 +1578,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1574
1578
|
effort?: AnthropicEffort | null | undefined;
|
|
1575
1579
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1576
1580
|
web_search?: boolean | undefined;
|
|
1581
|
+
url_context?: boolean | undefined;
|
|
1577
1582
|
disableStreaming?: boolean | undefined;
|
|
1578
1583
|
assistant_id?: string | undefined;
|
|
1579
1584
|
agent_id?: string | undefined;
|
|
@@ -1664,6 +1669,7 @@ export declare const tPresetSchema: z.ZodObject<{
|
|
|
1664
1669
|
effort?: AnthropicEffort | null | undefined;
|
|
1665
1670
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1666
1671
|
web_search?: boolean | undefined;
|
|
1672
|
+
url_context?: boolean | undefined;
|
|
1667
1673
|
disableStreaming?: boolean | undefined;
|
|
1668
1674
|
assistant_id?: string | undefined;
|
|
1669
1675
|
agent_id?: string | undefined;
|
|
@@ -1822,6 +1828,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1822
1828
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
1823
1829
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
1824
1830
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
1831
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
1825
1832
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
1826
1833
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
1827
1834
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1916,6 +1923,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
1916
1923
|
effort?: AnthropicEffort | null | undefined;
|
|
1917
1924
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
1918
1925
|
web_search?: boolean | undefined;
|
|
1926
|
+
url_context?: boolean | undefined;
|
|
1919
1927
|
disableStreaming?: boolean | undefined;
|
|
1920
1928
|
assistant_id?: string | undefined;
|
|
1921
1929
|
agent_id?: string | undefined;
|
|
@@ -2006,6 +2014,7 @@ export declare const tConvoUpdateSchema: z.ZodObject<{
|
|
|
2006
2014
|
effort?: AnthropicEffort | null | undefined;
|
|
2007
2015
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2008
2016
|
web_search?: boolean | undefined;
|
|
2017
|
+
url_context?: boolean | undefined;
|
|
2009
2018
|
disableStreaming?: boolean | undefined;
|
|
2010
2019
|
assistant_id?: string | undefined;
|
|
2011
2020
|
agent_id?: string | undefined;
|
|
@@ -2164,6 +2173,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2164
2173
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2165
2174
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2166
2175
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2176
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
2167
2177
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2168
2178
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2169
2179
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2186,7 +2196,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2186
2196
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2187
2197
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2188
2198
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2189
|
-
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "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"> & {
|
|
2199
|
+
}, "model" | "promptPrefix" | "temperature" | "topP" | "topK" | "top_p" | "frequency_penalty" | "presence_penalty" | "maxOutputTokens" | "maxContextTokens" | "max_tokens" | "promptCache" | "promptCacheTtl" | "thinking" | "thinkingBudget" | "thinkingLevel" | "resendFiles" | "imageDetail" | "reasoning_effort" | "reasoning_summary" | "verbosity" | "useResponsesApi" | "effort" | "thinkingDisplay" | "web_search" | "url_context" | "disableStreaming" | "assistant_id" | "agent_id" | "region" | "maxTokens" | "instructions" | "append_current_datetime" | "stop" | "spec" | "fileTokenLimit"> & {
|
|
2190
2200
|
/** @endpoints openAI, custom, azureOpenAI, google, anthropic, assistants, azureAssistants, bedrock, agents */
|
|
2191
2201
|
endpoint: z.ZodNullable<z.ZodUnion<[z.ZodNativeEnum<typeof EModelEndpoint>, z.ZodString]>>;
|
|
2192
2202
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2216,6 +2226,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2216
2226
|
effort?: AnthropicEffort | null | undefined;
|
|
2217
2227
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2218
2228
|
web_search?: boolean | undefined;
|
|
2229
|
+
url_context?: boolean | undefined;
|
|
2219
2230
|
disableStreaming?: boolean | undefined;
|
|
2220
2231
|
assistant_id?: string | undefined;
|
|
2221
2232
|
agent_id?: string | undefined;
|
|
@@ -2253,6 +2264,7 @@ export declare const tQueryParamsSchema: z.ZodObject<Pick<{
|
|
|
2253
2264
|
effort?: AnthropicEffort | null | undefined;
|
|
2254
2265
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2255
2266
|
web_search?: boolean | undefined;
|
|
2267
|
+
url_context?: boolean | undefined;
|
|
2256
2268
|
disableStreaming?: boolean | undefined;
|
|
2257
2269
|
assistant_id?: string | undefined;
|
|
2258
2270
|
agent_id?: string | undefined;
|
|
@@ -2403,6 +2415,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2403
2415
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2404
2416
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2405
2417
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2418
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
2406
2419
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2407
2420
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2408
2421
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2489,6 +2502,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2489
2502
|
effort?: AnthropicEffort | null | undefined;
|
|
2490
2503
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2491
2504
|
web_search?: boolean | undefined;
|
|
2505
|
+
url_context?: boolean | undefined;
|
|
2492
2506
|
disableStreaming?: boolean | undefined;
|
|
2493
2507
|
assistant_id?: string | undefined;
|
|
2494
2508
|
agent_id?: string | undefined;
|
|
@@ -2563,6 +2577,7 @@ export declare const tModelSpecPresetSchema: z.ZodObject<Omit<{
|
|
|
2563
2577
|
effort?: AnthropicEffort | null | undefined;
|
|
2564
2578
|
thinkingDisplay?: ThinkingDisplay | null | undefined;
|
|
2565
2579
|
web_search?: boolean | undefined;
|
|
2580
|
+
url_context?: boolean | undefined;
|
|
2566
2581
|
disableStreaming?: boolean | undefined;
|
|
2567
2582
|
assistant_id?: string | undefined;
|
|
2568
2583
|
agent_id?: string | undefined;
|
|
@@ -2778,6 +2793,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2778
2793
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2779
2794
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2780
2795
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
2796
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
2781
2797
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2782
2798
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2783
2799
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2800,7 +2816,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2800
2816
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
2801
2817
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
2802
2818
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2803
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
2819
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
2804
2820
|
model?: string | null | undefined;
|
|
2805
2821
|
modelLabel?: string | null | undefined;
|
|
2806
2822
|
promptPrefix?: string | null | undefined;
|
|
@@ -2823,6 +2839,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2823
2839
|
}[] | undefined;
|
|
2824
2840
|
chatProjectId?: string | null | undefined;
|
|
2825
2841
|
web_search?: boolean | undefined;
|
|
2842
|
+
url_context?: boolean | undefined;
|
|
2826
2843
|
greeting?: string | undefined;
|
|
2827
2844
|
spec?: string | null | undefined;
|
|
2828
2845
|
iconURL?: string | null | undefined;
|
|
@@ -2850,6 +2867,7 @@ export declare const googleBaseSchema: z.ZodObject<Pick<{
|
|
|
2850
2867
|
}[] | undefined;
|
|
2851
2868
|
chatProjectId?: string | null | undefined;
|
|
2852
2869
|
web_search?: boolean | undefined;
|
|
2870
|
+
url_context?: boolean | undefined;
|
|
2853
2871
|
greeting?: string | undefined;
|
|
2854
2872
|
spec?: string | null | undefined;
|
|
2855
2873
|
iconURL?: string | null | undefined;
|
|
@@ -2993,6 +3011,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
2993
3011
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
2994
3012
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
2995
3013
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3014
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
2996
3015
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
2997
3016
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
2998
3017
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3015,7 +3034,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3015
3034
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
3016
3035
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
3017
3036
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3018
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3037
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
3019
3038
|
model?: string | null | undefined;
|
|
3020
3039
|
modelLabel?: string | null | undefined;
|
|
3021
3040
|
promptPrefix?: string | null | undefined;
|
|
@@ -3038,6 +3057,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3038
3057
|
}[] | undefined;
|
|
3039
3058
|
chatProjectId?: string | null | undefined;
|
|
3040
3059
|
web_search?: boolean | undefined;
|
|
3060
|
+
url_context?: boolean | undefined;
|
|
3041
3061
|
greeting?: string | undefined;
|
|
3042
3062
|
spec?: string | null | undefined;
|
|
3043
3063
|
iconURL?: string | null | undefined;
|
|
@@ -3065,6 +3085,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3065
3085
|
}[] | undefined;
|
|
3066
3086
|
chatProjectId?: string | null | undefined;
|
|
3067
3087
|
web_search?: boolean | undefined;
|
|
3088
|
+
url_context?: boolean | undefined;
|
|
3068
3089
|
greeting?: string | undefined;
|
|
3069
3090
|
spec?: string | null | undefined;
|
|
3070
3091
|
iconURL?: string | null | undefined;
|
|
@@ -3092,6 +3113,7 @@ export declare const googleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3092
3113
|
}[] | undefined;
|
|
3093
3114
|
chatProjectId?: string | null | undefined;
|
|
3094
3115
|
web_search?: boolean | undefined;
|
|
3116
|
+
url_context?: boolean | undefined;
|
|
3095
3117
|
greeting?: string | undefined;
|
|
3096
3118
|
spec?: string | null | undefined;
|
|
3097
3119
|
iconURL?: string | null | undefined;
|
|
@@ -3125,12 +3147,14 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
3125
3147
|
includeThoughts?: boolean | undefined;
|
|
3126
3148
|
}>>;
|
|
3127
3149
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3150
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3128
3151
|
}, "strip", z.ZodTypeAny, {
|
|
3129
3152
|
temperature?: number | undefined;
|
|
3130
3153
|
topP?: number | undefined;
|
|
3131
3154
|
topK?: number | undefined;
|
|
3132
3155
|
maxOutputTokens?: number | undefined;
|
|
3133
3156
|
web_search?: boolean | undefined;
|
|
3157
|
+
url_context?: boolean | undefined;
|
|
3134
3158
|
presencePenalty?: number | undefined;
|
|
3135
3159
|
frequencyPenalty?: number | undefined;
|
|
3136
3160
|
stopSequences?: string[] | undefined;
|
|
@@ -3145,6 +3169,7 @@ export declare const googleGenConfigSchema: z.ZodOptional<z.ZodObject<{
|
|
|
3145
3169
|
topK?: string | number | undefined;
|
|
3146
3170
|
maxOutputTokens?: string | number | undefined;
|
|
3147
3171
|
web_search?: boolean | undefined;
|
|
3172
|
+
url_context?: boolean | undefined;
|
|
3148
3173
|
presencePenalty?: string | number | undefined;
|
|
3149
3174
|
frequencyPenalty?: string | number | undefined;
|
|
3150
3175
|
stopSequences?: string[] | undefined;
|
|
@@ -3293,6 +3318,7 @@ export declare const assistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3293
3318
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3294
3319
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3295
3320
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3321
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3296
3322
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3297
3323
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3298
3324
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3498,6 +3524,7 @@ export declare const compactAssistantSchema: z.ZodCatch<z.ZodEffects<z.ZodObject
|
|
|
3498
3524
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3499
3525
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3500
3526
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3527
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3501
3528
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3502
3529
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3503
3530
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3699,6 +3726,7 @@ export declare const agentsBaseSchema: z.ZodObject<Pick<{
|
|
|
3699
3726
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3700
3727
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3701
3728
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3729
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3702
3730
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3703
3731
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3704
3732
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3892,6 +3920,7 @@ export declare const agentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
3892
3920
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
3893
3921
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
3894
3922
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
3923
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
3895
3924
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
3896
3925
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
3897
3926
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4117,6 +4146,7 @@ export declare const openAIBaseSchema: z.ZodObject<Pick<{
|
|
|
4117
4146
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4118
4147
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4119
4148
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4149
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
4120
4150
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4121
4151
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4122
4152
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4330,6 +4360,7 @@ export declare const openAISchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
4330
4360
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4331
4361
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4332
4362
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4363
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
4333
4364
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4334
4365
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4335
4366
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4569,6 +4600,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4569
4600
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4570
4601
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4571
4602
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4603
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
4572
4604
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4573
4605
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4574
4606
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4729,6 +4761,7 @@ export declare const openRouterSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<
|
|
|
4729
4761
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4730
4762
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4731
4763
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
4764
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
4732
4765
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4733
4766
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4734
4767
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4974,6 +5007,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4974
5007
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
4975
5008
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
4976
5009
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5010
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
4977
5011
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
4978
5012
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
4979
5013
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4996,7 +5030,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
4996
5030
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
4997
5031
|
/** @deprecated Prefer `modelLabel` over `chatGptLabel` */
|
|
4998
5032
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4999
|
-
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
5033
|
+
}, "model" | "modelLabel" | "promptPrefix" | "temperature" | "topP" | "topK" | "maxOutputTokens" | "maxContextTokens" | "thinking" | "thinkingBudget" | "thinkingLevel" | "artifacts" | "examples" | "chatProjectId" | "web_search" | "url_context" | "greeting" | "spec" | "iconURL" | "fileTokenLimit">, "strip", z.ZodTypeAny, {
|
|
5000
5034
|
model?: string | null | undefined;
|
|
5001
5035
|
modelLabel?: string | null | undefined;
|
|
5002
5036
|
promptPrefix?: string | null | undefined;
|
|
@@ -5019,6 +5053,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5019
5053
|
}[] | undefined;
|
|
5020
5054
|
chatProjectId?: string | null | undefined;
|
|
5021
5055
|
web_search?: boolean | undefined;
|
|
5056
|
+
url_context?: boolean | undefined;
|
|
5022
5057
|
greeting?: string | undefined;
|
|
5023
5058
|
spec?: string | null | undefined;
|
|
5024
5059
|
iconURL?: string | null | undefined;
|
|
@@ -5046,6 +5081,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5046
5081
|
}[] | undefined;
|
|
5047
5082
|
chatProjectId?: string | null | undefined;
|
|
5048
5083
|
web_search?: boolean | undefined;
|
|
5084
|
+
url_context?: boolean | undefined;
|
|
5049
5085
|
greeting?: string | undefined;
|
|
5050
5086
|
spec?: string | null | undefined;
|
|
5051
5087
|
iconURL?: string | null | undefined;
|
|
@@ -5073,6 +5109,7 @@ export declare const compactGoogleSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5073
5109
|
}[] | undefined;
|
|
5074
5110
|
chatProjectId?: string | null | undefined;
|
|
5075
5111
|
web_search?: boolean | undefined;
|
|
5112
|
+
url_context?: boolean | undefined;
|
|
5076
5113
|
greeting?: string | undefined;
|
|
5077
5114
|
spec?: string | null | undefined;
|
|
5078
5115
|
iconURL?: string | null | undefined;
|
|
@@ -5216,6 +5253,7 @@ export declare const anthropicBaseSchema: z.ZodObject<Pick<{
|
|
|
5216
5253
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
5217
5254
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
5218
5255
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5256
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
5219
5257
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5220
5258
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5221
5259
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5427,6 +5465,7 @@ export declare const anthropicSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
|
5427
5465
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
5428
5466
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
5429
5467
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5468
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
5430
5469
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5431
5470
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5432
5471
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5717,6 +5756,7 @@ export declare const compactAgentsBaseSchema: z.ZodObject<Pick<{
|
|
|
5717
5756
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
5718
5757
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
5719
5758
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5759
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
5720
5760
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5721
5761
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5722
5762
|
agent_id: z.ZodOptional<z.ZodString>;
|
|
@@ -5894,6 +5934,7 @@ export declare const compactAgentsSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pi
|
|
|
5894
5934
|
effort: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof AnthropicEffort>>>;
|
|
5895
5935
|
thinkingDisplay: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof ThinkingDisplay>>>;
|
|
5896
5936
|
web_search: z.ZodOptional<z.ZodBoolean>;
|
|
5937
|
+
url_context: z.ZodOptional<z.ZodBoolean>;
|
|
5897
5938
|
disableStreaming: z.ZodOptional<z.ZodBoolean>;
|
|
5898
5939
|
assistant_id: z.ZodOptional<z.ZodString>;
|
|
5899
5940
|
agent_id: z.ZodOptional<z.ZodString>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -320,6 +320,8 @@ export type TConfig = {
|
|
|
320
320
|
defaultParamsEndpoint?: string;
|
|
321
321
|
reasoningFormat?: ReasoningParameterFormat;
|
|
322
322
|
reasoningKey?: ReasoningResponseKey;
|
|
323
|
+
includeReasoningContent?: boolean;
|
|
324
|
+
includeReasoningHistory?: boolean;
|
|
323
325
|
paramDefinitions?: Partial<SettingDefinition>[];
|
|
324
326
|
};
|
|
325
327
|
};
|