llama-stack-mirror/tests/integration/safety
Ashwin Bharambe cb40da210f
fix: update tests for OpenAI-style models endpoint (#4053)
The llama-stack-client now uses /`v1/openai/v1/models` which returns
OpenAI-compatible model objects with 'id' and 'custom_metadata' fields
instead of the Resource-style 'identifier' field. Updated api_recorder
to handle the new endpoint and modified tests to access model metadata
appropriately. Deleted stale model recordings for re-recording.

**NOTE: CI will be red on this one since it is dependent on
https://github.com/llamastack/llama-stack-client-python/pull/291/files
landing. I verified locally that it is green.**
2025-11-03 17:30:08 -08:00
..
recordings ci: test adjustments for Qwen3-0.6B (#3978) 2025-11-03 12:19:35 -08:00
resources refactor: tests/unittests -> tests/unit; tests/api -> tests/integration 2025-03-04 09:57:00 -08:00
__init__.py fix: remove ruff N999 (#1388) 2025-03-07 11:14:04 -08:00
test_llama_guard.py fix: update tests for OpenAI-style models endpoint (#4053) 2025-11-03 17:30:08 -08:00
test_safety.py chore!: Safety api refactoring to use OpenAIMessageParam (#3796) 2025-10-12 08:01:00 -07:00
test_vision_safety.py refactor(test): introduce --stack-config and simplify options (#1404) 2025-03-05 17:02:02 -08:00