@ai-sdk/google
Advanced tools
+2
-2
| { | ||
| "name": "@ai-sdk/google", | ||
| "version": "4.0.30", | ||
| "version": "4.0.31", | ||
| "type": "module", | ||
@@ -39,3 +39,3 @@ "license": "Apache-2.0", | ||
| "@ai-sdk/provider": "4.0.4", | ||
| "@ai-sdk/provider-utils": "5.0.17" | ||
| "@ai-sdk/provider-utils": "5.0.18" | ||
| }, | ||
@@ -42,0 +42,0 @@ "devDependencies": { |
| import type { LanguageModelV4Usage } from '@ai-sdk/provider'; | ||
| import { createNullLanguageModelUsage } from '@ai-sdk/provider-utils'; | ||
@@ -24,16 +25,3 @@ export type GoogleTokenDetail = { | ||
| if (usage == null) { | ||
| return { | ||
| inputTokens: { | ||
| total: undefined, | ||
| noCache: undefined, | ||
| cacheRead: undefined, | ||
| cacheWrite: undefined, | ||
| }, | ||
| outputTokens: { | ||
| total: undefined, | ||
| text: undefined, | ||
| reasoning: undefined, | ||
| }, | ||
| raw: undefined, | ||
| }; | ||
| return createNullLanguageModelUsage(); | ||
| } | ||
@@ -40,0 +28,0 @@ |
| import type { JSONObject, LanguageModelV4Usage } from '@ai-sdk/provider'; | ||
| import { createNullLanguageModelUsage } from '@ai-sdk/provider-utils'; | ||
| import type { GoogleInteractionsUsage } from './google-interactions-api'; | ||
@@ -8,16 +9,3 @@ | ||
| if (usage == null) { | ||
| return { | ||
| inputTokens: { | ||
| total: undefined, | ||
| noCache: undefined, | ||
| cacheRead: undefined, | ||
| cacheWrite: undefined, | ||
| }, | ||
| outputTokens: { | ||
| total: undefined, | ||
| text: undefined, | ||
| reasoning: undefined, | ||
| }, | ||
| raw: undefined, | ||
| }; | ||
| return createNullLanguageModelUsage(); | ||
| } | ||
@@ -24,0 +12,0 @@ |
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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
2096351
-0.1%26581
-0.27%+ Added
- Removed