@ai-sdk/anthropic 2.0.75 → 2.0.76

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.
@@ -709,6 +709,15 @@ var anthropicProviderOptions = z3.object({
709
709
  * Only supported with claude-opus-4-6.
710
710
  */
711
711
  speed: z3.enum(["fast", "standard"]).optional(),
712
+ /**
713
+ * Controls where model inference runs for this request.
714
+ *
715
+ * - `"global"`: Inference may run in any available geography (default).
716
+ * - `"us"`: Inference runs only in US-based infrastructure.
717
+ *
718
+ * See https://platform.claude.com/docs/en/build-with-claude/data-residency
719
+ */
720
+ inferenceGeo: z3.enum(["us", "global"]).optional(),
712
721
  /**
713
722
  * Context management configuration for automatic context window management.
714
723
  * Enables features like automatic compaction and clearing of tool uses/thinking blocks.
@@ -2144,6 +2153,9 @@ var AnthropicMessagesLanguageModel = class {
2144
2153
  ...(anthropicOptions == null ? void 0 : anthropicOptions.speed) && {
2145
2154
  speed: anthropicOptions.speed
2146
2155
  },
2156
+ ...(anthropicOptions == null ? void 0 : anthropicOptions.inferenceGeo) && {
2157
+ inference_geo: anthropicOptions.inferenceGeo
2158
+ },
2147
2159
  ...(anthropicOptions == null ? void 0 : anthropicOptions.cacheControl) && {
2148
2160
  cache_control: anthropicOptions.cacheControl
2149
2161
  },