[PR #1961] [MERGED] remove double newlines in /set parameter #10738

Closed
opened 2026-04-12 23:09:16 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1961
Author: @mxyng
Created: 1/12/2024
Status: Merged
Merged: 1/12/2024
Merged by: @mxyng

Base: mainHead: mxyng/rm-double-newline


📝 Commits (1)

  • 5121b7a remove double newlines in /set parameter

📊 Changes

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

View changed files

📝 cmd/interactive.go (+6 -6)

📄 Description

also change fmt.Print("\(.*\)\n") to fmt.Println("\1")

Before

>>> /set parameter temperature 0
Set parameter 'temperature' to '0'

>>> Send a message (/? for help)

Now

>>> /set parameter temperature 0
Set parameter 'temperature' to '0'
>>>

🔄 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/1961 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/12/2024 **Status:** ✅ Merged **Merged:** 1/12/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/rm-double-newline` --- ### 📝 Commits (1) - [`5121b7a`](https://github.com/ollama/ollama/commit/5121b7ac9c861bf9b34403606768cdd2cd18e5d7) remove double newlines in /set parameter ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+6 -6) </details> ### 📄 Description also change `fmt.Print("\(.*\)\n")` to `fmt.Println("\1")` Before ``` >>> /set parameter temperature 0 Set parameter 'temperature' to '0' >>> Send a message (/? for help) ``` Now ``` >>> /set parameter temperature 0 Set parameter 'temperature' to '0' >>> ``` --- <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-12 23:09:16 -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#10738