@ai-sdk/openai
Advanced tools
+1
-1
| { | ||
| "name": "@ai-sdk/openai", | ||
| "version": "3.0.86", | ||
| "version": "3.0.87", | ||
| "license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -485,8 +485,12 @@ import { | ||
| if (resolvedResultToolName === 'tool_search') { | ||
| const itemId = | ||
| const itemId = (part.providerOptions?.[providerOptionsName] | ||
| ?.itemId ?? | ||
| ( | ||
| part.providerOptions?.[providerOptionsName] as | ||
| | { itemId?: string } | ||
| | undefined | ||
| )?.itemId ?? part.toolCallId; | ||
| part as { | ||
| providerMetadata?: { | ||
| [providerOptionsName]?: { itemId?: string }; | ||
| }; | ||
| } | ||
| ).providerMetadata?.[providerOptionsName]?.itemId ?? | ||
| part.toolCallId) as string; | ||
@@ -493,0 +497,0 @@ if (store) { |
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
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.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 2 instances
3959098
0.05%42846
0.01%2
-33.33%