I usually use the LLM CLI(1) or the Raycast Ollama extension (2). The first one works well enough for when I have to paste multiple lines.
1. https://github.com/simonw/llm?tab=readme-ov-file
2. https://www.raycast.com/massimiliano_pasquini/raycast-ollama