librechat-data-provider 0.8.506 → 0.8.508
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-CCdWvcRd.js → data-service-DN-HeTC-.js} +73 -10
- package/dist/data-service-DN-HeTC-.js.map +1 -0
- package/dist/{data-service-D7mtXwG5.mjs → data-service-DgNwjhBS.mjs} +68 -11
- package/dist/data-service-DgNwjhBS.mjs.map +1 -0
- package/dist/index.js +14 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- 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 +4 -0
- package/dist/types/config.d.ts +33 -0
- package/dist/types/data-service.d.ts +6 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/schemas.d.ts +10 -0
- package/dist/types/types/mutations.d.ts +5 -5
- package/dist/types/types.d.ts +2 -0
- package/package.json +1 -1
- package/dist/data-service-CCdWvcRd.js.map +0 -1
- package/dist/data-service-D7mtXwG5.mjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_data_service = require("./data-service-
|
|
2
|
+
const require_data_service = require("./data-service-DN-HeTC-.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
let dayjs = require("dayjs");
|
|
5
5
|
dayjs = require_data_service.__toESM(dayjs);
|
|
6
|
-
let
|
|
7
|
-
|
|
8
|
-
let
|
|
9
|
-
|
|
6
|
+
let dayjs_plugin_utc_js = require("dayjs/plugin/utc.js");
|
|
7
|
+
dayjs_plugin_utc_js = require_data_service.__toESM(dayjs_plugin_utc_js);
|
|
8
|
+
let dayjs_plugin_timezone_js = require("dayjs/plugin/timezone.js");
|
|
9
|
+
dayjs_plugin_timezone_js = require_data_service.__toESM(dayjs_plugin_timezone_js);
|
|
10
10
|
let axios = require("axios");
|
|
11
11
|
axios = require_data_service.__toESM(axios);
|
|
12
12
|
let url = require("url");
|
|
@@ -494,8 +494,8 @@ const reconcileContextUsage = (snapshot, promptTokens) => {
|
|
|
494
494
|
};
|
|
495
495
|
//#endregion
|
|
496
496
|
//#region src/parsers.ts
|
|
497
|
-
dayjs.default.extend(
|
|
498
|
-
dayjs.default.extend(
|
|
497
|
+
dayjs.default.extend(dayjs_plugin_utc_js.default);
|
|
498
|
+
dayjs.default.extend(dayjs_plugin_timezone_js.default);
|
|
499
499
|
const endpointSchemas = {
|
|
500
500
|
["openAI"]: require_data_service.openAISchema,
|
|
501
501
|
["azureOpenAI"]: require_data_service.openAISchema,
|
|
@@ -5503,11 +5503,11 @@ const anthropic = {
|
|
|
5503
5503
|
type: "enum",
|
|
5504
5504
|
default: require_data_service.anthropicSettings.promptCacheTtl.default,
|
|
5505
5505
|
options: ["5m", "1h"],
|
|
5506
|
-
component: "
|
|
5506
|
+
component: "combobox",
|
|
5507
5507
|
optionType: "conversation",
|
|
5508
5508
|
showDefault: false,
|
|
5509
|
-
|
|
5510
|
-
|
|
5509
|
+
selectPlaceholder: "com_endpoint_prompt_cache_ttl_default",
|
|
5510
|
+
selectPlaceholderCode: true,
|
|
5511
5511
|
columnSpan: 2
|
|
5512
5512
|
},
|
|
5513
5513
|
thinking: {
|
|
@@ -5674,11 +5674,11 @@ const bedrock = {
|
|
|
5674
5674
|
type: "enum",
|
|
5675
5675
|
default: void 0,
|
|
5676
5676
|
options: ["5m", "1h"],
|
|
5677
|
-
component: "
|
|
5677
|
+
component: "combobox",
|
|
5678
5678
|
optionType: "conversation",
|
|
5679
5679
|
showDefault: false,
|
|
5680
|
-
|
|
5681
|
-
|
|
5680
|
+
selectPlaceholder: "com_endpoint_prompt_cache_ttl_default",
|
|
5681
|
+
selectPlaceholderCode: true,
|
|
5682
5682
|
columnSpan: 2
|
|
5683
5683
|
},
|
|
5684
5684
|
reasoning_effort: {
|
|
@@ -6666,6 +6666,7 @@ exports.setAcceptLanguageHeader = require_data_service.setAcceptLanguageHeader;
|
|
|
6666
6666
|
exports.setTokenHeader = require_data_service.setTokenHeader;
|
|
6667
6667
|
exports.sha1 = sha1;
|
|
6668
6668
|
exports.shadcnComponents = shadcnComponents;
|
|
6669
|
+
exports.sharedFileDownload = require_data_service.sharedFileDownload;
|
|
6669
6670
|
exports.sharedLinksPermissionsSchema = sharedLinksPermissionsSchema;
|
|
6670
6671
|
exports.skeleton = skeleton;
|
|
6671
6672
|
exports.skillPermissionsSchema = skillPermissionsSchema;
|