mirror of
https://github.com/mudler/LocalAI.git
synced 2025-12-30 14:10:24 -06:00
Revert "chore(gallery agent): try fixing linting errors"
This reverts commit 561aa5e443.
This commit is contained in:
5
.github/gallery-agent/gallery.go
vendored
5
.github/gallery-agent/gallery.go
vendored
@@ -51,9 +51,8 @@ func generateYAMLEntry(model ProcessedModel, familyAnchor string) string {
|
||||
// Empty line - don't add spaces
|
||||
formattedLines = append(formattedLines, "")
|
||||
} else {
|
||||
// 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)
|
||||
// Non-empty line - add proper indentation
|
||||
formattedLines = append(formattedLines, " "+line)
|
||||
}
|
||||
}
|
||||
formattedDescription := strings.Join(formattedLines, "\n")
|
||||
|
||||
Reference in New Issue
Block a user