Skip to content

fix: type error during streaming of AmazonBedrockChatGenerator#3332

Merged
tstadel merged 3 commits into
mainfrom
fix/bedrock_streaming_int_error
May 19, 2026
Merged

fix: type error during streaming of AmazonBedrockChatGenerator#3332
tstadel merged 3 commits into
mainfrom
fix/bedrock_streaming_int_error

Conversation

@tstadel

@tstadel tstadel commented May 19, 2026

Copy link
Copy Markdown
Member

Related Issues

Proposed Changes:

  • ensure ToolCallDelta's argument is str: convert input if necessary

How did you test it?

Notes for the reviewer

Checklist

@tstadel tstadel requested a review from a team as a code owner May 19, 2026 16:09
@tstadel tstadel requested review from anakin87 and removed request for a team May 19, 2026 16:09

@anakin87 anakin87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

Ruff is complaining. Apart from this, it looks good.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (amazon_bedrock)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  integrations/amazon_bedrock/src/haystack_integrations/components/generators/amazon_bedrock/chat
  utils.py
Project Total  

This report was generated by python-coverage-comment-action

@anakin87 anakin87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

@tstadel tstadel merged commit 7ff000f into main May 19, 2026
16 checks passed
@tstadel tstadel deleted the fix/bedrock_streaming_int_error branch May 19, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError during streaming of AmazonBedrockChatGenerator

2 participants