Skip to content

Commit a1f4ea4

Browse files
committed
use reasoningRedactedContent bec we will remove the reasoning param in v2
1 parent 46002eb commit a1f4ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/strands/event_loop/test_streaming.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,14 +136,14 @@ def test_handle_content_block_start(chunk: ContentBlockStartEvent, exp_tool_use)
136136
{"delta": {"reasoningContent": {"redactedContent": b"encoded"}}},
137137
{},
138138
{"redactedContent": b"encoded"},
139-
{"redactedContent": b"encoded", "reasoning": True},
139+
{"reasoningRedactedContent": b"encoded", "reasoning": True},
140140
),
141141
# Reasoning - redactedContent - Existing
142142
pytest.param(
143143
{"delta": {"reasoningContent": {"redactedContent": b"data"}}},
144144
{"redactedContent": b"encoded_"},
145145
{"redactedContent": b"encoded_data"},
146-
{"redactedContent": b"data", "reasoning": True},
146+
{"reasoningRedactedContent": b"data", "reasoning": True},
147147
),
148148
# Reasoning - Empty
149149
(

0 commit comments

Comments
 (0)