Skip to content

Commit 5dd9c6b

Browse files
format
1 parent 5323823 commit 5dd9c6b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libs/langchain-aws/src/common.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,11 @@ function convertLangChainContentBlockToConverseContentBlock<
297297
}
298298

299299
if (block.type === "image_url") {
300-
return extractImageInfo(typeof block.image_url === "string" ? block.image_url : block.image_url.url);
300+
return extractImageInfo(
301+
typeof block.image_url === "string"
302+
? block.image_url
303+
: block.image_url.url
304+
);
301305
}
302306

303307
if (block.type === "document" && block.document !== undefined) {

0 commit comments

Comments
 (0)