Skip to content

fix: ollama streaming patch - #4364

Closed
michaelneale wants to merge 3 commits into
mainfrom
micn/ollama-streaming-patch
Closed

fix: ollama streaming patch#4364
michaelneale wants to merge 3 commits into
mainfrom
micn/ollama-streaming-patch

Conversation

@michaelneale

Copy link
Copy Markdown
Collaborator

building off #4303 - correctly sets the strreaming flag and actually does stream, improves performance of ollama a bit at least subjectively

thanks @Jovonni

@DOsinga DOsinga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but let's dedupe the code

}
}))
}
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is identical to the streaming implementation of OpenAI. we should reuse that code

@michaelneale

Copy link
Copy Markdown
Collaborator Author

closing as folded in

@DOsinga
DOsinga deleted the micn/ollama-streaming-patch branch May 14, 2026 19:37
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.

3 participants