open-agents-ai 0.187.332 → 0.187.333
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/index.js +9 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -277869,19 +277869,18 @@ function ensureEmbedDeps() {
|
|
|
277869
277869
|
log22 += mk.stdout + mk.stderr;
|
|
277870
277870
|
}
|
|
277871
277871
|
const pip = process.platform === "win32" ? join68(venv, "Scripts", "pip.exe") : join68(venv, "bin", "pip");
|
|
277872
|
-
const
|
|
277873
|
-
|
|
277874
|
-
|
|
277875
|
-
"
|
|
277876
|
-
"torchaudio",
|
|
277877
|
-
"Pillow",
|
|
277878
|
-
"speechbrain",
|
|
277872
|
+
const up = spawnSync5(pip, ["install", "--upgrade", "pip", "setuptools", "wheel"], { encoding: "utf8", timeout: 3e5 });
|
|
277873
|
+
log22 += up.stdout + up.stderr;
|
|
277874
|
+
const asrPkgs = [
|
|
277875
|
+
"numpy==1.26.4",
|
|
277879
277876
|
"soundfile",
|
|
277880
|
-
"openai-whisper"
|
|
277877
|
+
"openai-whisper",
|
|
277878
|
+
// Embedding helpers used elsewhere (kept lightweight compared to full torch stack)
|
|
277879
|
+
"Pillow"
|
|
277881
277880
|
];
|
|
277882
|
-
const ins = spawnSync5(pip, ["install", "--upgrade", ...
|
|
277881
|
+
const ins = spawnSync5(pip, ["install", "--upgrade", ...asrPkgs], { encoding: "utf8", timeout: 9e5 });
|
|
277883
277882
|
log22 += ins.stdout + ins.stderr;
|
|
277884
|
-
const ok2 = ins.status === 0;
|
|
277883
|
+
const ok2 = ins.status === 0 && up.status === 0;
|
|
277885
277884
|
return { ok: ok2, log: log22 };
|
|
277886
277885
|
}
|
|
277887
277886
|
function runEmbedImage(input) {
|
package/package.json
CHANGED