mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-10 13:28:40 +00:00
docs: improve vector store config documentation and fix test isolation
This commit is contained in:
parent
ecb06a0384
commit
534c227058
3 changed files with 24 additions and 4 deletions
|
@ -7,7 +7,10 @@
|
|||
from llama_stack.apis.common.vector_store_config import VectorStoreConfig
|
||||
|
||||
|
||||
def test_defaults():
|
||||
def test_defaults(monkeypatch):
|
||||
# ensure env is clean to avoid flaky defaults
|
||||
monkeypatch.delenv("LLAMA_STACK_DEFAULT_EMBEDDING_MODEL", raising=False)
|
||||
monkeypatch.delenv("LLAMA_STACK_DEFAULT_EMBEDDING_DIMENSION", raising=False)
|
||||
config = VectorStoreConfig()
|
||||
assert config.default_embedding_model is None
|
||||
assert config.default_embedding_dimension is None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue