@promptbook/remote-server 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/remote-server`
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
@@ -33,7 +33,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
33
33
  * @generated
34
34
  * @see https://github.com/webgptorg/promptbook
35
35
  */
36
- const PROMPTBOOK_ENGINE_VERSION = '0.93.0';
36
+ const PROMPTBOOK_ENGINE_VERSION = '0.94.0-0';
37
37
  /**
38
38
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
39
39
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -5875,6 +5875,11 @@ async function executeTask(options) {
5875
5875
  const jokerParameterNames = currentTask.jokerParameterNames || [];
5876
5876
  const preparedContent = (currentTask.preparedContent || '{content}').split('{content}').join(currentTask.content);
5877
5877
  // <- TODO: [🍵] Use here `templateParameters` to replace {websiteContent} with option to ignore missing parameters
5878
+ await onProgress({
5879
+ outputParameters: {
5880
+ [currentTask.resultingParameterName]: '',
5881
+ },
5882
+ });
5878
5883
  const resultString = await executeFormatSubvalues({
5879
5884
  jokerParameterNames,
5880
5885
  priority,