From 8241c0df238e6a965dc355c7adf1a7bf44a8d72b Mon Sep 17 00:00:00 2001 From: Zapiron <125368863+DangerousPotential@users.noreply.github.com> Date: Wed, 13 Nov 2024 23:05:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20Fixed=20wrong=20link=20redirect=20from?= =?UTF-8?q?=20JS=20ToolMessage=20to=20Python=20ToolMes=E2=80=A6=20(#28083)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed the link to ToolMessage from the JS documentation to Python documentation --- docs/docs/troubleshooting/errors/INVALID_TOOL_RESULTS.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/troubleshooting/errors/INVALID_TOOL_RESULTS.ipynb b/docs/docs/troubleshooting/errors/INVALID_TOOL_RESULTS.ipynb index 4a1b9b3bdf3..f3e62badc49 100644 --- a/docs/docs/troubleshooting/errors/INVALID_TOOL_RESULTS.ipynb +++ b/docs/docs/troubleshooting/errors/INVALID_TOOL_RESULTS.ipynb @@ -6,7 +6,7 @@ "source": [ "# INVALID_TOOL_RESULTS\n", "\n", - "You are passing too many, too few, or mismatched [`ToolMessages`](https://api.js.langchain.com/classes/_langchain_core.messages_tool.ToolMessage.html) to a model.\n", + "You are passing too many, too few, or mismatched [`ToolMessages`](https://python.langchain.com/api_reference/core/messages/langchain_core.messages.tool.ToolMessage.html#toolmessage) to a model.\n", "\n", "When [using a model to call tools](/docs/concepts/tool_calling), the [`AIMessage`](https://api.js.langchain.com/classes/_langchain_core.messages.AIMessage.html)\n", "the model responds with will contain a `tool_calls` array. To continue the flow, the next messages you pass back to the model must\n",