jasper-recall 0.5.8 → 0.5.9
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.
|
@@ -56,7 +56,8 @@ function runRecall(query: string, options: { limit?: number; json?: boolean; pub
|
|
|
56
56
|
|
|
57
57
|
const recallPath = path.join(BIN_PATH, 'recall');
|
|
58
58
|
try {
|
|
59
|
-
|
|
59
|
+
// 120s timeout - first run may need to download model (~90MB)
|
|
60
|
+
return execSync(`${recallPath} ${args.join(' ')}`, { encoding: 'utf8', timeout: 120000 });
|
|
60
61
|
} catch (err: any) {
|
|
61
62
|
throw new Error(`Recall failed: ${err.message}`);
|
|
62
63
|
}
|