@jerome-benoit/sap-ai-provider 4.6.3 → 4.6.4

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.
Files changed (20) hide show
  1. package/dist/{chunk-7ZKPZONG.js → chunk-GLGLTUZM.js} +6 -2
  2. package/dist/{chunk-7ZKPZONG.js.map → chunk-GLGLTUZM.js.map} +1 -1
  3. package/dist/{chunk-WLW2XIIX.js → chunk-ORUTDXQO.js} +2 -2
  4. package/dist/{chunk-5FHTB5RT.js → chunk-UZU24CQH.js} +3 -3
  5. package/dist/{chunk-RHZV73MM.js → chunk-VVJCWWDC.js} +3 -3
  6. package/dist/{foundation-models-embedding-model-strategy-FHJ3PW42.js → foundation-models-embedding-model-strategy-JTZUKIYM.js} +4 -4
  7. package/dist/{foundation-models-language-model-strategy-XQ24PJK4.js → foundation-models-language-model-strategy-NT5HVEM5.js} +4 -4
  8. package/dist/index.cjs +5 -1
  9. package/dist/index.cjs.map +1 -1
  10. package/dist/index.js +5 -5
  11. package/dist/{orchestration-embedding-model-strategy-FKAUQZH2.js → orchestration-embedding-model-strategy-BBCIC45Q.js} +4 -4
  12. package/dist/{orchestration-language-model-strategy-TSZQCLG3.js → orchestration-language-model-strategy-YPDJAXBL.js} +4 -4
  13. package/package.json +1 -1
  14. /package/dist/{chunk-WLW2XIIX.js.map → chunk-ORUTDXQO.js.map} +0 -0
  15. /package/dist/{chunk-5FHTB5RT.js.map → chunk-UZU24CQH.js.map} +0 -0
  16. /package/dist/{chunk-RHZV73MM.js.map → chunk-VVJCWWDC.js.map} +0 -0
  17. /package/dist/{foundation-models-embedding-model-strategy-FHJ3PW42.js.map → foundation-models-embedding-model-strategy-JTZUKIYM.js.map} +0 -0
  18. /package/dist/{foundation-models-language-model-strategy-XQ24PJK4.js.map → foundation-models-language-model-strategy-NT5HVEM5.js.map} +0 -0
  19. /package/dist/{orchestration-embedding-model-strategy-FKAUQZH2.js.map → orchestration-embedding-model-strategy-BBCIC45Q.js.map} +0 -0
  20. /package/dist/{orchestration-language-model-strategy-TSZQCLG3.js.map → orchestration-language-model-strategy-YPDJAXBL.js.map} +0 -0
@@ -30291,6 +30291,10 @@ function findOrchestrationErrorResponse(error) {
30291
30291
  if (isOrchestrationErrorResponse(rootError)) {
30292
30292
  return rootError;
30293
30293
  }
30294
+ const axiosData = getAxiosError(error)?.response?.data;
30295
+ if (axiosData && isOrchestrationErrorResponse(axiosData)) {
30296
+ return axiosData;
30297
+ }
30294
30298
  if (rootError instanceof Error) {
30295
30299
  const parsed = tryExtractSAPErrorFromMessage(rootError.message);
30296
30300
  if (parsed && isOrchestrationErrorResponse(parsed)) {
@@ -30408,7 +30412,7 @@ function tryExtractSAPErrorFromMessage(message) {
30408
30412
  }
30409
30413
 
30410
30414
  // src/version.ts
30411
- var VERSION = true ? "4.6.3" : "0.0.0-test";
30415
+ var VERSION = true ? "4.6.4" : "0.0.0-test";
30412
30416
 
30413
30417
  export {
30414
30418
  __toESM,
@@ -30462,4 +30466,4 @@ mime-types/index.js:
30462
30466
  axios/dist/node/axios.cjs:
30463
30467
  (*! Axios v1.14.0 Copyright (c) 2026 Matt Zabriskie and contributors *)
30464
30468
  */
30465
- //# sourceMappingURL=chunk-7ZKPZONG.js.map
30469
+ //# sourceMappingURL=chunk-GLGLTUZM.js.map