Use non-streaming chat completion for REST endpoint

FixAIService
Spegnimento
17 marzo 2026 alle ore 04:03 UTC
Autore
Kamo
Impegno
31f21ee

Streaming over REST with blockLast() was producing empty responses because WebClient's SSE parsing doesn't work reliably with bodyToFlux(String.class). Added handleMessageSync() that uses adapter.chatCompletion() (non-streaming) with proper response handling, message persistence, and usage tracking.

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo