GeminiStreamingContentResponseSpecification
class GeminiStreamingContentResponseSpecification(responseFlow: Flow<String>? = null, responseChunks: List<String>? = null, delayBetweenChunks: Duration = Duration.ZERO, delay: Duration = Duration.ZERO, var finishReason: String = "STOP") : AbstractStreamingResponseSpecification<GenerateContentRequest, String, String> (source)
Specification for configuring a streaming Gemini content generation response.
This class provides a fluent API for configuring the streaming response that will be returned by the mock Gemini API when a content generation request is made with streaming enabled.