def test_prepare_headers_stream(self):
        """Ensures that headers are prepared correctly for streaming."""
        headers = {"Custom-Header": "Value"}
        result = self.base_client._prepare_headers(stream=True, headers=headers)
        expected_headers = {
            "Content-Type": "application/json",
            "Accept": "text/event-stream",
            "enable-streaming": "true",
            "Custom-Header": "Value",
        }
        assert result == expected_headers
Ensures that headers are prepared correctly for streaming.
llama-index-integrations/llms/llama-index-llms-oci-data-science/tests/test_oci_data_science_client.py