langchain 0.3.16 → 0.3.18

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.
@@ -589,7 +589,7 @@ fields) {
589
589
  ...(fields ?? {}),
590
590
  };
591
591
  if (modelProvider === undefined && model?.includes(":")) {
592
- const modelComponents = model.split(":", 1);
592
+ const modelComponents = model.split(":", 2);
593
593
  if (_SUPPORTED_PROVIDERS.includes(modelComponents[0])) {
594
594
  // eslint-disable-next-line no-param-reassign
595
595
  [modelProvider, model] = modelComponents;
@@ -625,7 +625,6 @@ fields) {
625
625
  if (modelProvider) {
626
626
  paramsCopy.modelProvider = modelProvider;
627
627
  }
628
- console.log("paramsCopy", paramsCopy);
629
628
  return new _ConfigurableModel({
630
629
  defaultConfig: paramsCopy,
631
630
  configPrefix,
@@ -585,7 +585,7 @@ fields) {
585
585
  ...(fields ?? {}),
586
586
  };
587
587
  if (modelProvider === undefined && model?.includes(":")) {
588
- const modelComponents = model.split(":", 1);
588
+ const modelComponents = model.split(":", 2);
589
589
  if (_SUPPORTED_PROVIDERS.includes(modelComponents[0])) {
590
590
  // eslint-disable-next-line no-param-reassign
591
591
  [modelProvider, model] = modelComponents;
@@ -621,7 +621,6 @@ fields) {
621
621
  if (modelProvider) {
622
622
  paramsCopy.modelProvider = modelProvider;
623
623
  }
624
- console.log("paramsCopy", paramsCopy);
625
624
  return new _ConfigurableModel({
626
625
  defaultConfig: paramsCopy,
627
626
  configPrefix,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langchain",
3
- "version": "0.3.16",
3
+ "version": "0.3.18",
4
4
  "description": "Typescript bindings for langchain",
5
5
  "type": "module",
6
6
  "engines": {