@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/CHANGELOG.md +6 -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 +1 -1
- package/src/interactions/google-interactions-language-model.ts +2 -8
package/dist/internal/index.mjs
CHANGED
|
@@ -4957,12 +4957,7 @@ var GoogleInteractionsLanguageModel = class {
|
|
|
4957
4957
|
const hasTools = options.tools != null && options.tools.length > 0;
|
|
4958
4958
|
let toolsForBody;
|
|
4959
4959
|
let toolChoiceForBody;
|
|
4960
|
-
if (hasTools
|
|
4961
|
-
warnings.push({
|
|
4962
|
-
type: "other",
|
|
4963
|
-
message: "google.interactions: tools are not supported when an agent is set; tools will be omitted from the request body."
|
|
4964
|
-
});
|
|
4965
|
-
} else if (hasTools) {
|
|
4960
|
+
if (hasTools) {
|
|
4966
4961
|
const prepared = prepareGoogleInteractionsTools({
|
|
4967
4962
|
tools: options.tools,
|
|
4968
4963
|
toolChoice: options.toolChoice
|