@promptbook/node 0.92.0-29 → 0.92.0-30

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
@@ -30,7 +30,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
30
30
  * @generated
31
31
  * @see https://github.com/webgptorg/promptbook
32
32
  */
33
- const PROMPTBOOK_ENGINE_VERSION = '0.92.0-29';
33
+ const PROMPTBOOK_ENGINE_VERSION = '0.92.0-30';
34
34
  /**
35
35
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
36
36
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -2636,13 +2636,10 @@ const CsvFormatParser = {
2636
2636
  if (onProgress) {
2637
2637
  // Note: Report the CSV with all rows mapped so far
2638
2638
  /*
2639
- !!!!
2640
- // Report progress with updated value
2641
- const progressData = mappedData.map((row, i) =>
2642
- i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
2643
- );
2644
-
2645
-
2639
+ // TODO: [🛕] Report progress with all the rows including the pending ones
2640
+ const progressData = mappedData.map((row, i) =>
2641
+ i > index ? { ...row, [outputParameterName]: PENDING_VALUE_PLACEHOLDER } : row,
2642
+ );
2646
2643
  */
2647
2644
  await onProgress(unparse(mappedData, { ...settings, ...MANDATORY_CSV_SETTINGS }));
2648
2645
  }