async def test_aget_ignores_messages(sample_messages):
    """Test that aget method returns the same content regardless of messages."""
    static_text = "Fixed content that doesn't change"
    memory_block = StaticMemoryBlock(static_content=static_text)

    result_with_messages = await memory_block.aget(messages=sample_messages)
    result_without_messages = await memory_block.aget()

    assert result_with_messages == result_without_messages
    assert result_with_messages[0].text == static_text
Test that aget method returns the same content regardless of messages.
llama-index-core/tests/memory/blocks/test_static.py