llama-stack-mirror/tests/unit/providers/agent
Francisco Arceo 92aca434a7
fix: Fix list_sessions() (#3114)
# What does this PR do?
1. Updates `AgentPersistence.list_sessions()` to properly filter out
`Turn` keys from `Session` keys.
2. Adds a suite of unit tests to confirm the `list_sessions()` behavior
and tests the failed sample in
https://github.com/meta-llama/llama-stack/issues/3048

## Fixes https://github.com/meta-llama/llama-stack/issues/3048


## Test Plan
Unit tests added.

---------

Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
2025-08-13 07:46:26 -07:00
..
test_agent_meta_reference.py fix: Fix list_sessions() (#3114) 2025-08-13 07:46:26 -07:00
test_get_raw_document_text.py fix: remove @pytest.mark.asyncio from test_get_raw_document_text.py (#2840) 2025-07-21 09:14:34 -07:00
test_meta_reference_agent.py chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00