def get_model_details(self, model_name: str) -> requests.Response:
        """
        Get model details from DeepInfra API.
        If the model does not exist, a 404 response is returned.

        Returns:
            requests.Response: The API response.

        """
        request_url = self.get_url(f"models/{model_name}")
        return requests.get(request_url, headers=self._get_headers())

        Get model details from DeepInfra API.
        If the model does not exist, a 404 response is returned.

        Returns:
            requests.Response: The API response.

        
llama-index-integrations/llms/llama-index-llms-deepinfra/llama_index/llms/deepinfra/client.py