@promptbook/node 0.72.0-13 → 0.72.0-14

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
@@ -17,7 +17,7 @@ import { spawn } from 'child_process';
17
17
  /**
18
18
  * The version of the Promptbook library
19
19
  */
20
- var PROMPTBOOK_VERSION = '0.72.0-12';
20
+ var PROMPTBOOK_VERSION = '0.72.0-13';
21
21
  // TODO: [main] !!!! List here all the versions and annotate + put into script
22
22
 
23
23
  /*! *****************************************************************************
@@ -8394,7 +8394,7 @@ function $registeredLlmToolsMessage() {
8394
8394
  */
8395
8395
  function createLlmToolsFromConfiguration(configuration, options) {
8396
8396
  if (options === void 0) { options = {}; }
8397
- var _a = options.isVerbose, isVerbose = _a === void 0 ? IS_VERBOSE : _a;
8397
+ var _a = options.isVerbose, isVerbose = _a === void 0 ? IS_VERBOSE : _a, userId = options.userId;
8398
8398
  var llmTools = configuration.map(function (llmConfiguration) {
8399
8399
  var registeredItem = $llmToolsRegister
8400
8400
  .list()
@@ -8405,7 +8405,7 @@ function createLlmToolsFromConfiguration(configuration, options) {
8405
8405
  if (registeredItem === undefined) {
8406
8406
  throw new Error(spaceTrim$1(function (block) { return "\n There is no constructor for LLM provider `".concat(llmConfiguration.className, "` from `").concat(llmConfiguration.packageName, "`\n\n You have probably forgotten install and import the provider package.\n To fix this issue, you can:\n\n Install:\n\n > npm install ").concat(llmConfiguration.packageName, "\n\n And import:\n\n > import '").concat(llmConfiguration.packageName, "';\n\n\n ").concat(block($registeredLlmToolsMessage()), "\n "); }));
8407
8407
  }
8408
- return registeredItem(__assign({ isVerbose: isVerbose }, llmConfiguration.options));
8408
+ return registeredItem(__assign({ isVerbose: isVerbose, userId: userId }, llmConfiguration.options));
8409
8409
  });
8410
8410
  return joinLlmExecutionTools.apply(void 0, __spreadArray([], __read(llmTools), false));
8411
8411
  }