[PR #6054] [CLOSED] Added reference to Llama.cpp docs for passed through API options #43248

Closed
opened 2026-04-24 22:54:47 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6054
Author: @noggynoggy
Created: 7/29/2024
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • ef826e5 Added reference to Llama.cpp docs for passed through API options

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 docs/api.md (+1 -1)

📄 Description

The API docs do not explain what all options listed here do, some are explained in the modelfile but all "passed through" ones are not.

This PR adds a reference to a doc which explains them.

Relevant: #6045


🔄 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/6054 **Author:** [@noggynoggy](https://github.com/noggynoggy) **Created:** 7/29/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`ef826e5`](https://github.com/ollama/ollama/commit/ef826e57900d6c2b3eae9a7df7e29d490178591c) Added reference to Llama.cpp docs for passed through API options ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+1 -1) </details> ### 📄 Description The API docs do not explain what all options listed [here](https://github.com/ollama/ollama/blob/0e4d653687f81db40622e287a846245b319f1fbe/docs/api.md?plain=1#L334-L362) do, some are explained in [the modelfile](https://github.com/ollama/ollama/blob/main/docs/modelfile.md#valid-parameters-and-values) but all "passed through" ones are not. This PR adds a reference to [a doc](https://github.com/ggerganov/llama.cpp/blob/master/examples/main/README.md#generation-flags) which explains them. Relevant: #6045 --- <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-24 22:54:47 -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#43248