llama-stack-mirror/tests/unit/distribution
Wen Zhou 8563c76f88 feat: add optional metrics under API /providers
- add field "metrcis" under API "/providers"
- each provider can config "metrics" in run.yaml in "config"
  - if no "metrics":  /provider/<provider_id> shows "metrics: null" in response
  - if has "metrics": /provider/<provider_id> show result in response
  - if has "metrics" but is not string type and not httpurl, raise ValidationError
- add unit tests for providers
- update "docs"

Signed-off-by: Wen Zhou <wenzhou@redhat.com>
2025-07-15 12:36:26 +02:00
..
routers chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
test_build_path.py feat: include run.yaml in the container image (#2005) 2025-04-24 11:29:53 +02:00
test_context.py chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
test_distribution.py feat: add optional metrics under API /providers 2025-07-15 12:36:26 +02:00
test_providers.py feat: add optional metrics under API /providers 2025-07-15 12:36:26 +02:00