def test_invalid_model_name_type(self):
        """Test that providing a non-string model_name raises a ValidationError."""
        with self.assertRaises(ValidationError) as context:
            ModelConfig(
                model_name=123,  # Invalid type
                model_properties={"property1": "value1"},
                normalize_embeddings=True
            )
        self.assertIn("modelName", str(context.exception))
        self.assertIn("str type expected (type=type_error.str)", str(context.exception))
Test that providing a non-string model_name raises a ValidationError.
tests/unit_tests/marqo/core/inference/api/test_inference_model_classes.py