@reverbia/sdk 1.0.0-next.20251204090034 → 1.0.0-next.20251205064608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react/index.mjs
CHANGED
|
@@ -830,7 +830,7 @@ async function getTextGenerationPipeline(options) {
|
|
|
830
830
|
if (sharedPipeline && currentModel === model && currentDevice === device) {
|
|
831
831
|
return sharedPipeline;
|
|
832
832
|
}
|
|
833
|
-
const { pipeline, env } = await import("./transformers.node-
|
|
833
|
+
const { pipeline, env } = await import("./transformers.node-LUTOZWVQ.mjs");
|
|
834
834
|
env.allowLocalModels = false;
|
|
835
835
|
if (env.backends?.onnx) {
|
|
836
836
|
env.backends.onnx.logLevel = "fatal";
|
|
@@ -856,7 +856,7 @@ async function generateLocalChatCompletion(messages, options = {}) {
|
|
|
856
856
|
onToken,
|
|
857
857
|
signal
|
|
858
858
|
} = options;
|
|
859
|
-
const { TextStreamer } = await import("./transformers.node-
|
|
859
|
+
const { TextStreamer } = await import("./transformers.node-LUTOZWVQ.mjs");
|
|
860
860
|
const chatPipeline = await getTextGenerationPipeline({
|
|
861
861
|
model,
|
|
862
862
|
device: "wasm",
|
|
@@ -1816,7 +1816,7 @@ var generateEmbeddingForText = async (text, options = {}) => {
|
|
|
1816
1816
|
}
|
|
1817
1817
|
try {
|
|
1818
1818
|
if (!embeddingPipeline) {
|
|
1819
|
-
const { pipeline } = await import("./transformers.node-
|
|
1819
|
+
const { pipeline } = await import("./transformers.node-LUTOZWVQ.mjs");
|
|
1820
1820
|
embeddingPipeline = await pipeline("feature-extraction", model);
|
|
1821
1821
|
}
|
|
1822
1822
|
const output = await embeddingPipeline(text, {
|