Interface Mergeable<T extends Mergeable<?>>

Type Parameters:
T - Another streamable. Most probably object of the same type.
All Known Implementing Classes:
AudioBinaryResponse, ChatChoiceResponse, ChatMessageResponse, ChatUsageResponse, FunctionResponse, ImageDataResponse, ImageResponse, SpeechTextResponse, ToolCallResponse

public interface Mergeable<T extends Mergeable<?>>

This interface mostly makes sense in conjunction with Streamable.stream() == true. So each streamed line, can be joined to the next one, forming one big response at the end.

Most response objects actually implements this interface without the necessity of doing it, as the API they belong to will never support streaming, such as Images Creation API.