[PR #5033] [MERGED] Add ModifiedAt Field to /api/show #37524

Closed
opened 2026-04-22 22:13:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5033
Author: @royjhan
Created: 6/13/2024
Status: Merged
Merged: 6/16/2024
Merged by: @royjhan

Base: mainHead: royh-show-time


📝 Commits (2)

📊 Changes

2 files changed (+36 additions, -21 deletions)

View changed files

📝 api/types.go (+1 -0)
📝 server/routes.go (+35 -21)

📄 Description

Changed model variable name to m due to ParseName function from model package

E.g.

...

  "template": "[INST] {{ if .System }}{{ .System }} {{ end }}{{ .Prompt }} [/INST]",
  "details": {
    "parent_model": "",
    "format": "gguf",
    "family": "llama",
    "families": [
      "llama",
      "clip"
    ],
    "parameter_size": "7B",
    "quantization_level": "Q4_0"
  },
  "modified_at": "2024-06-10T13:01:22.096005938-07:00"
}

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/5033 **Author:** [@royjhan](https://github.com/royjhan) **Created:** 6/13/2024 **Status:** ✅ Merged **Merged:** 6/16/2024 **Merged by:** [@royjhan](https://github.com/royjhan) **Base:** `main` ← **Head:** `royh-show-time` --- ### 📝 Commits (2) - [`30da7da`](https://github.com/ollama/ollama/commit/30da7da2bbe466c879fe549569a7b55b658f30d6) Add Mod Time to Show - [`d17f981`](https://github.com/ollama/ollama/commit/d17f98192d68a614759a7879393084718c26238b) Error Handling ### 📊 Changes **2 files changed** (+36 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+1 -0) 📝 `server/routes.go` (+35 -21) </details> ### 📄 Description Changed `model` variable name to `m` due to `ParseName` function from `model `package E.g. ... ``` "template": "[INST] {{ if .System }}{{ .System }} {{ end }}{{ .Prompt }} [/INST]", "details": { "parent_model": "", "format": "gguf", "family": "llama", "families": [ "llama", "clip" ], "parameter_size": "7B", "quantization_level": "Q4_0" }, "modified_at": "2024-06-10T13:01:22.096005938-07:00" } ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-22 22:13:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#37524