Class DisabledStreamingLanguageModel

java.lang.Object
dev.langchain4j.model.language.DisabledStreamingLanguageModel
All Implemented Interfaces:
StreamingLanguageModel

public class DisabledStreamingLanguageModel extends Object implements StreamingLanguageModel
A StreamingLanguageModel which throws a ModelDisabledException for all of its methods

This could be used in tests, or in libraries that extend this one to conditionally enable or disable functionality.