Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Apr 4, 2024
1 parent baef838 commit 7d0b267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion langchain-core/src/output_parsers/string.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class StringOutputParser extends BaseTransformOutputParser<string> {
}
break;
case "image_url":
if ("url" in content) {
if ("image_url" in content) {
// Type guard for MessageContentImageUrl
return this._imageUrlContentToString(
content as MessageContentImageUrl
Expand Down

0 comments on commit 7d0b267

Please sign in to comment.