[PR #14471] docs: fix incorrect default value for seed parameter #19967

Open
opened 2026-04-16 07:22:02 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14471
Author: @Anandesh-Sharma
Created: 2/26/2026
Status: 🔄 Open

Base: mainHead: fix-seed-default-docs


📝 Commits (1)

  • cf1970b docs: fix incorrect default value for seed parameter

📊 Changes

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

View changed files

📝 docs/modelfile.mdx (+1 -1)

📄 Description

Summary

  • Fixes the documented default value for seed from 0 to -1 (random)
  • The actual default in api.DefaultOptions() is Seed: -1, meaning random seed generation by default
  • A default of 0 would incorrectly imply deterministic generation

Related to #4937


🔄 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/14471 **Author:** [@Anandesh-Sharma](https://github.com/Anandesh-Sharma) **Created:** 2/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-seed-default-docs` --- ### 📝 Commits (1) - [`cf1970b`](https://github.com/ollama/ollama/commit/cf1970b15171df2ef45b716b91ff074221acee4a) docs: fix incorrect default value for seed parameter ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/modelfile.mdx` (+1 -1) </details> ### 📄 Description ## Summary - Fixes the documented default value for `seed` from `0` to `-1` (random) - The actual default in `api.DefaultOptions()` is `Seed: -1`, meaning random seed generation by default - A default of `0` would incorrectly imply deterministic generation Related to #4937 --- <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 07:22:02 -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#19967