llama-stack-mirror/llama_stack/providers/inline/agents/meta_reference
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
..
__init__.py chore(rename): move llama_stack.distribution to llama_stack.core (#2975) 2025-07-30 23:30:53 -07:00
agent_instance.py chore: standardize session not found error (#3031) 2025-08-04 13:12:02 -07:00
agents.py feat(responses): add include parameter (#3115) 2025-08-12 10:24:01 -07:00
config.py feat: add list responses API (#2233) 2025-05-23 13:16:48 -07:00
openai_responses.py chore(tests): fix responses and vector_io tests (#3119) 2025-08-12 16:15:53 -07:00
persistence.py fix: Fix list_sessions() (#3114) 2025-08-13 07:46:26 -07:00
safety.py chore(api): add mypy coverage to meta_reference_safety (#2661) 2025-07-09 10:22:34 +02:00