[PR #8298] [MERGED] api: remove unused create fields #12681

Closed
opened 2026-04-13 00:06:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8298
Author: @BruceMacD
Created: 1/3/2025
Status: Merged
Merged: 1/3/2025
Merged by: @BruceMacD

Base: mainHead: brucemacd/remove-unused-create-fields


📝 Commits (2)

  • 8bdaf4e api: remove unused create fields
  • 5e8497a discover: remove leading new-line for linter

📊 Changes

2 files changed (+0 additions, -8 deletions)

View changed files

📝 api/types.go (+0 -7)
📝 discover/gpu.go (+0 -1)

📄 Description

These fields are deprecated, but specifying them will not do anything. Removing them as the other deprecated fields will still work, but these do not, so they dont match our existing pattern.


🔄 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/8298 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 1/3/2025 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/remove-unused-create-fields` --- ### 📝 Commits (2) - [`8bdaf4e`](https://github.com/ollama/ollama/commit/8bdaf4e251844b0e96029283df3ce432c89e56b1) api: remove unused create fields - [`5e8497a`](https://github.com/ollama/ollama/commit/5e8497ac354d7b9ac13ee9e4c73801dbb7fdb2a2) discover: remove leading new-line for linter ### 📊 Changes **2 files changed** (+0 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+0 -7) 📝 `discover/gpu.go` (+0 -1) </details> ### 📄 Description These fields are deprecated, but specifying them will not do anything. Removing them as the other deprecated fields will still work, but these do not, so they dont match our existing pattern. --- <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-13 00:06:49 -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#12681