mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-07 09:39:56 +00:00
fix config to use the correct sigil for env var replacement
This commit is contained in:
parent
2f45b9f2f7
commit
2313b1bab5
2 changed files with 4 additions and 4 deletions
|
|
@ -16,5 +16,5 @@ class MilvusVectorIOConfig(BaseModel):
|
||||||
db_path: str
|
db_path: str
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def sample_run_config(cls) -> Dict[str, Any]:
|
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
||||||
return {"db_path": "{env.MILVUS_ENDPOINT}"}
|
return {"db_path": "${env.MILVUS_DB_PATH}"}
|
||||||
|
|
|
||||||
|
|
@ -18,5 +18,5 @@ class MilvusVectorIOConfig(BaseModel):
|
||||||
consistency_level: str = "Strong"
|
consistency_level: str = "Strong"
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def sample_run_config(cls) -> Dict[str, Any]:
|
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
||||||
return {"uri": "{env.MILVUS_ENDPOINT}", "token": "{env.MILVUS_TOKEN}"}
|
return {"uri": "${env.MILVUS_ENDPOINT}", "token": "${env.MILVUS_TOKEN}"}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue