@promptbook/cli 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/cli`
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
@@ -47,7 +47,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
47
47
  * @generated
48
48
  * @see https://github.com/webgptorg/promptbook
49
49
  */
50
- const PROMPTBOOK_ENGINE_VERSION = '0.93.0';
50
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-0';
51
51
  /**
52
52
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
53
53
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -6961,6 +6961,11 @@ async function executeTask(options) {
6961
6961
  const jokerParameterNames = currentTask.jokerParameterNames || [];
6962
6962
  const preparedContent = (currentTask.preparedContent || '{content}').split('{content}').join(currentTask.content);
6963
6963
  // <- TODO: [🍵] Use here `templateParameters` to replace {websiteContent} with option to ignore missing parameters
6964
+ await onProgress({
6965
+ outputParameters: {
6966
+ [currentTask.resultingParameterName]: '',
6967
+ },
6968
+ });
6964
6969
  const resultString = await executeFormatSubvalues({
6965
6970
  jokerParameterNames,
6966
6971
  priority,