async def test_acomplete(llm: GoogleGenAI) -> None:
    """Test both sync and async complete methods."""
    prompt = "Write a poem about a magic backpack"

    # Test async complete
    async_response = await llm.acomplete(prompt)
    assert async_response is not None
    assert len(async_response.text) > 0
Test both sync and async complete methods.
llama-index-integrations/llms/llama-index-llms-google-genai/tests/test_llms_google_genai.py