[PR #14462] fix: add num_thread to /set parameter help text in interactive mode #61384

Open
opened 2026-04-29 16:27:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: fix-set-parameter-help


📝 Commits (1)

  • 9064d60 fix: add num_thread to /set parameter help text in interactive mode

📊 Changes

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

View changed files

📝 cmd/interactive.go (+1 -0)

📄 Description

Summary

  • Add num_thread to the list of parameters shown by /set parameter help in interactive mode
  • This is a valid Runner option (defined in api/types.go) that was missing from the help output

Test plan

  • Verified num_thread is a valid parameter in api/types.go Runner struct
  • Verified the /set parameter handler accepts arbitrary parameter names via api.FormatParams

Fixes #10035

🤖 Generated with Claude Code


🔄 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/14462 **Author:** [@Anandesh-Sharma](https://github.com/Anandesh-Sharma) **Created:** 2/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix-set-parameter-help` --- ### 📝 Commits (1) - [`9064d60`](https://github.com/ollama/ollama/commit/9064d60611577341a1b00479660073be3364bc6d) fix: add num_thread to /set parameter help text in interactive mode ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+1 -0) </details> ### 📄 Description ## Summary - Add `num_thread` to the list of parameters shown by `/set parameter` help in interactive mode - This is a valid Runner option (defined in `api/types.go`) that was missing from the help output ## Test plan - [x] Verified `num_thread` is a valid parameter in `api/types.go` Runner struct - [x] Verified the `/set parameter` handler accepts arbitrary parameter names via `api.FormatParams` Fixes #10035 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <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-29 16:27:31 -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#61384