mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-16 16:02:38 +00:00
update based on feedback
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
917deb28fe
commit
92107f316c
2 changed files with 9 additions and 8 deletions
|
|
@ -353,7 +353,7 @@ class OpenAIVectorStoreMixin(ABC):
|
|||
provider_vector_db_id = extra.get("provider_vector_db_id")
|
||||
embedding_model = extra.get("embedding_model")
|
||||
embedding_dimension = extra.get("embedding_dimension", 384)
|
||||
# use provider_id from router or default to this provider's own ID (need for --stack-config)
|
||||
# use provider_id set by router; fallback to provider's own ID when used directly via --stack-config
|
||||
provider_id = extra.get("provider_id") or getattr(self, "__provider_id__", None)
|
||||
|
||||
# Derive the canonical vector_db_id (allow override, else generate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue