diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs index 8bcf6105..ef1ac0fb 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.SendMessage.cs @@ -20,7 +20,7 @@ public partial class ConversationService var content = $"Received [{agent.Name}] {message.Role}: {message.Content}"; #if DEBUG - Console.WriteLine(content, Color.GreenYellow); + Console.WriteLine(content); #else _logger.LogInformation(content); #endif diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs index ca230ff3..1383ff1a 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/TokenStatistics.cs @@ -70,7 +70,7 @@ public class TokenStatistics : ITokenStatistics } var stats = $"Token Usage: {_promptTokenCount} prompt + {_completionTokenCount} completion = {Total} total tokens ({_timer.ElapsedMilliseconds / 1000f:f2}s). One-Way cost: {Cost:C4}, accumulated cost: {AccumulatedCost:C4}. [{_model}]"; #if DEBUG - Console.WriteLine(stats, Color.DarkGray); + Console.WriteLine(stats); #else _logger.LogInformation(stats); #endif