@ai-sdk/google
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -172,3 +172,3 @@ "use strict"; | ||
this.specificationVersion = "v1"; | ||
this.defaultObjectGenerationMode = "tool"; | ||
this.defaultObjectGenerationMode = "json"; | ||
this.supportsImageUrls = false; | ||
@@ -175,0 +175,0 @@ this.modelId = modelId; |
import { LanguageModelV1 } from '@ai-sdk/provider'; | ||
import { FetchFunction } from '@ai-sdk/provider-utils'; | ||
@@ -35,7 +36,7 @@ type GoogleGenerativeAIModelId = 'models/gemini-1.5-flash-latest' | 'models/gemini-1.5-pro-latest' | 'models/gemini-pro' | 'models/gemini-pro-vision' | (string & {}); | ||
generateId: () => string; | ||
fetch?: typeof fetch; | ||
fetch?: FetchFunction; | ||
}; | ||
declare class GoogleGenerativeAILanguageModel implements LanguageModelV1 { | ||
readonly specificationVersion = "v1"; | ||
readonly defaultObjectGenerationMode = "tool"; | ||
readonly defaultObjectGenerationMode = "json"; | ||
readonly supportsImageUrls = false; | ||
@@ -84,3 +85,3 @@ readonly modelId: GoogleGenerativeAIModelId; | ||
*/ | ||
fetch?: typeof fetch; | ||
fetch?: FetchFunction; | ||
generateId?: () => string; | ||
@@ -87,0 +88,0 @@ } |
@@ -172,3 +172,3 @@ "use strict"; | ||
this.specificationVersion = "v1"; | ||
this.defaultObjectGenerationMode = "tool"; | ||
this.defaultObjectGenerationMode = "json"; | ||
this.supportsImageUrls = false; | ||
@@ -175,0 +175,0 @@ this.modelId = modelId; |
{ | ||
"name": "@ai-sdk/google", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"license": "Apache-2.0", | ||
@@ -22,3 +22,3 @@ "sideEffects": false, | ||
"@ai-sdk/provider": "0.0.19", | ||
"@ai-sdk/provider-utils": "1.0.11" | ||
"@ai-sdk/provider-utils": "1.0.12" | ||
}, | ||
@@ -28,3 +28,3 @@ "devDependencies": { | ||
"tsup": "^8", | ||
"typescript": "5.1.3", | ||
"typescript": "5.5.4", | ||
"zod": "3.23.8", | ||
@@ -31,0 +31,0 @@ "@vercel/ai-tsconfig": "0.0.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142515
1936
+ Added@ai-sdk/provider-utils@1.0.12(transitive)
- Removed@ai-sdk/provider-utils@1.0.11(transitive)