@ai-sdk/google
Advanced tools
Comparing version 0.0.50 to 0.0.51
@@ -146,2 +146,13 @@ "use strict"; | ||
} | ||
case "file": { | ||
if (part.data instanceof URL) { | ||
throw new import_provider.UnsupportedFunctionalityError({ | ||
functionality: "File URLs in user messages" | ||
}); | ||
} | ||
parts.push({ | ||
inlineData: { mimeType: part.mimeType, data: part.data } | ||
}); | ||
break; | ||
} | ||
} | ||
@@ -148,0 +159,0 @@ } |
# @ai-sdk/google | ||
## 0.0.51 | ||
### Patch Changes | ||
- d595d0d: feat (ai/core): file content parts | ||
- Updated dependencies [d595d0d] | ||
- @ai-sdk/provider@0.0.24 | ||
- @ai-sdk/provider-utils@1.0.20 | ||
## 0.0.50 | ||
@@ -4,0 +13,0 @@ |
@@ -146,2 +146,13 @@ "use strict"; | ||
} | ||
case "file": { | ||
if (part.data instanceof URL) { | ||
throw new import_provider.UnsupportedFunctionalityError({ | ||
functionality: "File URLs in user messages" | ||
}); | ||
} | ||
parts.push({ | ||
inlineData: { mimeType: part.mimeType, data: part.data } | ||
}); | ||
break; | ||
} | ||
} | ||
@@ -148,0 +159,0 @@ } |
{ | ||
"name": "@ai-sdk/google", | ||
"version": "0.0.50", | ||
"version": "0.0.51", | ||
"license": "Apache-2.0", | ||
@@ -22,4 +22,4 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@ai-sdk/provider": "0.0.23", | ||
"@ai-sdk/provider-utils": "1.0.19", | ||
"@ai-sdk/provider": "0.0.24", | ||
"@ai-sdk/provider-utils": "1.0.20", | ||
"json-schema": "0.4.0" | ||
@@ -26,0 +26,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
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
187676
2416
+ Added@ai-sdk/provider@0.0.24(transitive)
+ Added@ai-sdk/provider-utils@1.0.20(transitive)
- Removed@ai-sdk/provider@0.0.23(transitive)
- Removed@ai-sdk/provider-utils@1.0.19(transitive)
Updated@ai-sdk/provider@0.0.24