fix: add omitempty where needed (#671)

This commit is contained in:
Ettore Di Giacinto 2023-06-25 22:51:02 +02:00 committed by GitHub
parent 53f8d73101
commit 6213da330a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 9 deletions

View file

@ -42,7 +42,8 @@ prompt_templates:
content: ""
*/
// Config is the model configuration which contains all the model details
// This configuration is read from the gallery endpoint and is used to download and install the model
type Config struct {
Description string `yaml:"description"`
License string `yaml:"license"`