mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-04 04:04:14 +00:00
Address review comments for global vector store configuration
- Remove incorrect 'Llama-Stack v2' version reference from documentation - Move MissingEmbeddingModelError to llama_stack/apis/common/errors.py - Update docstring references to point to correct exception location - Clarify default_embedding_dimension behavior (defaults to 384) - Update test imports and exception handling
This commit is contained in:
parent
f9afad99f8
commit
a368f4af40
4 changed files with 5 additions and 6 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
import pytest
|
||||
|
||||
from llama_stack.apis.common.errors import MissingEmbeddingModelError
|
||||
from llama_stack.apis.models import ModelType
|
||||
from llama_stack.distribution.routers.vector_io import VectorIORouter
|
||||
|
||||
|
@ -76,5 +77,5 @@ async def test_error_when_no_default():
|
|||
|
||||
router = VectorIORouter(routing_table=_DummyRoutingTable())
|
||||
|
||||
with pytest.raises(RuntimeError):
|
||||
with pytest.raises(MissingEmbeddingModelError):
|
||||
await router._resolve_embedding_model(None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue