@langchain/google-common 0.0.6 → 0.0.8

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.
@@ -77,7 +77,6 @@ function copyAIModelParamsInto(params, options, target) {
77
77
  throw new Error(`Cannot mix structured tools with Gemini tools.\nReceived ${structuredOutputTools.length} structured tools and ${geminiTools.length} Gemini tools.`);
78
78
  }
79
79
  ret.tools = geminiTools ?? structuredOutputTools;
80
- console.log(ret);
81
80
  return ret;
82
81
  }
83
82
  exports.copyAIModelParamsInto = copyAIModelParamsInto;
@@ -73,7 +73,6 @@ export function copyAIModelParamsInto(params, options, target) {
73
73
  throw new Error(`Cannot mix structured tools with Gemini tools.\nReceived ${structuredOutputTools.length} structured tools and ${geminiTools.length} Gemini tools.`);
74
74
  }
75
75
  ret.tools = geminiTools ?? structuredOutputTools;
76
- console.log(ret);
77
76
  return ret;
78
77
  }
79
78
  export function modelToFamily(modelName) {
@@ -179,7 +179,6 @@ function toolMessageToContent(message, prevMessage) {
179
179
  const responseName = ((0, messages_1.isAIMessage)(prevMessage) && !!prevMessage.tool_calls?.length
180
180
  ? prevMessage.tool_calls[0].name
181
181
  : prevMessage.name) ?? message.tool_call_id;
182
- console.log(contentStr);
183
182
  try {
184
183
  const content = JSON.parse(contentStr);
185
184
  return [
@@ -175,7 +175,6 @@ function toolMessageToContent(message, prevMessage) {
175
175
  const responseName = (isAIMessage(prevMessage) && !!prevMessage.tool_calls?.length
176
176
  ? prevMessage.tool_calls[0].name
177
177
  : prevMessage.name) ?? message.tool_call_id;
178
- console.log(contentStr);
179
178
  try {
180
179
  const content = JSON.parse(contentStr);
181
180
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/google-common",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Core types and classes for Google services.",
5
5
  "type": "module",
6
6
  "engines": {