def test_media_thread_count_in_env_image_thread_count_in_params_non_languagebind_model(self):
        """Test when media thread count is set in env and image thread count in params for non-languagebind model."""
        marqo_index = MarqoIndex(model_type='other')
        add_docs_params = AddDocsParams(image_download_thread_count=15)
        os.environ[EnvVars.MARQO_MEDIA_DOWNLOAD_THREAD_COUNT_PER_REQUEST] = '8'
        result = _determine_thread_count(marqo_index, add_docs_params)
        self.assertEqual(result, 8)
Test when media thread count is set in env and image thread count in params for non-languagebind model.
tests/integ_tests/tensor_search/test_media_download_thread_count.py