def test_is_json_schema_supported_supported_models() -> None:
    """Test that supported models return True."""
    supported_models = [
        "gpt-4o",
        "gpt-4o-2024-05-13",
        "gpt-4.1",
    ]

    for model in supported_models:
        assert is_json_schema_supported(model) is True, (
            f"Model {model} should be supported"
        )
Test that supported models return True.
llama-index-integrations/llms/llama-index-llms-openai/tests/test_openai_utils.py