@ai-sdk/google 3.0.91 → 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/CHANGELOG.md +13 -0
- package/dist/index.js +2 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -7
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -6
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -6
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/interactions/google-interactions-language-model.ts +2 -8
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.
|
|
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
|
|
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
|