llama-stack-mirror/src/llama_stack/providers/inline
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
..
agents chore(mypy): part-04 resolve mypy errors in meta_reference agents (#3969) 2025-10-29 13:37:28 -07:00
batches fix(mypy): resolve provider utility and testing type issues (#3935) 2025-10-28 10:37:27 -07:00
datasetio chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
eval chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
files/localfs chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
inference chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
ios/inference chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
post_training fix(mypy): add type stubs and fix typing issues (#3938) 2025-10-28 11:00:09 -07:00
safety chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
scoring chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
tool_runtime chore!: BREAKING CHANGE: vector_db_id -> vector_store_id (#3923) 2025-10-27 14:26:06 -07:00
vector_io fix(mypy): add type stubs and fix typing issues (#3938) 2025-10-28 11:00:09 -07:00
__init__.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00