async def list_models():
    """
    An endpoint to list available models. It returns a list of model cards.
    This is useful for clients to query and understand what models are available for use.
    """
    model_card = ModelCard(id="GLM-4v-9b")
    return ModelList(data=[model_card])

    An endpoint to list available models. It returns a list of model cards.
    This is useful for clients to query and understand what models are available for use.
    
inference/glm4v_server.py