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

Xet Storage Details

Size:
454 Bytes
·
Xet hash:
7799b47d723e370a8c782ef454d26af7afd6e754928c394d300faa247b1128f4

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