@promptbook/remote-client 0.100.0-45 → 0.100.0-46

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
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
20
20
  * @generated
21
21
  * @see https://github.com/webgptorg/promptbook
22
22
  */
23
- const PROMPTBOOK_ENGINE_VERSION = '0.100.0-45';
23
+ const PROMPTBOOK_ENGINE_VERSION = '0.100.0-46';
24
24
  /**
25
25
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
26
26
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -371,6 +371,13 @@ Object.freeze({
371
371
  newline: '\n',
372
372
  skipEmptyLines: true,
373
373
  });
374
+ /**
375
+ * API request timeout in milliseconds
376
+ * Can be overridden via API_REQUEST_TIMEOUT environment variable
377
+ *
378
+ * @public exported from `@promptbook/core`
379
+ */
380
+ parseInt(process.env.API_REQUEST_TIMEOUT || '90000');
374
381
  /**
375
382
  * Note: [💞] Ignore a discrepancy between file name and entity name
376
383
  * TODO: [🧠][🧜‍♂️] Maybe join remoteServerUrl and path into single value