[GH-ISSUE #1607] Multi-line strings/paste capture / commands #62927

Closed
opened 2026-05-03 10:50:28 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @jmorganca on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/1607

Originally assigned to: @mxyng on GitHub.

When pasting in text or providing a multi line string to ollama run interactively, lines starting with / are captured:

ollama run llama2
>>> I am pasting this:
... Fixed issues where message objects in /api/chat would return "images": null in the response
... /api/chat now always returns a message object, even if content is an empty string
Unknown command '/api/chat'. Type /? for help
Originally created by @jmorganca on GitHub (Dec 19, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/1607 Originally assigned to: @mxyng on GitHub. When pasting in text or providing a multi line string to `ollama run` interactively, lines starting with `/` are captured: ``` ollama run llama2 >>> I am pasting this: ... Fixed issues where message objects in /api/chat would return "images": null in the response ... /api/chat now always returns a message object, even if content is an empty string Unknown command '/api/chat'. Type /? for help ```
GiteaMirror added the bug label 2026-05-03 10:50:28 -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#62927