@promptbook/markdown-utils 0.93.0 → 0.94.0-0

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 CHANGED
@@ -25,6 +25,10 @@ Write AI applications using plain human language across multiple models and plat
25
25
 
26
26
 
27
27
 
28
+ <blockquote style="color: #ff8811">
29
+ <b>⚠ Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
30
+ </blockquote>
31
+
28
32
  ## 📦 Package `@promptbook/markdown-utils`
29
33
 
30
34
  - Promptbooks are [divided into several](#-packages) packages, all are published from [single monorepo](https://github.com/webgptorg/promptbook).
package/esm/index.es.js CHANGED
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.93.0';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-0';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -5504,6 +5504,11 @@ async function executeTask(options) {
5504
5504
  const jokerParameterNames = currentTask.jokerParameterNames || [];
5505
5505
  const preparedContent = (currentTask.preparedContent || '{content}').split('{content}').join(currentTask.content);
5506
5506
  // <- TODO: [🍵] Use here `templateParameters` to replace {websiteContent} with option to ignore missing parameters
5507
+ await onProgress({
5508
+ outputParameters: {
5509
+ [currentTask.resultingParameterName]: '',
5510
+ },
5511
+ });
5507
5512
  const resultString = await executeFormatSubvalues({
5508
5513
  jokerParameterNames,
5509
5514
  priority,