llama-stack-mirror/tests/unit/providers
Matthew Farrellee f731f369a2
feat: add infrastructure to allow inference model discovery (#2710)
# What does this PR do?

inference providers each have a static list of supported / known models.
some also have access to a dynamic list of currently available models.
this change gives prodivers using the ModelRegistryHelper the ability to
combine their static and dynamic lists.

for instance, OpenAIInferenceAdapter can implement
```
   def query_available_models(self) -> list[str]:
      return [entry.model for entry in self.openai_client.models.list()]
```
to augment its static list w/ a current list from openai.

## Test Plan

scripts/unit-test.sh
2025-07-14 11:38:53 -07:00
..
agent chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
agents chore: default to pytest asyncio-mode=auto (#2730) 2025-07-11 13:00:24 -07:00
inference chore: block network access from unit tests (#2732) 2025-07-12 16:53:54 -07:00
nvidia chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
utils feat: add infrastructure to allow inference model discovery (#2710) 2025-07-14 11:38:53 -07:00
vector_io fix(faiss): Delete file contents from kvstore (#2686) 2025-07-14 13:58:23 -04:00
test_configs.py feat(api): don't return a payload on file delete (#1640) 2025-03-25 17:12:36 -07:00