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

Xet Storage Details

Size:
454 Bytes
·
Xet hash:
8dff7584e6d664fe18d724232c5e90fda527cde9096d121870ef10899bf5556d

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