@promptbook/remote-server 0.100.0-26 → 0.100.0-28

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/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.100.0-26';
36
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-28';
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
@@ -5526,8 +5526,10 @@ async function executeAttempts(options) {
5526
5526
  result: $ongoingTaskResult.$resultString,
5527
5527
  error: error,
5528
5528
  });
5529
- // Note: Calling void function to signal progress (mutation of `$ongoingTaskResult`) - TODO: !!!! Is this working
5530
- onProgress({});
5529
+ // Report failed attempt
5530
+ onProgress({
5531
+ errors: [error],
5532
+ });
5531
5533
  }
5532
5534
  finally {
5533
5535
  if (!isJokerAttempt &&