Open sourceBy

LangChain Core 1.9.0 adds default message IDs and prompt cache policies

LangChain released langchain-core 1.9.0 with two additions to its core interfaces. Every BaseMessage now gets an ID by default, and model profiles can expose prompt cache policies. The release also standardizes more content block formats and corrects how LangChain looks up content block translators for providers with hyphenated names. The published changelog covers changes since version 1.8.5, including updates to replace retiring Claude 4.5 models in LangChain and its Anthropic and OpenRouter integrations.

Why it matters

Applications that need message IDs can rely on a library default. Developers can also read prompt cache policy information from model profiles that expose it.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet