Commit 1b89b14
authored
Version Packages (#10483)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to release-v5.0, this
PR will be updated.
# Releases
## @ai-sdk/[email protected]
### Patch Changes
- 708df55:
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.
## @ai-sdk/[email protected]
### Patch Changes
- 3438163: add `gemini-3-pro-preview` and `gemini-3-pro-image-preview`
model IDs
## @ai-sdk/[email protected]
### Patch Changes
- 3438163: add `gemini-3-pro-preview` and `gemini-3-pro-image-preview`
model IDs
- 708df55:
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.
- Updated dependencies [3438163]
- @ai-sdk/[email protected]
Co-authored-by: vercel-ai-sdk[bot] <225926702+vercel-ai-sdk[bot]@users.noreply.github.com>1 parent 3438163 commit 1b89b14
File tree
8 files changed
+63
-34
lines changed- .changeset
- packages
- amazon-bedrock
- google-vertex
- google
8 files changed
+63
-34
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
3 | 28 | | |
4 | 29 | | |
5 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
3 | 32 | | |
4 | 33 | | |
5 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments