diff --git a/.github/gallery-agent/gallery.go b/.github/gallery-agent/gallery.go index 8788fbf91..de75e73bc 100644 --- a/.github/gallery-agent/gallery.go +++ b/.github/gallery-agent/gallery.go @@ -51,8 +51,9 @@ func generateYAMLEntry(model ProcessedModel, familyAnchor string) string { // Empty line - don't add spaces formattedLines = append(formattedLines, "") } else { - // Non-empty line - add proper indentation - formattedLines = append(formattedLines, " "+line) + // Non-empty line - add proper indentation for literal block scalar + // The content should be indented 2 spaces from the description: key + formattedLines = append(formattedLines, " "+line) } } formattedDescription := strings.Join(formattedLines, "\n")