@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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/google
|
|
2
2
|
|
|
3
|
+
## 3.0.93
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cfba690: Allow google.interactions agent requests to include supported tools, including file_search.
|
|
8
|
+
|
|
9
|
+
## 3.0.92
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [06fb54c]
|
|
14
|
+
- @ai-sdk/provider-utils@4.0.39
|
|
15
|
+
|
|
3
16
|
## 3.0.91
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
30
30
|
var import_provider_utils23 = require("@ai-sdk/provider-utils");
|
|
31
31
|
|
|
32
32
|
// src/version.ts
|
|
33
|
-
var VERSION = true ? "3.0.
|
|
33
|
+
var VERSION = true ? "3.0.93" : "0.0.0-test";
|
|
34
34
|
|
|
35
35
|
// src/google-generative-ai-embedding-model.ts
|
|
36
36
|
var import_provider = require("@ai-sdk/provider");
|
|
@@ -5695,12 +5695,7 @@ var GoogleInteractionsLanguageModel = class {
|
|
|
5695
5695
|
const hasTools = options.tools != null && options.tools.length > 0;
|
|
5696
5696
|
let toolsForBody;
|
|
5697
5697
|
let toolChoiceForBody;
|
|
5698
|
-
if (hasTools
|
|
5699
|
-
warnings.push({
|
|
5700
|
-
type: "other",
|
|
5701
|
-
message: "google.interactions: tools are not supported when an agent is set; tools will be omitted from the request body."
|
|
5702
|
-
});
|
|
5703
|
-
} else if (hasTools) {
|
|
5698
|
+
if (hasTools) {
|
|
5704
5699
|
const prepared = prepareGoogleInteractionsTools({
|
|
5705
5700
|
tools: options.tools,
|
|
5706
5701
|
toolChoice: options.toolChoice
|