llama-stack-mirror/tests/unit/providers/agent
Ashwin Bharambe c9d4b6c54f
chore(mypy): part-04 resolve mypy errors in meta_reference agents (#3969)
## Summary
Fixes all mypy type errors in `providers/inline/agents/meta_reference/`
and removes exclusions from pyproject.toml.

## Changes
- Fix type annotations for Safety API message parameters
(OpenAIMessageParam)
- Add Action enum usage in access control checks
- Correct method signatures to match API supertype (parameter ordering)
- Handle optional return types with proper None checks
- Remove 3 meta_reference exclusions from mypy config

**Files fixed:** 25 errors across 3 files (safety.py, persistence.py,
agents.py)
2025-10-29 13:37:28 -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: adding mime type of application/json support (#3452) 2025-09-29 11:27:31 -07:00
test_meta_reference_agent.py chore(mypy): part-04 resolve mypy errors in meta_reference agents (#3969) 2025-10-29 13:37:28 -07:00