Skip to content

Commit f50155a

Browse files
committed
fix mypy error on AF
1 parent 9b46eb9 commit f50155a

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)