Skip to content

Commit

Permalink
add minor sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
sdcb committed Dec 18, 2024
1 parent 505eca0 commit baa2c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BE/Controllers/Chats/Chats/ChatController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ private async Task YieldTitle(string title)
foreach (string segment in TestChatService.UnicodeCharacterSplit(title))
{
await YieldResponse(SseResponseLine.TitleSegment(segment));
await Task.Delay(1);
}
}

Expand Down

0 comments on commit baa2c5d

Please sign in to comment.