testing thinking

This commit is contained in:
shadowdao committed 2025-03-16 21:11:53 -07:00
1 parent 2eef9c978c
commit 8824b8a591
1 file changed
+1
+1
View File
@@ -178,6 +178,7 @@ class Pipeline:
streaming_response = self.bedrock_runtime.converse_stream(**payload)
thinking_block = None
for chunk in streaming_response["stream"]:
print(chunk)
if "contentBlockDelta" in chunk:
delta = chunk["contentBlockDelta"]["delta"]