@ai-sdk/google 3.0.92 → 3.0.93

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
@@ -7,7 +7,7 @@ import {
7
7
  } from "@ai-sdk/provider-utils";
8
8
 
9
9
  // src/version.ts
10
- var VERSION = true ? "3.0.92" : "0.0.0-test";
10
+ var VERSION = true ? "3.0.93" : "0.0.0-test";
11
11
 
12
12
  // src/google-generative-ai-embedding-model.ts
13
13
  import {
@@ -5778,12 +5778,7 @@ var GoogleInteractionsLanguageModel = class {
5778
5778
  const hasTools = options.tools != null && options.tools.length > 0;
5779
5779
  let toolsForBody;
5780
5780
  let toolChoiceForBody;
5781
- if (hasTools && isAgent) {
5782
- warnings.push({
5783
- type: "other",
5784
- message: "google.interactions: tools are not supported when an agent is set; tools will be omitted from the request body."
5785
- });
5786
- } else if (hasTools) {
5781
+ if (hasTools) {
5787
5782
  const prepared = prepareGoogleInteractionsTools({
5788
5783
  tools: options.tools,
5789
5784
  toolChoice: options.toolChoice