mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-07-27 22:02:56 +00:00
fixed new line bug for text based content
This commit is contained in:
parent
d7678121bc
commit
4ed3e229bb
@ -16,7 +16,7 @@ public static class ContentStreamSseHandler
|
||||
switch (sseEvent.Metadata)
|
||||
{
|
||||
case ContentStreamTextMetadata:
|
||||
return $"{sseEvent.Content}";
|
||||
return $"{sseEvent.Content}\n";
|
||||
|
||||
case ContentStreamPdfMetadata pdfMetadata:
|
||||
var pageNumber = pdfMetadata.Pdf?.PageNumber ?? 0;
|
||||
|
Loading…
Reference in New Issue
Block a user