[GH-ISSUE #1852] Copying the response to the clipboard #78734

Closed
opened 2026-05-09 01:33:01 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @goldytech on GitHub (Jan 8, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/1852

Is there a way or feature available in the tool for the generated streamed response to be copied into the clipboard memory? Like how chatgpt UI gives the option to share it with the link.

Originally created by @goldytech on GitHub (Jan 8, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/1852 Is there a way or feature available in the tool for the generated streamed response to be copied into the clipboard memory? Like how chatgpt UI gives the option to share it with the link.
Author
Owner

@igorschlum commented on GitHub (Jan 8, 2024):

Hi @goldytech

Yes you can use Markdown. I asked "ollama run phi" how to do it.

can you answer in a way that the answer can be copied, like using markdown?
Sure, here's an example of how the same function could be written using
markdown syntax:

function addNumbers(num1, num2) {
  return num1 + num2;
}

You can copy and paste this code into your favorite text editor or
integrated development environment (IDE) to use the function in your
JavaScript program.

<!-- gh-comment-id:1881662535 --> @igorschlum commented on GitHub (Jan 8, 2024): Hi @goldytech Yes you can use Markdown. I asked "ollama run phi" how to do it. >>> can you answer in a way that the answer can be copied, like using markdown? Sure, here's an example of how the same function could be written using markdown syntax: ```markdown function addNumbers(num1, num2) { return num1 + num2; } ``` You can copy and paste this code into your favorite text editor or integrated development environment (IDE) to use the function in your JavaScript program.
Author
Owner

@goldytech commented on GitHub (Jan 9, 2024):

Thanks for your support.

<!-- gh-comment-id:1882442099 --> @goldytech commented on GitHub (Jan 9, 2024): Thanks for your support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#78734