langchain 0.3.17 → 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(":",
|
|
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;
|
|
@@ -585,7 +585,7 @@ fields) {
|
|
|
585
585
|
...(fields ?? {}),
|
|
586
586
|
};
|
|
587
587
|
if (modelProvider === undefined && model?.includes(":")) {
|
|
588
|
-
const modelComponents = model.split(":",
|
|
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;
|