Skip to content

Commit c9c5307

Browse files
committed
Merge branch 'lusu/agentserver-1110' of https://github.com/Azure/azure-sdk-for-python into lusu/agentserver-1110
2 parents b72be77 + f50155a commit c9c5307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdk/agentserver/azure-ai-agentserver-agentframework/azure/ai/agentserver/agentframework/models/agent_framework_output_streaming_converter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,8 @@ async def convert(self, updates: AsyncIterable[AgentRunResponseUpdate]) -> Async
302302
param="",
303303
)
304304
continue
305+
if not state:
306+
continue
305307

306308
async for content in state.convert_contents(contents):
307309
yield content

0 commit comments

Comments
 (0)