mirror of
https://github.com/ollama/ollama.git
synced 2025-05-11 18:36:41 +02:00
Ollama ps
command for showing currently loaded models (#4327)
This commit is contained in:
parent
9eed4a90ce
commit
6845988807
10 changed files with 193 additions and 50 deletions
|
@ -289,10 +289,12 @@ type ListResponse struct {
|
|||
type ModelResponse struct {
|
||||
Name string `json:"name"`
|
||||
Model string `json:"model"`
|
||||
ModifiedAt time.Time `json:"modified_at"`
|
||||
ModifiedAt time.Time `json:"modified_at,omitempty"`
|
||||
Size int64 `json:"size"`
|
||||
Digest string `json:"digest"`
|
||||
Details ModelDetails `json:"details,omitempty"`
|
||||
ExpiresAt time.Time `json:"expires_at,omitempty"`
|
||||
SizeVRAM int64 `json:"size_vram,omitempty"`
|
||||
}
|
||||
|
||||
type TokenResponse struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue