Skip to content

Commit

Permalink
fix(aws): fix error message output
Browse files Browse the repository at this point in the history
  • Loading branch information
hujiulong authored Dec 25, 2024
1 parent 4549863 commit 3183cbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/langchain-aws/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export function convertToConverseMessages(messages: BaseMessage[]): {
};
} else {
const blockValues = Object.fromEntries(
Object.values(block).filter(([key]) => key !== "type")
Object.entries(block).filter(([key]) => key !== "type")
);
throw new Error(
`Unsupported content block type: ${
Expand Down

0 comments on commit 3183cbe

Please sign in to comment.