[PR #11589] Respond with text/event-stream (SSE) if requested #13592

Open
opened 2026-04-13 00:30:50 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11589

State: open
Merged: No


Attempts to fix #11586.

Enable the text/event-stream content type if it is the first content type in the Accept header.

Send the JSON chunks as events of the default message type.

**Original Pull Request:** https://github.com/ollama/ollama/pull/11589 **State:** open **Merged:** No --- Attempts to fix #11586. Enable the `text/event-stream` content type if it is the first content type in the `Accept` header. Send the JSON chunks as events of the default `message` type.
GiteaMirror added the pull-request label 2026-04-13 00:30:50 -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#13592