@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.
@@ -931,6 +931,15 @@ var anthropicLanguageModelOptions = import_v43.z.object({
931
931
  * Only supported with claude-opus-4-6.
932
932
  */
933
933
  speed: import_v43.z.enum(["fast", "standard"]).optional(),
934
+ /**
935
+ * Controls where model inference runs for this request.
936
+ *
937
+ * - `"global"`: Inference may run in any available geography (default).
938
+ * - `"us"`: Inference runs only in US-based infrastructure.
939
+ *
940
+ * See https://platform.claude.com/docs/en/build-with-claude/data-residency
941
+ */
942
+ inferenceGeo: import_v43.z.enum(["us", "global"]).optional(),
934
943
  /**
935
944
  * A set of beta features to enable.
936
945
  * Allow a provider to receive the full `betas` set if it needs it.
@@ -3063,6 +3072,9 @@ var AnthropicMessagesLanguageModel = class {
3063
3072
  ...(anthropicOptions == null ? void 0 : anthropicOptions.speed) && {
3064
3073
  speed: anthropicOptions.speed
3065
3074
  },
3075
+ ...(anthropicOptions == null ? void 0 : anthropicOptions.inferenceGeo) && {
3076
+ inference_geo: anthropicOptions.inferenceGeo
3077
+ },
3066
3078
  ...(anthropicOptions == null ? void 0 : anthropicOptions.cacheControl) && {
3067
3079
  cache_control: anthropicOptions.cacheControl
3068
3080
  },