Browse Source

fix examples

tags/v0.8.1
xbotter 2 years ago
parent
commit
1056e13414
No known key found for this signature in database GPG Key ID: D299220A7FE5CF1E
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      LLama.Examples/Examples/SemanticKernelChat.cs

+ 1
- 1
LLama.Examples/Examples/SemanticKernelChat.cs View File

@@ -49,7 +49,7 @@ namespace LLama.Examples.Examples
/// </summary>
private static Task MessageOutputAsync(Microsoft.SemanticKernel.AI.ChatCompletion.ChatHistory chatHistory)
{
var message = chatHistory.Messages.Last();
var message = chatHistory.Last();

Console.WriteLine($"{message.Role}: {message.Content}");
Console.WriteLine("------------------------");


Loading…
Cancel
Save