diff --git a/server/events/vcs/github_client.go b/server/events/vcs/github_client.go index 1129867064..86a7bfd48f 100644 --- a/server/events/vcs/github_client.go +++ b/server/events/vcs/github_client.go @@ -233,7 +233,8 @@ func (g *GithubClient) CreateComment(logger logging.SimpleLogging, repo models.R } truncationHeader := "> [!WARNING]\n" + - "> **Warning**: Command output is larger than the maximum number of comments per command. Output truncated.\n" + "> **Warning**: Command output is larger than the maximum number of comments per command. Output truncated.\n
Show Output\n\n" + + "```diff\n" comments := common.SplitComment(comment, maxCommentLength, sepEnd, sepStart, g.maxCommentsPerCommand, truncationHeader) for i := range comments {