Skip to content

Commit

Permalink
Update src/Custom/Chat/ChatCompletion.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen Toub <stoub@microsoft.com>
  • Loading branch information
KrzysztofCwalina and stephentoub authored Jun 11, 2024
1 parent 35d86a5 commit 9f620b3
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Custom/Chat/ChatCompletion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ public override string ToString()
return content[0].ToString();
}

StringBuilder sb = new();
foreach (var part in content)
{
sb.AppendLine(part.ToString());
}
return sb.ToString();
return string.Join(Environment.NewLine, content);
}
}

0 comments on commit 9f620b3

Please sign in to comment.