made the Ping be included in the trunctation

This commit is contained in:
2026-02-27 20:53:35 +00:00
parent 01cea71522
commit 267d26e952

View File

@@ -133,7 +133,9 @@ public class Program
history.Add(new ChatMessage { role = "assistant", content = output }); history.Add(new ChatMessage { role = "assistant", content = output });
output = $"{ping} {Truncate(output)}"; output = "{ping} {output}";
output = Truncate(output);
await Utils.SendReplyAsync(ChannelCache, channelId, output); await Utils.SendReplyAsync(ChannelCache, channelId, output);
}; };