diff --git a/main.go b/main.go index 4636c91..67d0c94 100644 --- a/main.go +++ b/main.go @@ -23,8 +23,10 @@ type Model struct { Name string `json:"name"` Model string `json:"model"` Modified_at string `json:"modified_at"` - Size string `json:"size"` + Size int `json:"size"` Details Details `json:"details"` + Ip string `json:"ip"` + Port string `json:"port"` } type Models struct { @@ -43,6 +45,8 @@ func get_ollama_tags() Models { body, err := io.ReadAll(resp.Body) + print(string(body)) + if err != nil { fmt.Print(err.Error()) os.Exit(1)