[PR #3284] [MERGED] Add MarshalJSON to Duration #16379

Closed
opened 2026-04-16 05:27:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3284
Author: @jackielii
Created: 3/21/2024
Status: Merged
Merged: 5/6/2024
Merged by: @pdevine

Base: mainHead: duration-add-marshal


📝 Commits (2)

📊 Changes

2 files changed (+67 additions, -1 deletions)

View changed files

📝 api/types.go (+10 -1)
📝 api/types_test.go (+57 -0)

📄 Description

fix #3283


🔄 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/3284 **Author:** [@jackielii](https://github.com/jackielii) **Created:** 3/21/2024 **Status:** ✅ Merged **Merged:** 5/6/2024 **Merged by:** [@pdevine](https://github.com/pdevine) **Base:** `main` ← **Head:** `duration-add-marshal` --- ### 📝 Commits (2) - [`911c881`](https://github.com/ollama/ollama/commit/911c8814ce041507c63dd7da28092579cd672fa3) Add MarshalJSON to Duration - [`06fc5d5`](https://github.com/ollama/ollama/commit/06fc5d5ac2e321fc5edf83ef04302cc908e613ac) add more tests ### 📊 Changes **2 files changed** (+67 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+10 -1) 📝 `api/types_test.go` (+57 -0) </details> ### 📄 Description fix #3283 --- <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-16 05:27:32 -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#16379