@promptbook/core 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/core`
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
@@ -27,7 +27,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
27
27
  * @generated
28
28
  * @see https://github.com/webgptorg/promptbook
29
29
  */
30
- const PROMPTBOOK_ENGINE_VERSION = '0.93.0';
30
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-0';
31
31
  /**
32
32
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
33
33
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -4751,6 +4751,11 @@ async function executeTask(options) {
4751
4751
  const jokerParameterNames = currentTask.jokerParameterNames || [];
4752
4752
  const preparedContent = (currentTask.preparedContent || '{content}').split('{content}').join(currentTask.content);
4753
4753
  // <- TODO: [🍵] Use here `templateParameters` to replace {websiteContent} with option to ignore missing parameters
4754
+ await onProgress({
4755
+ outputParameters: {
4756
+ [currentTask.resultingParameterName]: '',
4757
+ },
4758
+ });
4754
4759
  const resultString = await executeFormatSubvalues({
4755
4760
  jokerParameterNames,
4756
4761
  priority,