add model to ModelResponse

This commit is contained in:
Michael Yang
2024-01-18 14:32:55 -08:00
parent a38d88d828
commit 745b5934fa
2 changed files with 2 additions and 0 deletions

View File

@@ -735,6 +735,7 @@ func ListModelsHandler(c *gin.Context) {
}
return api.ModelResponse{
Model: model.ShortName,
Name: model.ShortName,
Size: model.Size,
Digest: model.Digest,