Add ModifiedAt Field to /api/show (#5033)

* Add Mod Time to Show

* Error Handling
This commit is contained in:
royjhan
2024-06-15 20:53:56 -07:00
committed by GitHub
parent c7b77004e3
commit 89c79bec8c
2 changed files with 36 additions and 21 deletions

View File

@@ -238,6 +238,7 @@ type ShowResponse struct {
System string `json:"system,omitempty"`
Details ModelDetails `json:"details,omitempty"`
Messages []Message `json:"messages,omitempty"`
ModifiedAt time.Time `json:"modified_at,omitempty"`
}
// CopyRequest is the request passed to [Client.Copy].