From b58d0daa95395e0032c4fff0c213c21cf011ef3c Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Fri, 18 Jul 2025 15:38:56 -0700 Subject: [PATCH] comment --- llama_stack/distribution/routing_tables/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llama_stack/distribution/routing_tables/models.py b/llama_stack/distribution/routing_tables/models.py index dda43cdb5..9a9db7257 100644 --- a/llama_stack/distribution/routing_tables/models.py +++ b/llama_stack/distribution/routing_tables/models.py @@ -92,6 +92,8 @@ class ModelsRoutingTable(CommonRoutingTableImpl, Models): # from run.yaml) that we need to keep track of model_ids = {} for model in existing_models: + # we leave embeddings models alone because often we don't get metadata + # (embedding dimension, etc.) from the provider if model.provider_id == provider_id and model.model_type == ModelType.llm: model_ids[model.provider_resource_id] = model.identifier logger.debug(f"unregistering model {model.identifier}")