[docs]@pre_initdefvalidate_environment(cls,values:Dict)->Dict:try:importopenlmvalues["client"]=openlm.CompletionexceptImportError:raiseImportError("Could not import openlm python package. ""Please install it with `pip install openlm`.")ifvalues["streaming"]:raiseValueError("Streaming not supported with openlm")returnvalues