@ai-sdk/google
Advanced tools
+6
-0
| # @ai-sdk/google | ||
| ## 2.0.83 | ||
| ### Patch Changes | ||
| - e5f1c62: fix(provider/google): associate multiple code execution results with their tool call | ||
| ## 2.0.82 | ||
@@ -4,0 +10,0 @@ |
@@ -970,3 +970,3 @@ // src/google-generative-ai-language-model.ts | ||
| type: "tool-result", | ||
| // Assumes a result directly follows its corresponding call part. | ||
| // Results correspond to the most recent executable code part. | ||
| toolCallId: lastCodeExecutionToolCallId, | ||
@@ -980,3 +980,2 @@ toolName: "code_execution", | ||
| }); | ||
| lastCodeExecutionToolCallId = void 0; | ||
| } else if ("text" in part && part.text != null) { | ||
@@ -1165,3 +1164,2 @@ const thoughtSignatureMetadata = part.thoughtSignature ? { google: { thoughtSignature: part.thoughtSignature } } : void 0; | ||
| }); | ||
| lastCodeExecutionToolCallId = void 0; | ||
| } | ||
@@ -1168,0 +1166,0 @@ } else if ("text" in part && part.text != null) { |
+1
-1
| { | ||
| "name": "@ai-sdk/google", | ||
| "version": "2.0.82", | ||
| "version": "2.0.83", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
893836
-0.15%8402
-0.1%2
100%