Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit a17eb48

Browse files
committed
Do not include tags in remote model, as it will be nil
1 parent 9469b56 commit a17eb48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

desktop/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type Model struct {
6060
// ID is the globally unique model identifier.
6161
ID string `json:"id"`
6262
// Tags are the list of tags associated with the model.
63-
Tags []string `json:"tags"`
63+
Tags []string `json:"tags,omitempty"`
6464
// Created is the Unix epoch timestamp corresponding to the model creation.
6565
Created int64 `json:"created"`
6666
// Config describes the model.

0 commit comments

Comments
 (0)