@jerome-benoit/sap-ai-provider 4.4.16 → 4.4.17
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/{chunk-ZTTUNOQ4.js → chunk-43B7TGUQ.js} +3 -3
- package/dist/{chunk-U5TGXMXL.js → chunk-MNXW5WBP.js} +4 -9
- package/dist/{chunk-U5TGXMXL.js.map → chunk-MNXW5WBP.js.map} +1 -1
- package/dist/{chunk-X3RVS75R.js → chunk-OOIFG33A.js} +2 -2
- package/dist/{chunk-YWOWXJGS.js → chunk-YPD3UZCL.js} +3 -3
- package/dist/{foundation-models-embedding-model-strategy-3AL3KDCE.js → foundation-models-embedding-model-strategy-FYYPJCZ3.js} +19 -18
- package/dist/foundation-models-embedding-model-strategy-FYYPJCZ3.js.map +1 -0
- package/dist/{foundation-models-language-model-strategy-X6RMOTAL.js → foundation-models-language-model-strategy-QODADI4V.js} +4 -4
- package/dist/index.cjs +24 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/dist/{orchestration-embedding-model-strategy-VCSK76HX.js → orchestration-embedding-model-strategy-RMTIMOLO.js} +4 -4
- package/dist/{orchestration-language-model-strategy-YFINEDMS.js → orchestration-language-model-strategy-FUT3R3MK.js} +4 -4
- package/dist/orchestration-language-model-strategy-FUT3R3MK.js.map +1 -0
- package/package.json +1 -1
- package/dist/foundation-models-embedding-model-strategy-3AL3KDCE.js.map +0 -1
- package/dist/orchestration-language-model-strategy-YFINEDMS.js.map +0 -1
- /package/dist/{chunk-ZTTUNOQ4.js.map → chunk-43B7TGUQ.js.map} +0 -0
- /package/dist/{chunk-X3RVS75R.js.map → chunk-OOIFG33A.js.map} +0 -0
- /package/dist/{chunk-YWOWXJGS.js.map → chunk-YPD3UZCL.js.map} +0 -0
- /package/dist/{foundation-models-language-model-strategy-X6RMOTAL.js.map → foundation-models-language-model-strategy-QODADI4V.js.map} +0 -0
- /package/dist/{orchestration-embedding-model-strategy-VCSK76HX.js.map → orchestration-embedding-model-strategy-RMTIMOLO.js.map} +0 -0
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
createAISDKRequestBodySummary,
|
|
10
10
|
createStreamTransformer,
|
|
11
11
|
mapToolChoice
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OOIFG33A.js";
|
|
13
13
|
import {
|
|
14
14
|
VERSION,
|
|
15
15
|
convertToAISDKError,
|
|
16
16
|
getProviderName,
|
|
17
17
|
normalizeHeaders,
|
|
18
18
|
sapAILanguageModelProviderOptions
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MNXW5WBP.js";
|
|
20
20
|
|
|
21
21
|
// src/base-language-model-strategy.ts
|
|
22
22
|
import { parseProviderOptions } from "@ai-sdk/provider-utils";
|
|
@@ -181,4 +181,4 @@ var BaseLanguageModelStrategy = class {
|
|
|
181
181
|
export {
|
|
182
182
|
BaseLanguageModelStrategy
|
|
183
183
|
};
|
|
184
|
-
//# sourceMappingURL=chunk-
|
|
184
|
+
//# sourceMappingURL=chunk-43B7TGUQ.js.map
|
|
@@ -30157,7 +30157,7 @@ See: https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-serv
|
|
|
30157
30157
|
return new NoSuchModelError({
|
|
30158
30158
|
message: `SAP AI Core deployment error: ${originalErrorMsg}
|
|
30159
30159
|
|
|
30160
|
-
Make sure you have a running orchestration deployment in your AI Core instance.
|
|
30160
|
+
Make sure you have a running orchestration deployment in your SAP AI Core instance.
|
|
30161
30161
|
See: https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-deployment-for-orchestration`,
|
|
30162
30162
|
modelId: modelId ?? "unknown",
|
|
30163
30163
|
modelType: "languageModel"
|
|
@@ -30415,12 +30415,7 @@ function mergeTwo(target, source, seen, depth) {
|
|
|
30415
30415
|
const sourceValue = source[key];
|
|
30416
30416
|
const targetValue = target[key];
|
|
30417
30417
|
if (isPlainObject(sourceValue) && isPlainObject(targetValue)) {
|
|
30418
|
-
target[key] = mergeTwo(
|
|
30419
|
-
cloneDeep(targetValue, /* @__PURE__ */ new WeakSet(), depth + 1),
|
|
30420
|
-
sourceValue,
|
|
30421
|
-
seen,
|
|
30422
|
-
depth + 1
|
|
30423
|
-
);
|
|
30418
|
+
target[key] = mergeTwo(cloneDeep(targetValue, seen, depth + 1), sourceValue, seen, depth + 1);
|
|
30424
30419
|
} else if (isPlainObject(sourceValue)) {
|
|
30425
30420
|
target[key] = cloneDeep(sourceValue, seen, depth + 1);
|
|
30426
30421
|
} else {
|
|
@@ -30431,7 +30426,7 @@ function mergeTwo(target, source, seen, depth) {
|
|
|
30431
30426
|
}
|
|
30432
30427
|
|
|
30433
30428
|
// src/version.ts
|
|
30434
|
-
var VERSION = true ? "4.4.
|
|
30429
|
+
var VERSION = true ? "4.4.17" : "0.0.0-test";
|
|
30435
30430
|
|
|
30436
30431
|
export {
|
|
30437
30432
|
__toESM,
|
|
@@ -30484,4 +30479,4 @@ mime-types/index.js:
|
|
|
30484
30479
|
axios/dist/node/axios.cjs:
|
|
30485
30480
|
(*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors *)
|
|
30486
30481
|
*/
|
|
30487
|
-
//# sourceMappingURL=chunk-
|
|
30482
|
+
//# sourceMappingURL=chunk-MNXW5WBP.js.map
|