Non-streaming request failed

The root cause is confirmed: Discourse’s JsonStreamDecoder requires a space after data: in SSE responses.

Permanent fix: Update json_stream_decoder.rb:
</> Ruby

LINE_REGEX = /data:\s*({.})\s$/

This allows both data: {…} and data:{…} formats.

Temporary workaround: Enable Disable streaming completions in the LLM configuration. This bypasses the decoder but disables real-time token streaming. #PM