mirror of
https://github.com/ollama/ollama.git
synced 2025-10-11 10:53:30 +02:00
add model to ModelResponse
This commit is contained in:
@@ -735,6 +735,7 @@ func ListModelsHandler(c *gin.Context) {
|
||||
}
|
||||
|
||||
return api.ModelResponse{
|
||||
Model: model.ShortName,
|
||||
Name: model.ShortName,
|
||||
Size: model.Size,
|
||||
Digest: model.Digest,
|
||||
|
Reference in New Issue
Block a user