tts-voice-creator-clone-and.../static
mARTin-B78 6bc98e2b62 Fix ASGI middleware crash and stream/blocking lock race (v1.12.96)
The static-asset caching middleware used BaseHTTPMiddleware, which has a
known Starlette bug: a client disconnecting mid-StreamingResponse (the new
live-attribution SSE stream hitting its idle timeout) raced its internal
task group and raised "RuntimeError: No response returned", crashing that
request. Rewritten as plain ASGI middleware that only touches headers via
the raw send callable, removing the race.

Also found the real cause of the casting timeouts/405s: the streaming
attribution endpoint had its own lock instead of sharing the one the
blocking endpoint already used to serialize on the LLM's single slot -
letting a stream call and its own blocking fallback fire concurrently,
exactly the ghost-request pile-up that lock was built to prevent. Unified
onto one lock and added server-side logging for stream failures.

The "LLM Thinking" pane now shows the model's actual <think> reasoning
instead of the in-progress JSON answer echoed back at the user.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-05 18:08:54 +02:00
..
js Fix ASGI middleware crash and stream/blocking lock race (v1.12.96) 2026-07-05 18:08:54 +02:00
sections Add Casting back-navigation, fix truncated prompt generation (v1.12.91) 2026-07-04 17:43:51 +02:00
vendor Add skeleton loading, self-host assets, fix LLM empty response 2026-05-29 17:28:42 +02:00
icon.svg Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX 2026-06-03 14:23:35 +02:00
index.html Fix ASGI middleware crash and stream/blocking lock race (v1.12.96) 2026-07-05 18:08:54 +02:00
loader.js Optimize startup and persist engine keys 2026-06-30 14:52:17 +02:00
manifest.webmanifest Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX 2026-06-03 14:23:35 +02:00
nav.js Add Casting back-navigation, fix truncated prompt generation (v1.12.91) 2026-07-04 17:43:51 +02:00
style.css Live LLM-thinking stream, fix resolver garbage names, safer rules (v1.12.95) 2026-07-05 10:50:34 +02:00
sw.js Release v1.6.0: a11y (WCAG AA), i18n (DE), PWA, perf, tests, Cast UX 2026-06-03 14:23:35 +02:00