KamoCRM

Use non-streaming chat completion for REST endpoint

FixAIService
تم شحنها
17 مارس 2026 في 4:03 ص UTC
صاحب البلاغ
Kamo
إرتكب
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.

جميع التغييرات

مثل ما ترى الشحن؟?

كلّه يصل إلى مكان عملك لوحده ابدأي بالخطه المجانيه و اقرأي هذه الصفحة مرة اخرى بعد شهر.

ابدأوا حراً للأبدخصخصة الفيو