@langchain/google-common 0.1.2 → 0.1.3

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.
@@ -368,7 +368,7 @@ function getAnthropicAPI(config) {
368
368
  };
369
369
  }
370
370
  function baseToAnthropicMessage(base) {
371
- const type = base.getType();
371
+ const type = base._getType();
372
372
  switch (type) {
373
373
  case "human":
374
374
  return baseRoleToAnthropicMessage(base, "user");
@@ -365,7 +365,7 @@ export function getAnthropicAPI(config) {
365
365
  };
366
366
  }
367
367
  function baseToAnthropicMessage(base) {
368
- const type = base.getType();
368
+ const type = base._getType();
369
369
  switch (type) {
370
370
  case "human":
371
371
  return baseRoleToAnthropicMessage(base, "user");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-common",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Core types and classes for Google services.",
5
5
  "type": "module",
6
6
  "engines": {