Skip to content

Commit 2722b60

Browse files
committed
resync
1 parent f3a28a9 commit 2722b60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/strands/event_loop/streaming.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,7 @@ async def stream_messages(
346346
logger.debug("model=<%s> | streaming messages", model)
347347

348348
messages = remove_blank_messages_content_text(messages)
349-
350-
chunks = model.stream(messages, tool_specs, system_prompt)
349+
chunks = model.stream(messages, tool_specs if tool_specs else None, system_prompt)
351350

352351
async for event in process_stream(chunks):
353352
yield event

0 commit comments

Comments
 (0)