@langchain/anthropic
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -104,2 +104,10 @@ /** | ||
} | ||
else if (contentPart.type === "document") { | ||
return { | ||
type: "document", | ||
source: contentPart.source, | ||
...(cacheControl ? { cache_control: cacheControl } : {}), | ||
}; | ||
} | ||
else if (textTypes.find((t) => t === contentPart.type) && | ||
@@ -106,0 +114,0 @@ "text" in contentPart) { |
{ | ||
"name": "@langchain/anthropic", | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"description": "Anthropic integrations for LangChain.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
189204
4989