@promptbook/markdown-utils 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
@@ -25,7 +25,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
25
25
  * @generated
26
26
  * @see https://github.com/webgptorg/promptbook
27
27
  */
28
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-26';
28
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-28';
29
29
  /**
30
30
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
31
31
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -5155,8 +5155,10 @@ async function executeAttempts(options) {
5155
5155
  result: $ongoingTaskResult.$resultString,
5156
5156
  error: error,
5157
5157
  });
5158
- // Note: Calling void function to signal progress (mutation of `$ongoingTaskResult`) - TODO: !!!! Is this working
5159
- onProgress({});
5158
+ // Report failed attempt
5159
+ onProgress({
5160
+ errors: [error],
5161
+ });
5160
5162
  }
5161
5163
  finally {
5162
5164
  if (!isJokerAttempt &&