Skip to content

Fix (Ollama provider): Unsupported operation: streaming not implemented #4303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jovonni
Copy link

@Jovonni Jovonni commented Aug 23, 2025

I'm not entirely sure if this is the right way to fix this issue, but here's what I ran into when using the goose desktop app installed from the site (v1.6.0):

Screenshot 2025-08-22 at 10 50 09 PM

implements streaming capability for ollama chat completions by:

  • adding stream method to ollamaprovider
  • using openai-compatible streaming format with stream=true
  • handling streamed responses line by line with proper error handling
  • including usage metrics in streamed responses
  • maintaining compatibility with existing chat/auto modes

note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Implement Streaming for Ollama Models
1 participant