librechat-data-provider 0.8.502 → 0.8.503
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/react-query/index.es.js +1 -1
- package/dist/react-query/index.es.js.map +1 -1
- package/dist/types/api-endpoints.d.ts +2 -1
- package/dist/types/bedrock.d.ts +6 -0
- package/dist/types/config.d.ts +684 -52
- package/dist/types/data-service.d.ts +5 -2
- package/dist/types/generate.d.ts +2 -0
- package/dist/types/mcp.d.ts +1304 -58
- package/dist/types/models.d.ts +22 -0
- package/dist/types/parameterSettings.d.ts +6 -0
- package/dist/types/parameterSettings.spec.d.ts +1 -0
- package/dist/types/schemas.d.ts +54 -13
- package/dist/types/types/mutations.d.ts +1 -0
- package/dist/types/types.d.ts +9 -3
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { StartupConfigContext } from './config';
|
|
1
2
|
import type { AssistantsEndpoint } from './schemas';
|
|
2
3
|
import * as q from './types/queries';
|
|
3
4
|
import { ResourceType } from './accessPermissions';
|
|
@@ -64,7 +65,7 @@ export declare const mcpAuthValues: (serverName: string) => string;
|
|
|
64
65
|
export declare const cancelMCPOAuth: (serverName: string) => string;
|
|
65
66
|
export declare const mcpOAuthBind: (serverName: string) => string;
|
|
66
67
|
export declare const actionOAuthBind: (actionId: string) => string;
|
|
67
|
-
export declare const config: () => string;
|
|
68
|
+
export declare const config: (context?: StartupConfigContext) => string;
|
|
68
69
|
export declare const prompts: () => string;
|
|
69
70
|
export declare const addPromptToGroup: (groupId: string) => string;
|
|
70
71
|
export declare const assistants: ({ path, options, version, endpoint, isAvatar, }: {
|
package/dist/types/bedrock.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare function supportsAdaptiveThinking(model: string): boolean;
|
|
|
16
16
|
* See https://platform.claude.com/docs/en/about-claude/models/whats-new-claude-4-7#thinking-content-omitted-by-default
|
|
17
17
|
*/
|
|
18
18
|
export declare function omitsThinkingByDefault(model: string): boolean;
|
|
19
|
+
export declare function omitsSamplingParameters(model: string): boolean;
|
|
19
20
|
/** Checks if a model has a 1M context window (Sonnet 4.6+, Opus 4.6+, Opus 5+) */
|
|
20
21
|
export declare function supportsContext1m(model: string): boolean;
|
|
21
22
|
export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pick<{
|
|
@@ -210,6 +211,7 @@ export declare const bedrockInputSchema: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
210
211
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
212
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
213
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
214
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
213
215
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
214
216
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
215
217
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -603,6 +605,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
603
605
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
604
606
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
605
607
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
608
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
606
609
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
607
610
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
608
611
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -798,6 +801,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
798
801
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
799
802
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
800
803
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
804
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
801
805
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
802
806
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
803
807
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -993,6 +997,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
993
997
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
994
998
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
995
999
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1000
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
996
1001
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
997
1002
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
998
1003
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1237,6 +1242,7 @@ export declare const bedrockInputParser: z.ZodCatch<z.ZodEffects<z.ZodObject<Pic
|
|
|
1237
1242
|
spec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1238
1243
|
iconURL: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1239
1244
|
expiredAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1245
|
+
isTemporary: z.ZodOptional<z.ZodBoolean>;
|
|
1240
1246
|
fileTokenLimit: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number | undefined, string | number>>;
|
|
1241
1247
|
resendImages: z.ZodOptional<z.ZodBoolean>;
|
|
1242
1248
|
chatGptLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|