mirror of
https://github.com/mudler/LocalAI.git
synced 2026-05-05 17:59:44 -05:00
chore(gallery agent): try fixing linting errors
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user