@ai-sdk/anthropic 4.0.0-beta.23 → 4.0.0-beta.25

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.mjs CHANGED
@@ -1019,6 +1019,15 @@ var anthropicLanguageModelOptions = z4.object({
1019
1019
  * Only supported with claude-opus-4-6.
1020
1020
  */
1021
1021
  speed: z4.enum(["fast", "standard"]).optional(),
1022
+ /**
1023
+ * Controls where model inference runs for this request.
1024
+ *
1025
+ * - `"global"`: Inference may run in any available geography (default).
1026
+ * - `"us"`: Inference runs only in US-based infrastructure.
1027
+ *
1028
+ * See https://platform.claude.com/docs/en/build-with-claude/data-residency
1029
+ */
1030
+ inferenceGeo: z4.enum(["us", "global"]).optional(),
1022
1031
  /**
1023
1032
  * A set of beta features to enable.
1024
1033
  * Allow a provider to receive the full `betas` set if it needs it.
@@ -3195,6 +3204,9 @@ var AnthropicMessagesLanguageModel = class {
3195
3204
  ...(anthropicOptions == null ? void 0 : anthropicOptions.speed) && {
3196
3205
  speed: anthropicOptions.speed
3197
3206
  },
3207
+ ...(anthropicOptions == null ? void 0 : anthropicOptions.inferenceGeo) && {
3208
+ inference_geo: anthropicOptions.inferenceGeo
3209
+ },
3198
3210
  ...(anthropicOptions == null ? void 0 : anthropicOptions.cacheControl) && {
3199
3211
  cache_control: anthropicOptions.cacheControl
3200
3212
  },
@@ -5468,7 +5480,7 @@ var AnthropicSkills = class {
5468
5480
  };
5469
5481
 
5470
5482
  // src/version.ts
5471
- var VERSION = true ? "4.0.0-beta.23" : "0.0.0-test";
5483
+ var VERSION = true ? "4.0.0-beta.25" : "0.0.0-test";
5472
5484
 
5473
5485
  // src/anthropic-provider.ts
5474
5486
  function createAnthropic(options = {}) {