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

AWS Bedrock SDK: Error information is lost when streaming #387

Open
jordangarcia opened this issue Apr 10, 2024 · 0 comments
Open

AWS Bedrock SDK: Error information is lost when streaming #387

jordangarcia opened this issue Apr 10, 2024 · 0 comments

Comments

@jordangarcia
Copy link

Because of how the bedrock sdk handles parsing the SSE stream, a lot of information is lost like the status code. This makes parsing these errors really difficult in the context of figuring out when to retry failed streams.

image

It would be good if the bedrock SDK mimic'd the error API of the Anthropic SDK.

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

No branches or pull requests

1 participant