@ai-sdk/anthropic 3.0.67 → 3.0.69

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.
@@ -910,6 +910,15 @@ var anthropicLanguageModelOptions = z3.object({
910
910
  * Only supported with claude-opus-4-6.
911
911
  */
912
912
  speed: z3.enum(["fast", "standard"]).optional(),
913
+ /**
914
+ * Controls where model inference runs for this request.
915
+ *
916
+ * - `"global"`: Inference may run in any available geography (default).
917
+ * - `"us"`: Inference runs only in US-based infrastructure.
918
+ *
919
+ * See https://platform.claude.com/docs/en/build-with-claude/data-residency
920
+ */
921
+ inferenceGeo: z3.enum(["us", "global"]).optional(),
913
922
  /**
914
923
  * A set of beta features to enable.
915
924
  * Allow a provider to receive the full `betas` set if it needs it.
@@ -3049,6 +3058,9 @@ var AnthropicMessagesLanguageModel = class {
3049
3058
  ...(anthropicOptions == null ? void 0 : anthropicOptions.speed) && {
3050
3059
  speed: anthropicOptions.speed
3051
3060
  },
3061
+ ...(anthropicOptions == null ? void 0 : anthropicOptions.inferenceGeo) && {
3062
+ inference_geo: anthropicOptions.inferenceGeo
3063
+ },
3052
3064
  ...(anthropicOptions == null ? void 0 : anthropicOptions.cacheControl) && {
3053
3065
  cache_control: anthropicOptions.cacheControl
3054
3066
  },