mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 18:50:33 +00:00
The LLM shouldn't be seeing parameters it cannot control in the ToolMessage error it gets when it invokes a tool with incorrect args. This fixes the behavior within langchain to address immediate issue. We may want to change the behavior in langchain_core as well to prevent validation of injected arguments. But this would be done in a separate change