chore(gallery agent): try fixing linting errors

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto
2025-10-16 10:05:37 +02:00
parent b0eb1ab2a1
commit 561aa5e443
+3 -2
View File
@@ -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")