Skip to content

Commit

Permalink
fix: Fixed AnthropicClaude3ChatModel issue with OnCompletedResponseGe…
Browse files Browse the repository at this point in the history
…nerated.
  • Loading branch information
HavenDV committed Jul 11, 2024
1 parent 450ce83 commit addfa69
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"sdk": {
"rollForward": "latestMajor",
"allowPrerelease": false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public override async Task<ChatResponse> GenerateAsync(
}
if (type == "CONTENT_BLOCK_STOP")
{
OnCompletedResponseGenerated(stringBuilder.ToString());
break;
}
}

Expand Down

1 comment on commit addfa69

@PankajRawat333
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing quick fix. It need to be fixed for all the models in LangChain.Providers.Amazon.Bedrock.

Please sign in to comment.