You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add ResponseChunkProcessor interface for streaming response processing
Split response processing into two interfaces per review feedback:
- ResponseProcessor: processes the complete buffered response body (existing)
- ResponseChunkProcessor: processes individual chunks without buffering (new)
The Profile now carries both processor lists and a NeedsResponseBuffering
flag. The config loader sorts response plugins into the right list based
on which interface they implement. A plugin can implement both.
When ResponseProcessor plugins are present → buffer the full response.
When only ResponseChunkProcessors are present → stream chunks through.
When neither is present → buffer (backward compatible).
Signed-off-by: Noy Itzikowitz <nitzikow@redhat.com>
0 commit comments