Skip to content

iterative streaming #241

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

Merged
merged 6 commits into from
Jun 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
models - bedrock - structured output - fix unpacking
  • Loading branch information
pgrayy committed Jun 20, 2025
commit d461133f5ce5f8b90d33f8956ba80f3ffdc49b38
2 changes: 1 addition & 1 deletion src/strands/models/bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def structured_output(
if "callback" in event:
callback_handler(**event["callback"])
else:
stop_reason, messages, _, _, _ = event["stop"]
stop_reason, messages, _, _ = event["stop"]

if stop_reason != "tool_use":
raise ValueError("No valid tool use or tool use input was found in the Bedrock response.")
Expand Down