UNPKG

@ai-sdk/google-vertex

Version:

The **[Google Vertex provider](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Google Vertex AI](https://cloud.google.com/vertex-ai) APIs.

2,598 lines (1,647 loc) 78.3 kB
# @ai-sdk/google-vertex ## 4.0.137 ### Patch Changes - Updated dependencies [e40e1d4] - @ai-sdk/openai-compatible@2.0.48 ## 4.0.136 ### Patch Changes - Updated dependencies [d61a788] - @ai-sdk/anthropic@3.0.79 ## 4.0.135 ### Patch Changes - Updated dependencies [cfa0cb2] - @ai-sdk/google@3.0.79 ## 4.0.134 ### Patch Changes - Updated dependencies [cf63828] - @ai-sdk/google@3.0.78 ## 4.0.133 ### Patch Changes - Updated dependencies [0f9f9bf] - @ai-sdk/google@3.0.77 ## 4.0.132 ### Patch Changes - 756fec1: feat(provider/google): add `gemini-3.5-flash` - Updated dependencies [f259bd1] - Updated dependencies [756fec1] - @ai-sdk/google@3.0.76 ## 4.0.131 ### Patch Changes - 00bd77f: fix(google-vertex): propagate project-id set in provider instance creation ## 4.0.130 ### Patch Changes - Updated dependencies [ab15576] - @ai-sdk/google@3.0.75 ## 4.0.129 ### Patch Changes - Updated dependencies [3ca0daa] - Updated dependencies [6e28d25] - @ai-sdk/google@3.0.74 - @ai-sdk/anthropic@3.0.78 ## 4.0.128 ### Patch Changes - Updated dependencies [bb1eb98] - @ai-sdk/google@3.0.73 ## 4.0.127 ### Patch Changes - Updated dependencies [d53314d] - @ai-sdk/anthropic@3.0.77 ## 4.0.126 ### Patch Changes - Updated dependencies [b3642fe] - @ai-sdk/google@3.0.72 ## 4.0.125 ### Patch Changes - Updated dependencies [59530cf] - @ai-sdk/google@3.0.71 ## 4.0.124 ### Patch Changes - Updated dependencies [4f3f564] - @ai-sdk/google@3.0.70 ## 4.0.123 ### Patch Changes - Updated dependencies [f591416] - Updated dependencies [bb377ba] - @ai-sdk/provider-utils@4.0.27 - @ai-sdk/google@3.0.69 - @ai-sdk/anthropic@3.0.76 - @ai-sdk/openai-compatible@2.0.47 ## 4.0.122 ### Patch Changes - Updated dependencies [e0f8c9e] - @ai-sdk/google@3.0.68 ## 4.0.121 ### Patch Changes - Updated dependencies [3f06680] - @ai-sdk/anthropic@3.0.75 ## 4.0.120 ### Patch Changes - 5859749: fix(google-vertex): include CJS output for xai sub-module build ## 4.0.119 ### Patch Changes - Updated dependencies [38966ab] - @ai-sdk/openai-compatible@2.0.46 ## 4.0.118 ### Patch Changes - 7452642: fix(provider/google-vertex): avoid recreating Node GoogleAuth clients for repeated requests Create Google auth token generators per provider instance instead of using a module-level shared `GoogleAuth` cache. This avoids unnecessary `GoogleAuth` recreation when `googleAuthOptions` are omitted or when multiple provider instances use equivalent auth settings. ## 4.0.117 ### Patch Changes - 6043d24: feat(vertex): add grok models to vertex provider - Updated dependencies [6043d24] - @ai-sdk/openai-compatible@2.0.45 ## 4.0.116 ### Patch Changes - Updated dependencies [7beadf0] - @ai-sdk/provider-utils@4.0.26 - @ai-sdk/anthropic@3.0.74 - @ai-sdk/google@3.0.67 - @ai-sdk/openai-compatible@2.0.44 ## 4.0.115 ### Patch Changes - 7639240: feat(provider/google-vertex): allow overriding Vertex Anthropic auth token generation ## 4.0.114 ### Patch Changes - a727da4: chore: ensure consistent import handling and avoid import duplicates or cycles - Updated dependencies [f8c9ae4] - Updated dependencies [a727da4] - @ai-sdk/anthropic@3.0.73 - @ai-sdk/openai-compatible@2.0.43 - @ai-sdk/provider-utils@4.0.25 - @ai-sdk/provider@3.0.10 - @ai-sdk/google@3.0.66 ## 4.0.113 ### Patch Changes - a7f3c72: trigger release for all packages after provenance setup - Updated dependencies [a7f3c72] - Updated dependencies [408a2ad] - @ai-sdk/anthropic@3.0.72 - @ai-sdk/google@3.0.65 - @ai-sdk/openai-compatible@2.0.42 - @ai-sdk/provider@3.0.9 - @ai-sdk/provider-utils@4.0.24 ## 4.0.112 ### Patch Changes - Updated dependencies [95b4fe0] - @ai-sdk/anthropic@3.0.71 ## 4.0.111 ### Patch Changes - 2ff8d57: feat(provider/anthropic): add support for Opus 4.7 and relevant API enhancements - Updated dependencies [2ff8d57] - @ai-sdk/anthropic@3.0.70 ## 4.0.110 ### Patch Changes - 71c52e0: chore(provider/google): update available models - Updated dependencies [71c52e0] - @ai-sdk/google@3.0.64 ## 4.0.109 ### Patch Changes - Updated dependencies [1e1a5ab] - @ai-sdk/google@3.0.63 ## 4.0.108 ### Patch Changes - Updated dependencies [46a3584] - @ai-sdk/google@3.0.62 ## 4.0.107 ### Patch Changes - Updated dependencies [61f1a61] - @ai-sdk/anthropic@3.0.69 ## 4.0.106 ### Patch Changes - Updated dependencies [03a04f6] - @ai-sdk/google@3.0.61 ## 4.0.105 ### Patch Changes - d42076d: Add AI Gateway hint to provider READMEs - Updated dependencies [d42076d] - @ai-sdk/anthropic@3.0.68 - @ai-sdk/google@3.0.60 - @ai-sdk/openai-compatible@2.0.41 ## 4.0.104 ### Patch Changes - Updated dependencies [01c9c16] - @ai-sdk/openai-compatible@2.0.40 ## 4.0.103 ### Patch Changes - Updated dependencies [6247886] - @ai-sdk/provider-utils@4.0.23 - @ai-sdk/google@3.0.59 - @ai-sdk/anthropic@3.0.67 - @ai-sdk/openai-compatible@2.0.39 ## 4.0.102 ### Patch Changes - Updated dependencies [f20ba77] - @ai-sdk/google@3.0.58 ## 4.0.101 ### Patch Changes - Updated dependencies [0f2b2f1] - @ai-sdk/google@3.0.57 ## 4.0.100 ### Patch Changes - Updated dependencies [0469aed] - @ai-sdk/provider-utils@4.0.22 - @ai-sdk/anthropic@3.0.66 - @ai-sdk/google@3.0.56 - @ai-sdk/openai-compatible@2.0.38 ## 4.0.99 ### Patch Changes - Updated dependencies [94aed06] - @ai-sdk/anthropic@3.0.65 ## 4.0.98 ### Patch Changes - Updated dependencies [bdde9d4] - @ai-sdk/google@3.0.55 ## 4.0.97 ### Patch Changes - afb6886: feat (provider/google-vertex): add support for maas models ## 4.0.96 ### Patch Changes - Updated dependencies [4e22c2c] - @ai-sdk/google@3.0.54 ## 4.0.95 ### Patch Changes - Updated dependencies [05b8ca2] - @ai-sdk/anthropic@3.0.64 ## 4.0.94 ### Patch Changes - Updated dependencies [2e5adff] - @ai-sdk/google@3.0.53 ## 4.0.93 ### Patch Changes - 055cd68: fix: publish v6 to latest npm dist tag - Updated dependencies [055cd68] - Updated dependencies [47114a3] - @ai-sdk/provider-utils@4.0.21 - @ai-sdk/anthropic@3.0.63 - @ai-sdk/google@3.0.52 ## 4.0.92 ### Patch Changes - a00fe62: feat(google-vertex): add the anthropic tool search tools ## 4.0.91 ### Patch Changes - Updated dependencies [41c6a56] - @ai-sdk/anthropic@3.0.62 ## 4.0.90 ### Patch Changes - 2381567: fix(vertex): throw warning when strict: true for vertexAnthropic - Updated dependencies [2381567] - @ai-sdk/anthropic@3.0.61 ## 4.0.89 ### Patch Changes - Updated dependencies [8901054] - @ai-sdk/google@3.0.51 ## 4.0.88 ### Patch Changes - 5ffb1ad: feat(provider/google): add `gemini-embedding-2-preview` and fix multimodal embedding support with `embedMany` - Updated dependencies [5ffb1ad] - @ai-sdk/google@3.0.50 ## 4.0.87 ### Patch Changes - Updated dependencies [85f4bb4] - @ai-sdk/google@3.0.49 ## 4.0.86 ### Patch Changes - Updated dependencies [35c46d1] - @ai-sdk/google@3.0.48 ## 4.0.85 ### Patch Changes - Updated dependencies [9d46b93] - @ai-sdk/google@3.0.47 ## 4.0.84 ### Patch Changes - Updated dependencies [ffe0f90] - @ai-sdk/anthropic@3.0.60 ## 4.0.83 ### Patch Changes - Updated dependencies [64ac0fd] - @ai-sdk/provider-utils@4.0.20 - @ai-sdk/anthropic@3.0.59 - @ai-sdk/google@3.0.46 ## 4.0.82 ### Patch Changes - Updated dependencies [e2a59ef] - @ai-sdk/google@3.0.45 ## 4.0.81 ### Patch Changes - Updated dependencies [45d71c3] - @ai-sdk/google@3.0.44 ## 4.0.80 ### Patch Changes - Updated dependencies [7ba09a4] - @ai-sdk/google@3.0.43 ## 4.0.79 ### Patch Changes - Updated dependencies [ad4cfc2] - Updated dependencies [3fb4e70] - @ai-sdk/provider-utils@4.0.19 - @ai-sdk/anthropic@3.0.58 - @ai-sdk/google@3.0.42 ## 4.0.78 ### Patch Changes - Updated dependencies [824b295] - @ai-sdk/provider-utils@4.0.18 - @ai-sdk/anthropic@3.0.57 - @ai-sdk/google@3.0.41 ## 4.0.77 ### Patch Changes - Updated dependencies [89d8b45] - @ai-sdk/google@3.0.40 ## 4.0.76 ### Patch Changes - Updated dependencies [2565e70] - @ai-sdk/google@3.0.39 ## 4.0.75 ### Patch Changes - Updated dependencies [e49c34d] - Updated dependencies [e49c34d] - Updated dependencies [2291047] - @ai-sdk/anthropic@3.0.56 - @ai-sdk/google@3.0.38 ## 4.0.74 ### Patch Changes - Updated dependencies [7531e72] - @ai-sdk/anthropic@3.0.55 ## 4.0.73 ### Patch Changes - Updated dependencies [56c67d5] - @ai-sdk/anthropic@3.0.54 ## 4.0.72 ### Patch Changes - 10bec50: feat(provider/google): add `gemini-3.1-flash-lite-preview` - Updated dependencies [10bec50] - @ai-sdk/google@3.0.37 ## 4.0.71 ### Patch Changes - Updated dependencies [89caf28] - @ai-sdk/anthropic@3.0.53 ## 4.0.70 ### Patch Changes - Updated dependencies [08336f1] - @ai-sdk/provider-utils@4.0.17 - @ai-sdk/anthropic@3.0.52 - @ai-sdk/google@3.0.36 ## 4.0.69 ### Patch Changes - 64a8fae: chore: remove obsolete model IDs for Anthropic, Google, OpenAI, xAI - Updated dependencies [64a8fae] - @ai-sdk/anthropic@3.0.51 - @ai-sdk/google@3.0.35 ## 4.0.68 ### Patch Changes - Updated dependencies [58bc42d] - @ai-sdk/provider-utils@4.0.16 - @ai-sdk/anthropic@3.0.50 - @ai-sdk/google@3.0.34 ## 4.0.67 ### Patch Changes - Updated dependencies [d98d9ba] - @ai-sdk/anthropic@3.0.49 ## 4.0.66 ### Patch Changes - Updated dependencies [2164cdf] - @ai-sdk/anthropic@3.0.48 ## 4.0.65 ### Patch Changes - Updated dependencies [1ece97a] - @ai-sdk/google@3.0.33 ## 4.0.64 ### Patch Changes - 45f0a7f: feat(provider/google): add support for gemini-3.1-flash-image-preview - Updated dependencies [45f0a7f] - @ai-sdk/google@3.0.32 ## 4.0.63 ### Patch Changes - Updated dependencies [17978c6] - @ai-sdk/anthropic@3.0.47 ## 4.0.62 ### Patch Changes - Updated dependencies [2fa3ca8] - @ai-sdk/google@3.0.31 ## 4.0.61 ### Patch Changes - Updated dependencies [b094c07] - @ai-sdk/anthropic@3.0.46 ## 4.0.60 ### Patch Changes - 765b013: feat(provider/google): add support for `gemini-3.1-pro-preview` - Updated dependencies [765b013] - @ai-sdk/google@3.0.30 ## 4.0.59 ### Patch Changes - 2a1c664: feat(provider/anthropic): add support for new Claude Sonnet 4.6 model - Updated dependencies [2a1c664] - @ai-sdk/anthropic@3.0.45 ## 4.0.58 ### Patch Changes - Updated dependencies [23ac4a3] - @ai-sdk/anthropic@3.0.44 ## 4.0.57 ### Patch Changes - Updated dependencies [4024a3a] - @ai-sdk/provider-utils@4.0.15 - @ai-sdk/anthropic@3.0.43 - @ai-sdk/google@3.0.29 ## 4.0.56 ### Patch Changes - 5a307f5: feat(provider/google-vertex): allow using Gemini image models with `generateImage` - Updated dependencies [5a307f5] - @ai-sdk/google@3.0.28 ## 4.0.55 ### Patch Changes - Updated dependencies [051361b] - @ai-sdk/google@3.0.27 ## 4.0.54 ### Patch Changes - a8835e9: fix (provider/google-vertex): pass mime type with i2v video generation ## 4.0.53 ### Patch Changes - Updated dependencies [4c27179] - @ai-sdk/google@3.0.26 ## 4.0.52 ### Patch Changes - 99fbed8: feat: normalize provider specific model options type names and ensure they are exported - Updated dependencies [99fbed8] - @ai-sdk/anthropic@3.0.42 - @ai-sdk/google@3.0.25 ## 4.0.51 ### Patch Changes - Updated dependencies [3b3e32f] - @ai-sdk/google@3.0.24 ## 4.0.50 ### Patch Changes - Updated dependencies [c60b393] - @ai-sdk/anthropic@3.0.41 ## 4.0.49 ### Patch Changes - Updated dependencies [8c2b1e1] - @ai-sdk/anthropic@3.0.40 ## 4.0.48 ### Patch Changes - Updated dependencies [ba98c56] - @ai-sdk/google@3.0.23 ## 4.0.47 ### Patch Changes - Updated dependencies [0a0d29c] - @ai-sdk/anthropic@3.0.39 ## 4.0.46 ### Patch Changes - 90a41e3: feat (provider/google-vertex): update model ids and add video generation docs ## 4.0.45 ### Patch Changes - 7168375: feat (ai, provider): default global provider video model resolution - Updated dependencies [7168375] - @ai-sdk/google@3.0.22 - @ai-sdk/provider@3.0.8 - @ai-sdk/anthropic@3.0.38 - @ai-sdk/provider-utils@4.0.14 ## 4.0.44 ### Patch Changes - Updated dependencies [e288302] - @ai-sdk/anthropic@3.0.37 ## 4.0.43 ### Patch Changes - Updated dependencies [ae30443] - @ai-sdk/google@3.0.21 ## 4.0.42 ### Patch Changes - Updated dependencies [1652320] - @ai-sdk/anthropic@3.0.36 ## 4.0.41 ### Patch Changes - 53f6731: feat (ai, provider): experimental generate video support - Updated dependencies [53f6731] - @ai-sdk/provider@3.0.7 - @ai-sdk/google@3.0.20 - @ai-sdk/anthropic@3.0.35 - @ai-sdk/provider-utils@4.0.13 ## 4.0.40 ### Patch Changes - Updated dependencies [96936e5] - @ai-sdk/provider-utils@4.0.12 - @ai-sdk/anthropic@3.0.34 - @ai-sdk/google@3.0.19 ## 4.0.39 ### Patch Changes - Updated dependencies [445cbe3] - @ai-sdk/anthropic@3.0.33 ## 4.0.38 ### Patch Changes - Updated dependencies [c33343b] - @ai-sdk/anthropic@3.0.32 ## 4.0.37 ### Patch Changes - Updated dependencies [2810850] - @ai-sdk/provider-utils@4.0.11 - @ai-sdk/provider@3.0.6 - @ai-sdk/anthropic@3.0.31 - @ai-sdk/google@3.0.18 ## 4.0.36 ### Patch Changes - 1524271: chore: add skill information to README files - Updated dependencies [1524271] - @ai-sdk/anthropic@3.0.30 - @ai-sdk/google@3.0.17 ## 4.0.35 ### Patch Changes - Updated dependencies [b9d105f] - @ai-sdk/anthropic@3.0.29 ## 4.0.34 ### Patch Changes - Updated dependencies [97b3ebb] - @ai-sdk/google@3.0.16 ## 4.0.33 ### Patch Changes - Updated dependencies [2445da4] - @ai-sdk/anthropic@3.0.28 ## 4.0.32 ### Patch Changes - Updated dependencies [572ea12] - @ai-sdk/anthropic@3.0.27 ## 4.0.31 ### Patch Changes - Updated dependencies [2c70b90] - @ai-sdk/anthropic@3.0.26 - @ai-sdk/google@3.0.15 ## 4.0.30 ### Patch Changes - Updated dependencies [0bb9bcd] - @ai-sdk/anthropic@3.0.25 ## 4.0.29 ### Patch Changes - Updated dependencies [462ad00] - @ai-sdk/provider-utils@4.0.10 - @ai-sdk/anthropic@3.0.24 - @ai-sdk/google@3.0.14 ## 4.0.28 ### Patch Changes - 4de5a1d: chore: excluded tests from src folder in npm package - Updated dependencies [4de5a1d] - @ai-sdk/anthropic@3.0.23 - @ai-sdk/google@3.0.13 - @ai-sdk/provider@3.0.5 - @ai-sdk/provider-utils@4.0.9 ## 4.0.27 ### Patch Changes - Updated dependencies [8ccf04b] - @ai-sdk/anthropic@3.0.22 ## 4.0.26 ### Patch Changes - Updated dependencies [662d359] - @ai-sdk/anthropic@3.0.21 ## 4.0.25 ### Patch Changes - 2b8369d: chore: add docs to package dist - Updated dependencies [2b8369d] - @ai-sdk/anthropic@3.0.20 - @ai-sdk/google@3.0.12 ## 4.0.24 ### Patch Changes - 8dc54db: chore: add src folders to package bundle - Updated dependencies [8dc54db] - @ai-sdk/anthropic@3.0.19 - @ai-sdk/google@3.0.11 ## 4.0.23 ### Patch Changes - Updated dependencies [c10bd49] - @ai-sdk/anthropic@3.0.18 ## 4.0.22 ### Patch Changes - 689557c: set Google Vertex Express API key as header instead of URL argument ## 4.0.21 ### Patch Changes - Updated dependencies [4729bed] - @ai-sdk/anthropic@3.0.17 ## 4.0.20 ### Patch Changes - 827f52a: fix(google-vertex): lazy load the env vars for vertexAnthropic ## 4.0.19 ### Patch Changes - 20828dc: fix(google-vertex): add type safety for allowed tools ## 4.0.18 ### Patch Changes - Updated dependencies [d36fa72] - @ai-sdk/anthropic@3.0.16 ## 4.0.17 ### Patch Changes - Updated dependencies [5c090e7] - @ai-sdk/provider@3.0.4 - @ai-sdk/anthropic@3.0.15 - @ai-sdk/google@3.0.10 - @ai-sdk/provider-utils@4.0.8 ## 4.0.16 ### Patch Changes - Updated dependencies [46f46e4] - @ai-sdk/provider-utils@4.0.7 - @ai-sdk/anthropic@3.0.14 - @ai-sdk/google@3.0.9 ## 4.0.15 ### Patch Changes - Updated dependencies [1b11dcb] - @ai-sdk/provider-utils@4.0.6 - @ai-sdk/provider@3.0.3 - @ai-sdk/anthropic@3.0.13 - @ai-sdk/google@3.0.8 ## 4.0.14 ### Patch Changes - Updated dependencies [34d1c8a] - @ai-sdk/provider-utils@4.0.5 - @ai-sdk/anthropic@3.0.12 - @ai-sdk/google@3.0.7 ## 4.0.13 ### Patch Changes - Updated dependencies [8c1c6e3] - @ai-sdk/anthropic@3.0.11 ## 4.0.12 ### Patch Changes - Updated dependencies [02d9b68] - @ai-sdk/anthropic@3.0.10 ## 4.0.11 ### Patch Changes - Updated dependencies [de2399b] - @ai-sdk/anthropic@3.0.9 ## 4.0.10 ### Patch Changes - Updated dependencies [2043612] - @ai-sdk/google@3.0.6 ## 4.0.9 ### Patch Changes - Updated dependencies [bee4f82] - @ai-sdk/anthropic@3.0.8 ## 4.0.8 ### Patch Changes - Updated dependencies [3be4d81] - @ai-sdk/google@3.0.5 ## 4.0.7 ### Patch Changes - Updated dependencies [d937c8f] - @ai-sdk/provider@3.0.2 - @ai-sdk/anthropic@3.0.7 - @ai-sdk/google@3.0.4 - @ai-sdk/provider-utils@4.0.4 ## 4.0.6 ### Patch Changes - Updated dependencies [2231e84] - @ai-sdk/anthropic@3.0.6 ## 4.0.5 ### Patch Changes - Updated dependencies [0b429d4] - @ai-sdk/provider-utils@4.0.3 - @ai-sdk/anthropic@3.0.5 - @ai-sdk/google@3.0.3 ## 4.0.4 ### Patch Changes - Updated dependencies [bf39dac] - @ai-sdk/anthropic@3.0.4 ## 4.0.3 ### Patch Changes - Updated dependencies [77b760d] - @ai-sdk/anthropic@3.0.3 ## 4.0.2 ### Patch Changes - 863d34f: fix: trigger release to update `@latest` - Updated dependencies [863d34f] - @ai-sdk/anthropic@3.0.2 - @ai-sdk/google@3.0.2 - @ai-sdk/provider@3.0.1 - @ai-sdk/provider-utils@4.0.2 ## 4.0.1 ### Patch Changes - Updated dependencies [29264a3] - @ai-sdk/provider-utils@4.0.1 - @ai-sdk/anthropic@3.0.1 - @ai-sdk/google@3.0.1 ## 4.0.0 ### Major Changes - dee8b05: ai SDK 6 beta ### Minor Changes - 78928cb: release: start 5.1 beta ### Patch Changes - 0c3b58b: fix(provider): add specificationVersion to ProviderV3 - 47a88a1: Remove duplicate gemini-1.0-pro-001 model ID - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3 Before ```ts model.textEmbeddingModel("my-model-id"); ``` After ```ts model.embeddingModel("my-model-id"); ``` - 32a6c13: Add Google Maps grounding tool support for location-aware Gemini responses - 95f65c2: chore: use import \* from zod/v4 - 0b92881: Add Google Vertex RAG Engine grounding provider tool - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool - 0c4822d: feat: `EmbeddingModelV3` - f8c981f: Fix adding google search along with url context in vertex ai - 00dfa76: feat(provider/google-vertex): Add support for the imageSize provider option - 0e29b86: Add claude-opus-4-5@20251101 to Google Vertex Anthropic models - e8109d3: feat: tool execution approval - 87db851: fix(vertex/anthropic): passing beta header only for structured outputs - ed329cb: feat: `Provider-V3` - 3bd2689: feat: extended token usage - 1cad0ab: feat: add provider version to user-agent header - 024e778: feat(provider/vertext): add express mode support - 8dac895: feat: `LanguageModelV3` - 82ceb49: Add claude sonnet 4.5 in google vertex anthropic provider - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings - 0ad470b: feat(provider/google): add enterpriseWebSearch tool - 9061dc0: feat: image editing - ee8cd23: fix(vertex): allow 'vertex' as a key for providerOptions - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases - 2825757: Add Google File search tool - 4616b86: chore: update zod peer depenedency version - 33d9327: add `gemini-3-pro-preview` and `gemini-3-pro-image-preview` model IDs - 88b2c7e: feat(provider/amazon-bedrock,provider/google-vertex-anthropic): add support for tool calling with structured output Added support for combining tool calling with structured outputs in both Amazon Bedrock and Google Vertex Anthropic providers. This allows developers to use tools (like weather lookups, web search, etc.) alongside structured JSON output schemas, enabling multi-step agentic workflows with structured final outputs. **Amazon Bedrock Changes:** - Removed incorrect warning that prevented using tools with JSON response format - Updated tool choice to use `{ type: 'required' }` instead of specific tool selection when using structured outputs - Added `isJsonResponseFromTool` parameter to finish reason mapping - JSON tool responses are correctly converted to text content and finish reason is mapped from `tool_use` to `stop` - Added comprehensive test coverage for combining tools with structured outputs - Added example files demonstrating the feature **Google Vertex Anthropic Changes:** - Inherits support from underlying Anthropic provider implementation - Added test coverage to verify the feature works correctly - Added example files demonstrating the feature This brings Anthropic provider's structured output capabilities to the Amazon Bedrock and Google Vertex Anthropic providers. - 522f6b8: feat: `ImageModelV3` - 870297d: feat(google): gemini-3-flash - cdb463a: update google-auth-library to ^10.5.0 - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies - 4d2e88e: fix(google,google-vertex): update known model IDs - e833473: chore (provider/google): Add preview modelIds for gemini 2.5 flash and lite - Updated dependencies - @ai-sdk/anthropic@3.0.0 - @ai-sdk/provider@3.0.0 - @ai-sdk/google@3.0.0 - @ai-sdk/provider-utils@4.0.0 ## 4.0.0-beta.135 ### Patch Changes - Updated dependencies [218bba1] - @ai-sdk/google@3.0.0-beta.90 ## 4.0.0-beta.134 ### Patch Changes - Updated dependencies [2049c5b] - @ai-sdk/anthropic@3.0.0-beta.98 ## 4.0.0-beta.133 ### Patch Changes - Updated dependencies [475189e] - @ai-sdk/provider@3.0.0-beta.32 - @ai-sdk/anthropic@3.0.0-beta.97 - @ai-sdk/google@3.0.0-beta.89 - @ai-sdk/provider-utils@4.0.0-beta.59 ## 4.0.0-beta.132 ### Patch Changes - Updated dependencies [2625a04] - @ai-sdk/anthropic@3.0.0-beta.96 - @ai-sdk/provider@3.0.0-beta.31 - @ai-sdk/google@3.0.0-beta.88 - @ai-sdk/provider-utils@4.0.0-beta.58 ## 4.0.0-beta.131 ### Patch Changes - Updated dependencies [cbf52cd] - @ai-sdk/anthropic@3.0.0-beta.95 - @ai-sdk/provider@3.0.0-beta.30 - @ai-sdk/google@3.0.0-beta.87 - @ai-sdk/provider-utils@4.0.0-beta.57 ## 4.0.0-beta.130 ### Patch Changes - Updated dependencies [9549c9e] - @ai-sdk/provider@3.0.0-beta.29 - @ai-sdk/anthropic@3.0.0-beta.94 - @ai-sdk/google@3.0.0-beta.86 - @ai-sdk/provider-utils@4.0.0-beta.56 ## 4.0.0-beta.129 ### Patch Changes - Updated dependencies [50b70d6] - @ai-sdk/provider-utils@4.0.0-beta.55 - @ai-sdk/anthropic@3.0.0-beta.93 - @ai-sdk/google@3.0.0-beta.85 ## 4.0.0-beta.128 ### Patch Changes - Updated dependencies [fd788ce] - @ai-sdk/google@3.0.0-beta.84 ## 4.0.0-beta.127 ### Patch Changes - Updated dependencies [166b6d7] - @ai-sdk/google@3.0.0-beta.83 ## 4.0.0-beta.126 ### Patch Changes - 9061dc0: feat: image editing - Updated dependencies [9061dc0] - @ai-sdk/provider-utils@4.0.0-beta.54 - @ai-sdk/provider@3.0.0-beta.28 - @ai-sdk/google@3.0.0-beta.82 - @ai-sdk/anthropic@3.0.0-beta.92 ## 4.0.0-beta.125 ### Patch Changes - 0ad470b: feat(provider/google): add enterpriseWebSearch tool - Updated dependencies [0ad470b] - @ai-sdk/google@3.0.0-beta.81 ## 4.0.0-beta.124 ### Patch Changes - Updated dependencies [d129d89] - @ai-sdk/anthropic@3.0.0-beta.91 ## 4.0.0-beta.123 ### Patch Changes - 870297d: feat(google): gemini-3-flash - Updated dependencies [870297d] - @ai-sdk/google@3.0.0-beta.80 ## 4.0.0-beta.122 ### Patch Changes - 366f50b: chore(provider): add deprecated textEmbeddingModel and textEmbedding aliases - Updated dependencies [366f50b] - @ai-sdk/anthropic@3.0.0-beta.90 - @ai-sdk/provider@3.0.0-beta.27 - @ai-sdk/google@3.0.0-beta.79 - @ai-sdk/provider-utils@4.0.0-beta.53 ## 4.0.0-beta.121 ### Patch Changes - Updated dependencies [763d04a] - @ai-sdk/provider-utils@4.0.0-beta.52 - @ai-sdk/anthropic@3.0.0-beta.89 - @ai-sdk/google@3.0.0-beta.78 ## 4.0.0-beta.120 ### Patch Changes - 87db851: fix(vertex/anthropic): passing beta header only for structured outputs - Updated dependencies [87db851] - @ai-sdk/anthropic@3.0.0-beta.88 ## 4.0.0-beta.119 ### Patch Changes - 32a6c13: Add Google Maps grounding tool support for location-aware Gemini responses - Updated dependencies [32a6c13] - @ai-sdk/google@3.0.0-beta.77 ## 4.0.0-beta.118 ### Patch Changes - Updated dependencies [c1efac4] - @ai-sdk/provider-utils@4.0.0-beta.51 - @ai-sdk/anthropic@3.0.0-beta.87 - @ai-sdk/google@3.0.0-beta.76 ## 4.0.0-beta.117 ### Patch Changes - Updated dependencies [32223c8] - @ai-sdk/provider-utils@4.0.0-beta.50 - @ai-sdk/anthropic@3.0.0-beta.86 - @ai-sdk/google@3.0.0-beta.75 ## 4.0.0-beta.116 ### Patch Changes - Updated dependencies [83e5744] - @ai-sdk/provider-utils@4.0.0-beta.49 - @ai-sdk/anthropic@3.0.0-beta.85 - @ai-sdk/google@3.0.0-beta.74 ## 4.0.0-beta.115 ### Patch Changes - Updated dependencies [960ec8f] - @ai-sdk/provider-utils@4.0.0-beta.48 - @ai-sdk/anthropic@3.0.0-beta.84 - @ai-sdk/google@3.0.0-beta.73 ## 4.0.0-beta.114 ### Patch Changes - 47a88a1: Remove duplicate gemini-1.0-pro-001 model ID ## 4.0.0-beta.113 ### Patch Changes - Updated dependencies [6c38080] - @ai-sdk/anthropic@3.0.0-beta.83 ## 4.0.0-beta.112 ### Patch Changes - ee8cd23: fix(vertex): allow 'vertex' as a key for providerOptions - Updated dependencies [ee8cd23] - @ai-sdk/google@3.0.0-beta.72 ## 4.0.0-beta.111 ### Patch Changes - Updated dependencies [49e2b6a] - @ai-sdk/google@3.0.0-beta.71 ## 4.0.0-beta.110 ### Patch Changes - Updated dependencies [e9e157f] - @ai-sdk/provider-utils@4.0.0-beta.47 - @ai-sdk/anthropic@3.0.0-beta.82 - @ai-sdk/google@3.0.0-beta.70 ## 4.0.0-beta.109 ### Patch Changes - Updated dependencies [81e29ab] - @ai-sdk/provider-utils@4.0.0-beta.46 - @ai-sdk/anthropic@3.0.0-beta.81 - @ai-sdk/google@3.0.0-beta.69 ## 4.0.0-beta.108 ### Patch Changes - Updated dependencies [05d5b9a] - @ai-sdk/anthropic@3.0.0-beta.80 ## 4.0.0-beta.107 ### Patch Changes - 024e778: feat(provider/vertext): add express mode support ## 4.0.0-beta.106 ### Patch Changes - 3bd2689: feat: extended token usage - Updated dependencies [3bd2689] - @ai-sdk/anthropic@3.0.0-beta.79 - @ai-sdk/provider@3.0.0-beta.26 - @ai-sdk/google@3.0.0-beta.68 - @ai-sdk/provider-utils@4.0.0-beta.45 ## 4.0.0-beta.105 ### Patch Changes - Updated dependencies [9e1e758] - @ai-sdk/anthropic@3.0.0-beta.78 ## 4.0.0-beta.104 ### Patch Changes - 4d2e88e: fix(google,google-vertex): update known model IDs - Updated dependencies [4d2e88e] - @ai-sdk/google@3.0.0-beta.67 ## 4.0.0-beta.103 ### Patch Changes - Updated dependencies [b2dbfbf] - @ai-sdk/anthropic@3.0.0-beta.77 ## 4.0.0-beta.102 ### Patch Changes - Updated dependencies [53f3368] - @ai-sdk/provider@3.0.0-beta.25 - @ai-sdk/anthropic@3.0.0-beta.76 - @ai-sdk/google@3.0.0-beta.66 - @ai-sdk/provider-utils@4.0.0-beta.44 ## 4.0.0-beta.101 ### Patch Changes - Updated dependencies [0ae783e] - @ai-sdk/anthropic@3.0.0-beta.75 ## 4.0.0-beta.100 ### Patch Changes - Updated dependencies [dce03c4] - @ai-sdk/provider-utils@4.0.0-beta.43 - @ai-sdk/anthropic@3.0.0-beta.74 - @ai-sdk/provider@3.0.0-beta.24 - @ai-sdk/google@3.0.0-beta.65 ## 4.0.0-beta.99 ### Patch Changes - Updated dependencies [3ed5519] - @ai-sdk/provider-utils@4.0.0-beta.42 - @ai-sdk/anthropic@3.0.0-beta.73 - @ai-sdk/google@3.0.0-beta.64 ## 4.0.0-beta.98 ### Patch Changes - Updated dependencies [a5f77a6] - @ai-sdk/anthropic@3.0.0-beta.72 ## 4.0.0-beta.97 ### Patch Changes - Updated dependencies [1bd7d32] - @ai-sdk/provider-utils@4.0.0-beta.41 - @ai-sdk/anthropic@3.0.0-beta.71 - @ai-sdk/provider@3.0.0-beta.23 - @ai-sdk/google@3.0.0-beta.63 ## 4.0.0-beta.96 ### Patch Changes - 00dfa76: feat(provider/google-vertex): Add support for the imageSize provider option ## 4.0.0-beta.95 ### Patch Changes - Updated dependencies [f13958c] - @ai-sdk/anthropic@3.0.0-beta.70 ## 4.0.0-beta.94 ### Patch Changes - Updated dependencies [589a4ee] - @ai-sdk/anthropic@3.0.0-beta.69 ## 4.0.0-beta.93 ### Patch Changes - Updated dependencies [9e35785] - @ai-sdk/anthropic@3.0.0-beta.68 ## 4.0.0-beta.92 ### Patch Changes - Updated dependencies [eb56fc6] - @ai-sdk/anthropic@3.0.0-beta.67 ## 4.0.0-beta.91 ### Patch Changes - cdb463a: update google-auth-library to ^10.5.0 ## 4.0.0-beta.90 ### Patch Changes - 544d4e8: chore(specification): rename v3 provider defined tool to provider tool - Updated dependencies [544d4e8] - @ai-sdk/provider-utils@4.0.0-beta.40 - @ai-sdk/anthropic@3.0.0-beta.66 - @ai-sdk/provider@3.0.0-beta.22 - @ai-sdk/google@3.0.0-beta.62 ## 4.0.0-beta.89 ### Patch Changes - Updated dependencies [954c356] - @ai-sdk/provider-utils@4.0.0-beta.39 - @ai-sdk/anthropic@3.0.0-beta.65 - @ai-sdk/provider@3.0.0-beta.21 - @ai-sdk/google@3.0.0-beta.61 ## 4.0.0-beta.88 ### Patch Changes - Updated dependencies - @ai-sdk/provider-utils@4.0.0-beta.38 - @ai-sdk/anthropic@3.0.0-beta.64 - @ai-sdk/google@3.0.0-beta.60 ## 4.0.0-beta.87 ### Patch Changes - 457318b: chore(provider,ai): switch to SharedV3Warning and unified warnings - Updated dependencies [457318b] - @ai-sdk/anthropic@3.0.0-beta.63 - @ai-sdk/provider@3.0.0-beta.20 - @ai-sdk/google@3.0.0-beta.59 - @ai-sdk/provider-utils@4.0.0-beta.37 ## 4.0.0-beta.86 ### Patch Changes - 0e29b86: Add claude-opus-4-5@20251101 to Google Vertex Anthropic models ## 4.0.0-beta.85 ### Patch Changes - 8d9e8ad: chore(provider): remove generics from EmbeddingModelV3 Before ```ts model.textEmbeddingModel("my-model-id"); ``` After ```ts model.embeddingModel("my-model-id"); ``` - Updated dependencies [8d9e8ad] - @ai-sdk/anthropic@3.0.0-beta.62 - @ai-sdk/provider@3.0.0-beta.19 - @ai-sdk/google@3.0.0-beta.58 - @ai-sdk/provider-utils@4.0.0-beta.36 ## 4.0.0-beta.84 ### Patch Changes - Updated dependencies [10d819b] - @ai-sdk/provider@3.0.0-beta.18 - @ai-sdk/anthropic@3.0.0-beta.61 - @ai-sdk/google@3.0.0-beta.57 - @ai-sdk/provider-utils@4.0.0-beta.35 ## 4.0.0-beta.83 ### Patch Changes - Updated dependencies [6fc35cb] - @ai-sdk/anthropic@3.0.0-beta.60 ## 4.0.0-beta.82 ### Patch Changes - Updated dependencies [2109385] - @ai-sdk/anthropic@3.0.0-beta.59 ## 4.0.0-beta.81 ### Patch Changes - Updated dependencies [83aaad8] - @ai-sdk/anthropic@3.0.0-beta.58 ## 4.0.0-beta.80 ### Patch Changes - Updated dependencies [e300a3b] - @ai-sdk/google@3.0.0-beta.56 ## 4.0.0-beta.79 ### Patch Changes - Updated dependencies [b8ea36e] - @ai-sdk/anthropic@3.0.0-beta.57 ## 4.0.0-beta.78 ### Patch Changes - Updated dependencies [983e394] - @ai-sdk/anthropic@3.0.0-beta.56 ## 4.0.0-beta.77 ### Patch Changes - Updated dependencies [db913bd] - @ai-sdk/provider@3.0.0-beta.17 - @ai-sdk/google@3.0.0-beta.55 - @ai-sdk/anthropic@3.0.0-beta.55 - @ai-sdk/provider-utils@4.0.0-beta.34 ## 4.0.0-beta.76 ### Patch Changes - Updated dependencies [bb28cac] - @ai-sdk/google@3.0.0-beta.54 ## 4.0.0-beta.75 ### Patch Changes - 88b2c7e: feat(provider/amazon-bedrock,provider/google-vertex-anthropic): add support for tool calling with structured output Added support for combining tool calling with structured outputs in both Amazon Bedrock and Google Vertex Anthropic providers. This allows developers to use tools (like weather lookups, web search, etc.) alongside structured JSON output schemas, enabling multi-step agentic workflows with structured final outputs. **Amazon Bedrock Changes:** - Removed incorrect warning that prevented using tools with JSON response format - Updated tool choice to use `{ type: 'required' }` instead of specific tool selection when using structured outputs - Added `isJsonResponseFromTool` parameter to finish reason mapping - JSON tool responses are correctly converted to text content and finish reason is mapped from `tool_use` to `stop` - Added comprehensive test coverage for combining tools with structured outputs - Added example files demonstrating the feature **Google Vertex Anthropic Changes:** - Inherits support from underlying Anthropic provider implementation - Added test coverage to verify the feature works correctly - Added example files demonstrating the feature This brings Anthropic provider's structured output capabilities to the Amazon Bedrock and Google Vertex Anthropic providers. ## 4.0.0-beta.74 ### Patch Changes - 33d9327: add `gemini-3-pro-preview` and `gemini-3-pro-image-preview` model IDs - Updated dependencies [33d9327] - @ai-sdk/google@3.0.0-beta.53 ## 4.0.0-beta.73 ### Patch Changes - Updated dependencies [fff8d59] - @ai-sdk/google@3.0.0-beta.52 ## 4.0.0-beta.72 ### Patch Changes - Updated dependencies [8370068] - @ai-sdk/google@3.0.0-beta.51 ## 4.0.0-beta.71 ### Patch Changes - Updated dependencies [9be07c8] - @ai-sdk/google@3.0.0-beta.50 ## 4.0.0-beta.70 ### Patch Changes - Updated dependencies [8ee8edc] - @ai-sdk/google@3.0.0-beta.49 ## 4.0.0-beta.69 ### Patch Changes - Updated dependencies [6078060] - @ai-sdk/google@3.0.0-beta.48 ## 4.0.0-beta.68 ### Patch Changes - Updated dependencies - @ai-sdk/google@3.0.0-beta.47 ## 4.0.0-beta.67 ### Patch Changes - Updated dependencies [1d15673] - @ai-sdk/anthropic@3.0.0-beta.54 ## 4.0.0-beta.66 ### Patch Changes - 0b92881: Add Google Vertex RAG Engine grounding provider tool - Updated dependencies [0b92881] - @ai-sdk/google@3.0.0-beta.46 ## 4.0.0-beta.65 ### Patch Changes - Updated dependencies [9b17031] - @ai-sdk/google@3.0.0-beta.45 ## 4.0.0-beta.64 ### Patch Changes - Updated dependencies [0cfae4c] - @ai-sdk/google@3.0.0-beta.44 ## 4.0.0-beta.63 ### Patch Changes - Updated dependencies [b681d7d] - @ai-sdk/provider@3.0.0-beta.16 - @ai-sdk/anthropic@3.0.0-beta.53 - @ai-sdk/google@3.0.0-beta.43 - @ai-sdk/provider-utils@4.0.0-beta.33 ## 4.0.0-beta.62 ### Patch Changes - Updated dependencies [32d8dbb] - @ai-sdk/provider-utils@4.0.0-beta.32 - @ai-sdk/anthropic@3.0.0-beta.52 - @ai-sdk/google@3.0.0-beta.42 ## 4.0.0-beta.61 ### Patch Changes - Updated dependencies [1742445] - @ai-sdk/anthropic@3.0.0-beta.51 - @ai-sdk/google@3.0.0-beta.41 ## 4.0.0-beta.60 ### Patch Changes - 2825757: Add Google File search tool - Updated dependencies [2825757] - @ai-sdk/google@3.0.0-beta.40 ## 4.0.0-beta.59 ### Patch Changes - Updated dependencies [bb36798] - @ai-sdk/provider@3.0.0-beta.15 - @ai-sdk/anthropic@3.0.0-beta.50 - @ai-sdk/google@3.0.0-beta.39 - @ai-sdk/provider-utils@4.0.0-beta.31 ## 4.0.0-beta.58 ### Patch Changes - Updated dependencies [4f16c37] - @ai-sdk/provider-utils@4.0.0-beta.30 - @ai-sdk/anthropic@3.0.0-beta.49 - @ai-sdk/google@3.0.0-beta.38 ## 4.0.0-beta.57 ### Patch Changes - Updated dependencies [af3780b] - @ai-sdk/provider@3.0.0-beta.14 - @ai-sdk/anthropic@3.0.0-beta.48 - @ai-sdk/google@3.0.0-beta.37 - @ai-sdk/provider-utils@4.0.0-beta.29 ## 4.0.0-beta.56 ### Patch Changes - Updated dependencies [c8003fb] - @ai-sdk/google@3.0.0-beta.36 ## 4.0.0-beta.55 ### Patch Changes - Updated dependencies [016b111] - @ai-sdk/provider-utils@4.0.0-beta.28 - @ai-sdk/anthropic@3.0.0-beta.47 - @ai-sdk/google@3.0.0-beta.35 ## 4.0.0-beta.54 ### Patch Changes - Updated dependencies [37c58a0] - @ai-sdk/provider@3.0.0-beta.13 - @ai-sdk/anthropic@3.0.0-beta.46 - @ai-sdk/google@3.0.0-beta.34 - @ai-sdk/provider-utils@4.0.0-beta.27 ## 4.0.0-beta.53 ### Patch Changes - Updated dependencies [f4e4a95] - @ai-sdk/anthropic@3.0.0-beta.45 ## 4.0.0-beta.52 ### Patch Changes - Updated dependencies [cf4e2a9] - @ai-sdk/anthropic@3.0.0-beta.44 ## 4.0.0-beta.51 ### Patch Changes - Updated dependencies [d1bdadb] - @ai-sdk/provider@3.0.0-beta.12 - @ai-sdk/anthropic@3.0.0-beta.43 - @ai-sdk/google@3.0.0-beta.33 - @ai-sdk/provider-utils@4.0.0-beta.26 ## 4.0.0-beta.50 ### Patch Changes - Updated dependencies [4c44a5b] - @ai-sdk/provider@3.0.0-beta.11 - @ai-sdk/anthropic@3.0.0-beta.42 - @ai-sdk/google@3.0.0-beta.32 - @ai-sdk/provider-utils@4.0.0-beta.25 ## 4.0.0-beta.49 ### Patch Changes - 0c3b58b: fix(provider): add specificationVersion to ProviderV3 - Updated dependencies [0c3b58b] - @ai-sdk/anthropic@3.0.0-beta.41 - @ai-sdk/provider@3.0.0-beta.10 - @ai-sdk/google@3.0.0-beta.31 - @ai-sdk/provider-utils@4.0.0-beta.24 ## 4.0.0-beta.48 ### Patch Changes - Updated dependencies [a755db5] - @ai-sdk/provider@3.0.0-beta.9 - @ai-sdk/anthropic@3.0.0-beta.40 - @ai-sdk/google@3.0.0-beta.30 - @ai-sdk/provider-utils@4.0.0-beta.23 ## 4.0.0-beta.47 ### Patch Changes - Updated dependencies [58920e0] - @ai-sdk/provider-utils@4.0.0-beta.22 - @ai-sdk/anthropic@3.0.0-beta.39 - @ai-sdk/google@3.0.0-beta.29 ## 4.0.0-beta.46 ### Patch Changes - Updated dependencies [293a6b7] - @ai-sdk/provider-utils@4.0.0-beta.21 - @ai-sdk/anthropic@3.0.0-beta.38 - @ai-sdk/google@3.0.0-beta.28 ## 4.0.0-beta.45 ### Patch Changes - Updated dependencies [7c4328e] - @ai-sdk/anthropic@3.0.0-beta.37 ## 4.0.0-beta.44 ### Patch Changes - Updated dependencies [21f378c] - @ai-sdk/anthropic@3.0.0-beta.36 ## 4.0.0-beta.43 ### Patch Changes - Updated dependencies [80894b3] - @ai-sdk/anthropic@3.0.0-beta.35 ## 4.0.0-beta.42 ### Patch Changes - Updated dependencies [fca786b] - @ai-sdk/provider-utils@4.0.0-beta.20 - @ai-sdk/anthropic@3.0.0-beta.34 - @ai-sdk/google@3.0.0-beta.27 ## 4.0.0-beta.41 ### Patch Changes - Updated dependencies [0e38a79] - @ai-sdk/anthropic@3.0.0-beta.33 ## 4.0.0-beta.40 ### Patch Changes - Updated dependencies [f4db7b5] - @ai-sdk/anthropic@3.0.0-beta.32 ## 4.0.0-beta.39 ### Patch Changes - Updated dependencies [ca07285] - @ai-sdk/anthropic@3.0.0-beta.31 ## 4.0.0-beta.38 ### Patch Changes - Updated dependencies [9354297] - @ai-sdk/anthropic@3.0.0-beta.30 ## 4.0.0-beta.37 ### Patch Changes - Updated dependencies [3794514] - @ai-sdk/provider-utils@4.0.0-beta.19 - @ai-sdk/anthropic@3.0.0-beta.29 - @ai-sdk/provider@3.0.0-beta.8 - @ai-sdk/google@3.0.0-beta.26 ## 4.0.0-beta.36 ### Patch Changes - Updated dependencies - @ai-sdk/anthropic@3.0.0-beta.28 - @ai-sdk/provider@3.0.0-beta.7 - @ai-sdk/google@3.0.0-beta.25 - @ai-sdk/provider-utils@4.0.0-beta.18 ## 4.0.0-beta.35 ### Patch Changes - Updated dependencies [4c5a6be] - @ai-sdk/anthropic@3.0.0-beta.27 ## 4.0.0-beta.34 ### Patch Changes - Updated dependencies [f33a018] - @ai-sdk/anthropic@3.0.0-beta.26 ## 4.0.0-beta.33 ### Patch Changes - Updated dependencies [703459a] - @ai-sdk/provider-utils@4.0.0-beta.17 - @ai-sdk/anthropic@3.0.0-beta.25 - @ai-sdk/google@3.0.0-beta.24 ## 4.0.0-beta.32 ### Patch Changes - Updated dependencies [d08308b] - @ai-sdk/anthropic@3.0.0-beta.24 ## 4.0.0-beta.31 ### Patch Changes - Updated dependencies [6f845b4] - @ai-sdk/anthropic@3.0.0-beta.23 ## 4.0.0-beta.30 ### Patch Changes - f8c981f: Fix adding google search along with url context in vertex ai - Updated dependencies [f8c981f] - @ai-sdk/google@3.0.0-beta.23 ## 4.0.0-beta.29 ### Patch Changes - Updated dependencies [09ba2dd] - @ai-sdk/google@3.0.0-beta.22 ## 4.0.0-beta.28 ### Patch Changes - Updated dependencies [ed537e1] - @ai-sdk/anthropic@3.0.0-beta.22 ## 4.0.0-beta.27 ### Patch Changes - Updated dependencies [6306603] - @ai-sdk/provider-utils@4.0.0-beta.16 - @ai-sdk/anthropic@3.0.0-beta.21 - @ai-sdk/google@3.0.0-beta.21 ## 4.0.0-beta.26 ### Patch Changes - Updated dependencies [f0b2157] - @ai-sdk/provider-utils@4.0.0-beta.15 - @ai-sdk/anthropic@3.0.0-beta.20 - @ai-sdk/google@3.0.0-beta.20 ## 4.0.0-beta.25 ### Patch Changes - Updated dependencies [3b1d015] - @ai-sdk/provider-utils@4.0.0-beta.14 - @ai-sdk/anthropic@3.0.0-beta.19 - @ai-sdk/google@3.0.0-beta.19 ## 4.0.0-beta.24 ### Patch Changes - Updated dependencies [d116b4b] - @ai-sdk/provider-utils@4.0.0-beta.13 - @ai-sdk/anthropic@3.0.0-beta.18 - @ai-sdk/google@3.0.0-beta.18 ## 4.0.0-beta.23 ### Patch Changes - Updated dependencies [7e32fea] - @ai-sdk/provider-utils@4.0.0-beta.12 - @ai-sdk/anthropic@3.0.0-beta.17 - @ai-sdk/google@3.0.0-beta.17 ## 4.0.0-beta.22 ### Patch Changes - Updated dependencies [ee50cc5] - @ai-sdk/google@3.0.0-beta.16 ## 4.0.0-beta.21 ### Patch Changes - Updated dependencies [9cff587] - @ai-sdk/anthropic@3.0.0-beta.16 ## 4.0.0-beta.20 ### Patch Changes - 95f65c2: chore: use import \* from zod/v4 - Updated dependencies - @ai-sdk/provider-utils@4.0.0-beta.11 - @ai-sdk/anthropic@3.0.0-beta.15 - @ai-sdk/google@3.0.0-beta.15 ## 4.0.0-beta.19 ### Patch Changes - 82ceb49: Add claude sonnet 4.5 in google vertex anthropic provider ## 4.0.0-beta.18 ### Major Changes - dee8b05: ai SDK 6 beta ### Patch Changes - Updated dependencies [dee8b05] - @ai-sdk/anthropic@3.0.0-beta.14 - @ai-sdk/google@3.0.0-beta.14 - @ai-sdk/provider@3.0.0-beta.6 - @ai-sdk/provider-utils@4.0.0-beta.10 ## 3.1.0-beta.17 ### Patch Changes - Updated dependencies [521c537] - @ai-sdk/provider-utils@3.1.0-beta.9 - @ai-sdk/anthropic@2.1.0-beta.13 - @ai-sdk/google@2.1.0-beta.13 ## 3.1.0-beta.16 ### Patch Changes - Updated dependencies [e06565c] - @ai-sdk/provider-utils@3.1.0-beta.8 - @ai-sdk/anthropic@2.1.0-beta.12 - @ai-sdk/google@2.1.0-beta.12 ## 3.1.0-beta.15 ### Patch Changes - Updated dependencies [9a728c8] - @ai-sdk/google@2.1.0-beta.11 ## 3.1.0-beta.14 ### Patch Changes - e8109d3: feat: tool execution approval - Updated dependencies - @ai-sdk/provider@2.1.0-beta.5 - @ai-sdk/provider-utils@3.1.0-beta.7 - @ai-sdk/anthropic@2.1.0-beta.11 - @ai-sdk/google@2.1.0-beta.10 ## 3.1.0-beta.13 ### Patch Changes - Updated dependencies [dedf206] - @ai-sdk/anthropic@2.1.0-beta.10 ## 3.1.0-beta.12 ### Patch Changes - Updated dependencies - @ai-sdk/provider-utils@3.1.0-beta.6 - @ai-sdk/anthropic@2.1.0-beta.9 - @ai-sdk/provider@2.1.0-beta.4 - @ai-sdk/google@2.1.0-beta.9 ## 3.1.0-beta.11 ### Patch Changes - Updated dependencies [7728ac5] - @ai-sdk/google@2.1.0-beta.8 ## 3.1.0-beta.10 ### Patch Changes - Updated dependencies [a5a8db4] - @ai-sdk/anthropic@2.1.0-beta.8 ## 3.1.0-beta.9 ### Patch Changes - Updated dependencies [e1e2821] - @ai-sdk/anthropic@2.1.0-beta.7 ## 3.1.0-beta.8 ### Patch Changes - 8dac895: feat: `LanguageModelV3` - 10c1322: fix: moved dependency `@ai-sdk/test-server` to devDependencies - Updated dependencies - @ai-sdk/provider-utils@3.1.0-beta.5 - @ai-sdk/anthropic@2.1.0-beta.6 - @ai-sdk/provider@2.1.0-beta.3 - @ai-sdk/google@2.1.0-beta.7 ## 3.1.0-beta.7 ### Patch Changes - Updated dependencies - @ai-sdk/anthropic@2.1.0-beta.5 ## 3.1.0-beta.6 ### Patch Changes - e833473: chore (provider/google): Add preview modelIds for gemini 2.5 flash and lite - Updated dependencies [e833473] - @ai-sdk/google@2.1.0-beta.6 ## 3.1.0-beta.5 ### Patch Changes - 4616b86: chore: update zod peer depenedency version - Updated dependencies [4616b86] - @ai-sdk/provider-utils@3.1.0-beta.4 - @ai-sdk/anthropic@2.1.0-beta.4 - @ai-sdk/google@2.1.0-beta.5 ## 3.1.0-beta.4 ### Patch Changes - ed329cb: feat: `Provider-V3` - 522f6b8: feat: `ImageModelV3` - Updated dependencies - @ai-sdk/anthropic@2.1.0-beta.3 - @ai-sdk/provider@2.1.0-beta.2 - @ai-sdk/google@2.1.0-beta.4 - @ai-sdk/provider-utils@3.1.0-beta.3 ## 3.1.0-beta.3 ### Patch Changes - 0c4822d: feat: `EmbeddingModelV3` - 1cad0ab: feat: add provider version to user-agent header - Updated dependencies - @ai-sdk/provider@2.1.0-beta.1 - @ai-sdk/google@2.1.0-beta.3 - @ai-sdk/anthropic@2.1.0-beta.2 - @ai-sdk/provider-utils@3.1.0-beta.2 ## 3.1.0-beta.2 ### Patch Changes - Updated dependencies [7dea60e] - @ai-sdk/google@2.1.0-beta.2 ## 3.1.0-beta.1 ### Patch Changes - Updated dependencies - @ai-sdk/test-server@1.0.0-beta.0 - @ai-sdk/provider-utils@3.1.0-beta.1 - @ai-sdk/anthropic@2.1.0-beta.1 - @ai-sdk/google@2.1.0-beta.1 ## 3.1.0-beta.0 ### Minor Changes - 78928cb: release: start 5.1 beta ### Patch Changes - Updated dependencies [78928cb] - @ai-sdk/anthropic@2.1.0-beta.0 - @ai-sdk/google@2.1.0-beta.0 - @ai-sdk/provider@2.1.0-beta.0 - @ai-sdk/provider-utils@3.1.0-beta.0 ## 3.0.27 ### Patch Changes - Updated dependencies [da92132] - @ai-sdk/anthropic@2.0.17 ## 3.0.26 ### Patch Changes - Updated dependencies [0294b58] - @ai-sdk/provider-utils@3.0.9 - @ai-sdk/anthropic@2.0.16 - @ai-sdk/google@2.0.14 ## 3.0.25 ### Patch Changes - Updated dependencies [c8aab0a] - @ai-sdk/anthropic@2.0.15 ## 3.0.24 ### Patch Changes - Updated dependencies [2338c79] - @ai-sdk/anthropic@2.0.14 ## 3.0.23 ### Patch Changes - 1887c53: feat(provider/google-vertex): add support for urlContext, googleSearch and codeExecution tools ## 3.0.22 ### Patch Changes - Updated dependencies - @ai-sdk/anthropic@2.0.13 - @ai-sdk/google@2.0.13 ## 3.0.21 ### Patch Changes - e2b7558: added the title parameter for embeddings through the google vertex provider ## 3.0.20 ### Patch Changes - 921186b: chore (provider/vertex): update GoogleVertexModelId ## 3.0.19 ### Patch Changes - Updated dependencies [99964ed] - @ai-sdk/provider-utils@3.0.8 - @ai-sdk/anthropic@2.0.12 - @ai-sdk/google@2.0.12 ## 3.0.18 ### Patch Changes - Updated dependencies [c7fee29] - @ai-sdk/anthropic@2.0.11 ## 3.0.17 ### Patch Changes - Updated dependencies [c152ef7] - @ai-sdk/anthropic@2.0.10 ## 3.0.16 ### Patch Changes - Updated dependencies [cdc6b7a] - @ai-sdk/anthropic@2.0.9 ## 3.0.15 ### Patch Changes - Updated dependencies [a14fc2b] - @ai-sdk/google@2.0.11 ## 3.0.14 ### Patch Changes - a8a73c5: Update Claude model IDs in Google Vertex Anthropic provider and documentation link - Updated dependencies [886e7cd] - @ai-sdk/provider-utils@3.0.7 - @ai-sdk/anthropic@2.0.8 - @ai-sdk/google@2.0.10 ## 3.0.13 ### Patch Changes - Updated dependencies [1b5a3d3] - @ai-sdk/provider-utils@3.0.6 - @ai-sdk/anthropic@2.0.7 - @ai-sdk/google@2.0.9 ## 3.0.12 ### Patch Changes - d09caa5: The taskType parameter now properly maps to snake case in the final payload. ## 3.0.11 ### Patch Changes - Updated dependencies [0857788] - @ai-sdk/provider-utils@3.0.5 - @ai-sdk/anthropic@2.0.6 - @ai-sdk/google@2.0.8 ## 3.0.10 ### Patch Changes - Updated dependencies [68751f9] - @ai-sdk/provider-utils@3.0.4 - @ai-sdk/anthropic@2.0.5 - @ai-sdk/google@2.0.7 ## 3.0.9 ### Patch Changes - Updated dependencies [ae859ce] - @ai-sdk/anthropic@2.0.4 ## 3.0.8 ### Patch Changes - 9010126: add autoTruncate support for google vertex - c0a9d12: fix(provider/vertex): pass taskType for each content value. taskType needs to be passed in instances and not parameters for google-vertex ## 3.0.7 ### Patch Changes - Updated dependencies - @ai-sdk/provider-utils@3.0.3 - @ai-sdk/anthropic@2.0.3 - @ai-sdk/google@2.0.6 ## 3.0.6 ### Patch Changes - Updated dependencies [38ac190] - @ai-sdk/provider-utils@3.0.2 - @ai-sdk/anthropic@2.0.2 - @ai-sdk/google@2.0.5 ## 3.0.5 ### Patch Changes - Updated dependencies [961dda1] - @ai-sdk/google@2.0.4 ## 3.0.4 ### Patch Changes - Updated dependencies [9fb0252] - @ai-sdk/google@2.0.3 ## 3.0.3 ### Patch Changes - Updated dependencies [90d212f] - @ai-sdk/provider-utils@3.0.1 - @ai-sdk/anthropic@2.0.1 - @ai-sdk/google@2.0.2 ## 3.0.2 ### Patch Changes - b9cd900: feat(providers/google-vertex) Add TaskType support for Text Embedding Model - Updated dependencies [f5464aa] - @ai-sdk/google@2.0.1 ## 3.0.1 ### Patch Changes - 11e3ba4: Make revisedPrompt nullish in schema ## 3.0.0 ### Major Changes - d5f588f: AI SDK 5 - 516be5b: ### Move Image Model Settings into generate options Image Models no longer have settings. Instead, `maxImagesPerCall` can be passed directly to `generateImage()`. All other image settings can be passed to `providerOptions[provider]`. Before ```js await generateImage({ model: luma.image("photon-flash-1", { maxImagesPerCall: 5, pollIntervalMillis: 500, }), prompt, n: 10, }); ``` After ```js await generateImage({ model: luma.image("photon-flash-1"), prompt, n: 10, maxImagesPerCall: 5, providerOptions: { luma: { pollIntervalMillis: 5 }, }, }); ``` Pull Request: https://github.com/vercel/ai/pull/6180 ### Minor Changes - 6ca44f2: Fixed global region for vertex provider ### Patch Changes - 8e171f5: feat (provider/google-vertex): add imagen-3.0-generate-002 - cea5997: chore(providers/google-vertex): update embedding model to use providerOptions - 9ccce3a: feat (google-vertex): Set `.providerMetaData` for image model responses - e2aceaf: feat: add raw chunk support - 26735b5: chore(embedding-model): add v2 interface - 443d8ec: feat(embedding-model-v2): add response body field - 5c9eec4: chore(providers/anthropic): switch to providerOptions - 66962ed: fix(packages): export node10 compatible types - d9209ca: fix (image-model): `specificationVersion: v1` -> `v2` - 9301f86: refactor (image-model): rename `ImageModelV1` to `ImageModelV2` - 7378473: chore(providers/google): switch to providerOptions - 779d916: feat: add provider option schemas for vertex imagegen and google genai - 91715e5: fix (provider/google-vertex): fix anthropic support for image urls in messages - d1a034f: feature: using Zod 4 for internal stuff - fd65bc6: chore(embedding-model-v2): rename rawResponse to response - 205077b: fix: improve Zod compatibility - bb13f18: Add reasoning token output support for gemini models via Vertex AI Provider - Updated dependencies - @ai-sdk/provider-utils@3.0.0 - @ai-sdk/provider@2.0.0 - @ai-sdk/google@2.0.0 - @ai-sdk/anthropic@2.0.0 ## 3.0.0-beta.21 ### Patch Changes - Updated dependencies [88a8ee5] - @ai-sdk