GHHG10's picture
download
raw
461 Bytes
import { Effect } from "effect"
import { PluginV2 } from "../../plugin"
export const GooglePlugin = PluginV2.define({
id: PluginV2.ID.make("google"),
effect: Effect.gen(function* () {
return {
"aisdk.sdk": Effect.fn(function* (evt) {
if (evt.package !== "@ai-sdk/google") return
const mod = yield* Effect.promise(() => import("@ai-sdk/google"))
evt.sdk = mod.createGoogleGenerativeAI(evt.options)
}),
}
}),
})

Xet Storage Details

Size:
461 Bytes
·
Xet hash:
7fb801c9a3ca455a9c22652efd59a27182008f8dbcebda978050003aebdf0daf

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.