def test_is_json_schema_supported_o1_mini_excluded() -> None:
    """Test that o1-mini models are explicitly excluded."""
    o1_mini_models = [
        "o1-mini",
        "o1-mini-2024-09-12",
    ]

    for model in o1_mini_models:
        assert is_json_schema_supported(model) is False, (
            f"Model {model} should be excluded"
        )
Test that o1-mini models are explicitly excluded.
llama-index-integrations/llms/llama-index-llms-openai/tests/test_openai_utils.py