[PR #13823] [CLOSED] fix: remove multiline option in non-experimental mode #61102

Closed
opened 2026-04-29 16:10:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13823
Author: @Abioy
Created: 1/21/2026
Status: Closed

Base: mainHead: syy_fix_multi_line


📝 Commits (1)

  • 268c2a1 fix: remove multiline option in non-experimental mode

📊 Changes

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

View changed files

📝 cmd/interactive.go (+4 -64)

📄 Description

Since commit #13694, it has been behaving strangely.

When I type Enter key in a new line after one starts with """, the terminal shows >>> but still in multi-line mode, until I type """ again.

>>> """a
... 
>>> b
>>> c
>>> """
Thinking...
blah blah

I have submit an issue here #13824 too


🔄 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/13823 **Author:** [@Abioy](https://github.com/Abioy) **Created:** 1/21/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `syy_fix_multi_line` --- ### 📝 Commits (1) - [`268c2a1`](https://github.com/ollama/ollama/commit/268c2a1df1656370a23a486aee72f827e8449c35) fix: remove multiline option in non-experimental mode ### 📊 Changes **1 file changed** (+4 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `cmd/interactive.go` (+4 -64) </details> ### 📄 Description Since commit #13694, it has been behaving strangely. When I type `Enter` key in a new line after one starts with `"""`, the terminal shows `>>>` but still in multi-line mode, until I type `"""` again. ```bash >>> """a ... >>> b >>> c >>> """ Thinking... blah blah ``` I have submit an issue here #13824 too --- <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:10:19 -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#61102