@promptbook/core 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
@@ -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.100.0-26';
30
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-28';
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
@@ -6353,8 +6353,10 @@ async function executeAttempts(options) {
6353
6353
  result: $ongoingTaskResult.$resultString,
6354
6354
  error: error,
6355
6355
  });
6356
- // Note: Calling void function to signal progress (mutation of `$ongoingTaskResult`) - TODO: !!!! Is this working
6357
- onProgress({});
6356
+ // Report failed attempt
6357
+ onProgress({
6358
+ errors: [error],
6359
+ });
6358
6360
  }
6359
6361
  finally {
6360
6362
  if (!isJokerAttempt &&