Skip to content

Commit

Permalink
docs: Fixed wrong link redirect from JS ToolMessage to Python ToolMes… (
Browse files Browse the repository at this point in the history
langchain-ai#28083)

Fixed the link to ToolMessage from the JS documentation to Python
documentation
  • Loading branch information
DangerousPotential authored Nov 13, 2024
1 parent 77c8a5c commit 8241c0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 8241c0d

Please sign in to comment.