Skip to content

Conversation

styukovs
Copy link

@styukovs styukovs commented Oct 11, 2025

Motivation

In langchain‑mcp‑adapters, some ToolMessage non_text_content artifacts (e.g. EmbeddedResource) include Pydantic network fields that are not serializable during checkpointing when used with agents and a checkpointer.

Description

Serializes Pydantic network types so ToolMessage with MCP artifacts becomes serializable without pickle_fallback=True.

Issue

#295

Dependencies

No new external dependencies introduced.

Copy link

vercel bot commented Oct 11, 2025

@styukovs is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant