Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes a problem with AWSBedrock's parse method for Stream Response, which was incorrect. #21

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

fumito-ito
Copy link
Owner

refs: #19

AWSBedrock parses Claude's response and returns only the data: part as response body. If the AnthropicStreamingParser parses this data as it is, the parse will fail, so a function to parse AWSBedrock's response is added.

…hich was incorrect.

AWSBedrock parses Claude's response and returns only the `data: ` part as response body. If the `AnthropicStreamingParser` parses this data as it is, the parse will fail, so a function to parse AWSBedrock's response is added.
@fumito-ito fumito-ito merged commit d8ef8d0 into main Jul 3, 2024
1 check passed
@fumito-ito fumito-ito deleted the fix/aws-bedrock-invalid-parse branch July 3, 2024 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant