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

Xet Storage Details

Size:
449 Bytes
·
Xet hash:
2d222dbe44045fc426c2df4c1e678358e3b6f975511c9b859ffb6c9eed4828ee

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