Agent Frameworks

langchain-mistralai==1.1.4

Patch release cleans up tool messages for smoother Mistral integrations

Deep Dive

LangChain released langchain-mistralai v1.1.4, a patch that strips non‑wire keys from ToolMessage objects, fixing an issue since the previous release.

Key Points
  • Version langchain-mistralai 1.1.4 removes non-wire keys from ToolMessage to match Mistral's expected schema
  • Fix #37188 addresses potential errors in tool-calling agent and function call workflows
  • Patch release with no new features; recommended upgrade for stability

Why It Matters

Ensures Mistral tool calls don't break due to extra metadata, improving reliability of LangChain agents.