fix: use StreamingResponse for chat completions SSE
Build and Push / release (push) Successful in 2s
Build and Push / build (push) Successful in 1m22s

sse_starlette's EventSourceResponse added \r\n line endings that
Open WebUI couldn't parse. Switched to plain StreamingResponse with
manual SSE formatting matching OpenAI's exact format.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-05 12:29:08 +01:00
co-authored by Claude Opus 4.5
parent 31e7884d8f
commit e469746f75
3 changed files with 29 additions and 19 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "tatlock"
version = "2.0.3"
version = "2.0.4"
description = "OpenAI-compatible API with Ollama backend"
requires-python = ">=3.12"
dependencies = []