[PR #10574] [MERGED] api: remove unused or unsupported api options #18553

Closed
opened 2026-04-16 06:39:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10574
Author: @jmorganca
Created: 5/5/2025
Status: Merged
Merged: 5/5/2025
Merged by: @jmorganca

Base: mainHead: jmorganca/api-options


📝 Commits (1)

  • 6dd9fdb api: remove unused or unsupported api options

📊 Changes

8 files changed (+8 additions, -24 deletions)

View changed files

📝 api/types.go (+0 -7)
📝 docs/api.md (+0 -3)
📝 llama/llama.go (+0 -2)
📝 llm/server.go (+0 -4)
📝 parser/parser.go (+8 -1)
📝 parser/parser_test.go (+0 -4)
📝 runner/llamarunner/runner.go (+0 -2)
📝 runner/ollamarunner/runner.go (+0 -1)

📄 Description

Some options listed in api/types.go are not supported in newer models, or have been deprecated in the past. This is the first of a series of PRs to clean up the API options


🔄 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/10574 **Author:** [@jmorganca](https://github.com/jmorganca) **Created:** 5/5/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `jmorganca/api-options` --- ### 📝 Commits (1) - [`6dd9fdb`](https://github.com/ollama/ollama/commit/6dd9fdbf224be71baa79194ad10f497b034838fa) api: remove unused or unsupported api options ### 📊 Changes **8 files changed** (+8 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `api/types.go` (+0 -7) 📝 `docs/api.md` (+0 -3) 📝 `llama/llama.go` (+0 -2) 📝 `llm/server.go` (+0 -4) 📝 `parser/parser.go` (+8 -1) 📝 `parser/parser_test.go` (+0 -4) 📝 `runner/llamarunner/runner.go` (+0 -2) 📝 `runner/ollamarunner/runner.go` (+0 -1) </details> ### 📄 Description Some options listed in api/types.go are not supported in newer models, or have been deprecated in the past. This is the first of a series of PRs to clean up the API options --- <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 06:39:01 -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#18553