Enter to sendยทShift+Enter new line
transform_input( cls, prompt: str, model_kwargs: Dict[str, Any] ) ->