Skip to content

Commit 5d4342c

Browse files
committed
Update AG-UI thinking test case to confirm that empty text parts are ignored
1 parent c8b60ac commit 5d4342c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_ag_ui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ async def stream_function(
864864
) -> AsyncIterator[DeltaThinkingCalls | str]:
865865
yield {0: DeltaThinkingPart(content='')}
866866
yield "Let's do some thinking"
867+
yield ''
867868
yield {1: DeltaThinkingPart(content='Thinking ')}
868869
yield {1: DeltaThinkingPart(content='about the weather')}
869870
yield {2: DeltaThinkingPart(content='')}

0 commit comments

Comments
 (0)