@promptbook/remote-server 0.84.0-20 → 0.84.0-21
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/README.md +11 -1
- package/esm/index.es.js +10 -3
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/cli/cli-commands/about.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/hello.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-models.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/list-scrapers.d.ts +13 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/run.d.ts +3 -1
- package/esm/typings/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +3 -1
- package/package.json +2 -2
- package/umd/index.umd.js +10 -3
- package/umd/index.umd.js.map +1 -1
package/README.md
CHANGED
|
@@ -438,7 +438,17 @@ See [TODO.md](./TODO.md)
|
|
|
438
438
|
|
|
439
439
|
## 🤝 Partners
|
|
440
440
|
|
|
441
|
-
|
|
441
|
+
<div style="display: flex; align-items: center; gap: 20px;">
|
|
442
|
+
|
|
443
|
+
<a href="https://promptbook.studio/">
|
|
444
|
+
<img src="./other/design/promptbook-studio-logo.png" alt="Partner 3" height="100">
|
|
445
|
+
</a>
|
|
446
|
+
|
|
447
|
+
<a href="https://technologickainkubace.org/en/about-technology-incubation/about-the-project/">
|
|
448
|
+
<img src="./other/partners/CI-Technology-Incubation.png" alt="Technology Incubation" height="100">
|
|
449
|
+
</a>
|
|
450
|
+
|
|
451
|
+
</div>
|
|
442
452
|
|
|
443
453
|
## 🖋️ Contributing
|
|
444
454
|
|
package/esm/index.es.js
CHANGED
|
@@ -28,7 +28,7 @@ var BOOK_LANGUAGE_VERSION = '1.0.0';
|
|
|
28
28
|
* @generated
|
|
29
29
|
* @see https://github.com/webgptorg/promptbook
|
|
30
30
|
*/
|
|
31
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-
|
|
31
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.84.0-20';
|
|
32
32
|
/**
|
|
33
33
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
34
34
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1335,7 +1335,7 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
|
|
|
1335
1335
|
if (!(error_1 instanceof Error) || error_1 instanceof UnexpectedError) {
|
|
1336
1336
|
throw error_1;
|
|
1337
1337
|
}
|
|
1338
|
-
errors.push(error_1);
|
|
1338
|
+
errors.push({ llmExecutionTools: llmExecutionTools, error: error_1 });
|
|
1339
1339
|
return [3 /*break*/, 13];
|
|
1340
1340
|
case 13:
|
|
1341
1341
|
_b = _a.next();
|
|
@@ -1362,7 +1362,10 @@ var MultipleLlmExecutionTools = /** @class */ (function () {
|
|
|
1362
1362
|
// 2) AnthropicClaude throw PipelineExecutionError: Parameter `{knowledge}` is not defined
|
|
1363
1363
|
// 3) ...
|
|
1364
1364
|
spaceTrim$1(function (block) { return "\n All execution tools failed:\n\n ".concat(block(errors
|
|
1365
|
-
.map(function (
|
|
1365
|
+
.map(function (_a, i) {
|
|
1366
|
+
var error = _a.error, llmExecutionTools = _a.llmExecutionTools;
|
|
1367
|
+
return "".concat(i + 1, ") **").concat(llmExecutionTools.title, "** thrown **").concat(error.name || 'Error', ":** ").concat(error.message);
|
|
1368
|
+
})
|
|
1366
1369
|
.join('\n')), "\n\n "); }));
|
|
1367
1370
|
}
|
|
1368
1371
|
else if (this.llmExecutionTools.length === 0) {
|
|
@@ -6748,6 +6751,10 @@ function $provideScrapersForNode(tools, options) {
|
|
|
6748
6751
|
return [4 /*yield*/, scraperFactory(tools, options || {})];
|
|
6749
6752
|
case 3:
|
|
6750
6753
|
scraper = _g.sent();
|
|
6754
|
+
if (scraper.metadata.packageName === '@promptbook/boilerplate' ||
|
|
6755
|
+
scraper.metadata.mimeTypes.some(function (mimeType) { return mimeType.includes('DISABLED'); })) {
|
|
6756
|
+
return [3 /*break*/, 4];
|
|
6757
|
+
}
|
|
6751
6758
|
scrapers.push(scraper);
|
|
6752
6759
|
_g.label = 4;
|
|
6753
6760
|
case 4:
|