@ai-sdk/google-vertex 5.0.145 → 5.0.147

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 (36) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/anthropic/edge/index.d.ts +561 -88
  3. package/dist/anthropic/edge/index.d.ts.map +1 -1
  4. package/dist/anthropic/edge/index.js +1 -1
  5. package/dist/anthropic/index.d.ts +561 -88
  6. package/dist/anthropic/index.d.ts.map +1 -1
  7. package/dist/edge/index.d.ts +561 -88
  8. package/dist/edge/index.d.ts.map +1 -1
  9. package/dist/edge/index.js +671 -359
  10. package/dist/edge/index.js.map +1 -1
  11. package/dist/index.d.ts +561 -88
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +671 -359
  14. package/dist/index.js.map +1 -1
  15. package/dist/maas/edge/index.d.ts +561 -88
  16. package/dist/maas/edge/index.d.ts.map +1 -1
  17. package/dist/maas/edge/index.js +365 -18
  18. package/dist/maas/edge/index.js.map +1 -1
  19. package/dist/maas/index.d.ts +561 -88
  20. package/dist/maas/index.d.ts.map +1 -1
  21. package/dist/maas/index.js +364 -17
  22. package/dist/maas/index.js.map +1 -1
  23. package/dist/xai/edge/index.d.ts +561 -88
  24. package/dist/xai/edge/index.d.ts.map +1 -1
  25. package/dist/xai/edge/index.js +1 -1
  26. package/dist/xai/index.d.ts +561 -88
  27. package/dist/xai/index.d.ts.map +1 -1
  28. package/package.json +5 -5
  29. package/src/gemini-transcription/google-vertex-gemini-transcription-model.ts +1 -1
  30. package/src/google-vertex-embedding-model.ts +1 -1
  31. package/src/google-vertex-image-model.ts +1 -1
  32. package/src/google-vertex-model-catalog.ts +213 -436
  33. package/src/google-vertex-model-matrix.ts +799 -0
  34. package/src/google-vertex-provider-base.ts +1 -1
  35. package/src/maas/google-vertex-maas-provider.ts +1 -1
  36. package/src/google-vertex-model-catalog-config.ts +0 -42
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":["GoogleVertexXaiProviderSettings","GoogleVertexXaiProviderSettingsOriginal"],"sources":["../../src/google-vertex-model-catalog.ts","../../src/xai/google-vertex-xai-options.ts","../../src/xai/google-vertex-xai-provider.ts","../../src/xai/google-vertex-xai-provider-node.ts"],"mappings":";;;;cA8UM;cAuCA;cAOA;cAcA;cAcA;cAQA;cAEA;cA6CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0GA;;;;;;;;;;;;;;cA0BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAsCM;EACV,kBAAkB;EAClB,eAAe;EACf,mBAAmB;EACnB,eAAe;EACf,gBAAgB;EAChB,uBAAuB;EACvB,6BAA6B;EAC7B,wBAAwB;EACxB,kBAAkB;EAClB,mBAAmB;;;;KChoBT,yBACR;;;UCea,gCAAgC;;;;GAI9C,SAAS,yBAAyB;;;;EAKnC,cAAc,SAAS,yBAAyB;;;;EAKhD,UAAU,SAAS,yBAAyB;;;;EAK5C,mBAAmB;;UAGJA;;;;EAIf;;;;;EAMA;;;;EAKA;;;;;;;;EASA,UAAU,WAAW;;;;;EAMrB,QAAQ;;;;UC7DO,wCAAwCC;;;;;;;EAOvD,oBAAoB;;;;;;;;;wBAUN,sBACd,UAAS,kCACR;;;;qBAgCU,iBAAe"}
1
+ {"version":3,"file":"index.d.ts","names":["GoogleVertexXaiProviderSettings","GoogleVertexXaiProviderSettingsOriginal"],"sources":["../../src/google-vertex-model-matrix.ts","../../src/xai/google-vertex-xai-options.ts","../../src/xai/google-vertex-xai-provider.ts","../../src/xai/google-vertex-xai-provider-node.ts"],"mappings":";;;;cAsCa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkEA;;;;;;;;;;;;;;;;;;;;;;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
1
  {
2
2
  "name": "@ai-sdk/google-vertex",
3
- "version": "5.0.145",
3
+ "version": "5.0.147",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
@@ -71,11 +71,11 @@
71
71
  }
72
72
  },
73
73
  "dependencies": {
74
- "@ai-sdk/anthropic": "4.0.107",
75
- "@ai-sdk/google": "4.0.125",
76
- "@ai-sdk/openai-compatible": "3.0.94",
74
+ "@ai-sdk/anthropic": "4.0.109",
75
+ "@ai-sdk/google": "4.0.127",
76
+ "@ai-sdk/openai-compatible": "3.0.95",
77
77
  "@ai-sdk/provider": "4.0.39",
78
- "@ai-sdk/provider-utils": "5.0.83",
78
+ "@ai-sdk/provider-utils": "5.0.84",
79
79
  "google-auth-library": "^11.3.1"
80
80
  },
81
81
  "devDependencies": {
@@ -1,4 +1,4 @@
1
- import { getGoogleVertexRequestConfig } from '../google-vertex-model-catalog-config';
1
+ import { getGoogleVertexRequestConfig } from '../google-vertex-model-matrix';
2
2
  import {
3
3
  InvalidArgumentError,
4
4
  type Experimental_TranscriptionModelV4StreamOptions as TranscriptionModelV4StreamOptions,
@@ -1,4 +1,4 @@
1
- import { getGoogleVertexRequestConfig } from './google-vertex-model-catalog-config';
1
+ import { getGoogleVertexRequestConfig } from './google-vertex-model-matrix';
2
2
  import {
3
3
  TooManyEmbeddingValuesForCallError,
4
4
  type EmbeddingModelV4,
@@ -1,4 +1,4 @@
1
- import { getGoogleVertexRequestConfig } from './google-vertex-model-catalog-config';
1
+ import { getGoogleVertexRequestConfig } from './google-vertex-model-matrix';
2
2
  import { getGoogleVertexImageModelEntry } from './google-vertex-model-catalog';
3
3
  import type { GoogleLanguageModelOptions } from '@ai-sdk/google';
4
4
  import { GoogleLanguageModel } from '@ai-sdk/google/internal';