llama-stack-mirror/llama_stack/providers/registry
Charlie Doern f22aaef42f
chore!: remove telemetry API usage (#3815)
# What does this PR do?

remove telemetry as a providable API from the codebase. This includes
removing it from generated distributions but also the provider registry,
the router, etc

since `setup_logger` is tied pretty strictly to `Api.telemetry` being in
impls we still need an "instantiated provider" in our implementations.
However it should not be auto-routed or provided. So in
validate_and_prepare_providers (called from resolve_impls) I made it so
that if run_config.telemetry.enabled, we set up the meta-reference
"provider" internally to be used so that log_event will work when
called.

This is the neatest way I think we can remove telemetry from the
provider configs but also not need to rip apart the whole "telemetry is
a provider" logic just yet, but we can do it internally later without
disrupting users.

so telemetry is removed from the registry such that if a user puts
`telemetry:` as an API in their build/run config it will err out, but
can still be used by us internally as we go through this transition.


relates to #3806

Signed-off-by: Charlie Doern <cdoern@redhat.com>
2025-10-16 10:39:32 -07:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
agents.py chore!: remove telemetry API usage (#3815) 2025-10-16 10:39:32 -07:00
batches.py chore: remove openai dependency from providers (#3398) 2025-09-11 10:19:59 +02:00
datasetio.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
eval.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
files.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
inference.py refactor: replace default all-MiniLM-L6-v2 embedding model by nomic-embed-text-v1.5 in Llama Stack (#3183) 2025-10-14 10:44:20 -04:00
post_training.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
safety.py feat: combine ProviderSpec datatypes (#3378) 2025-09-18 16:10:00 +02:00
scoring.py chore: remove openai dependency from providers (#3398) 2025-09-11 10:19:59 +02:00
tool_runtime.py fix: update pyproject.toml dependencies for vector processing (#3555) 2025-10-07 15:01:36 +02:00
vector_io.py feat: Enable setting a default embedding model in the stack (#3803) 2025-10-14 18:25:13 -07:00