@ai-sdk/amazon-bedrock 4.0.52 → 4.0.54

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.
package/dist/index.mjs CHANGED
@@ -233,13 +233,6 @@ async function prepareTools({
233
233
  const bedrockTools = [];
234
234
  const usingAnthropicTools = isAnthropicModel && ProviderTools.length > 0;
235
235
  if (usingAnthropicTools) {
236
- if (functionTools.length > 0) {
237
- toolWarnings.push({
238
- type: "unsupported",
239
- feature: "mixing Anthropic provider-defined tools and standard function tools",
240
- details: "Mixed Anthropic provider-defined tools and standard function tools are not supported in a single call to Bedrock. Only Anthropic tools will be used."
241
- });
242
- }
243
236
  const {
244
237
  toolChoice: preparedAnthropicToolChoice,
245
238
  toolWarnings: anthropicToolWarnings,
@@ -1918,7 +1911,7 @@ import {
1918
1911
  import { AwsV4Signer } from "aws4fetch";
1919
1912
 
1920
1913
  // src/version.ts
1921
- var VERSION = true ? "4.0.52" : "0.0.0-test";
1914
+ var VERSION = true ? "4.0.54" : "0.0.0-test";
1922
1915
 
1923
1916
  // src/bedrock-sigv4-fetch.ts
1924
1917
  function createSigV4FetchFunction(getCredentials, fetch = globalThis.fetch) {