@langchain/anthropic
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -408,3 +408,5 @@ import { Anthropic } from "@anthropic-ai/sdk"; | ||
} | ||
else if (Array.isArray(chunk.content) && "input" in chunk.content[0]) { | ||
else if (Array.isArray(chunk.content) && | ||
chunk.content.length >= 1 && | ||
"input" in chunk.content[0]) { | ||
return typeof chunk.content[0].input === "string" | ||
@@ -411,0 +413,0 @@ ? chunk.content[0].input |
{ | ||
"name": "@langchain/anthropic", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Anthropic integrations for LangChain.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159320
3842
0