mirror of
https://github.com/meta-llama/llama-stack.git
synced 2026-01-07 09:49: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
|
||||
|
||||
@classmethod
|
||||
def sample_run_config(cls) -> Dict[str, Any]:
|
||||
return {"db_path": "{env.MILVUS_ENDPOINT}"}
|
||||
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
||||
return {"db_path": "${env.MILVUS_DB_PATH}"}
|
||||
|
|
|
|||
|
|
@ -18,5 +18,5 @@ class MilvusVectorIOConfig(BaseModel):
|
|||
consistency_level: str = "Strong"
|
||||
|
||||
@classmethod
|
||||
def sample_run_config(cls) -> Dict[str, Any]:
|
||||
return {"uri": "{env.MILVUS_ENDPOINT}", "token": "{env.MILVUS_TOKEN}"}
|
||||
def sample_run_config(cls, __distro_dir__: str, **kwargs: Any) -> Dict[str, Any]:
|
||||
return {"uri": "${env.MILVUS_ENDPOINT}", "token": "${env.MILVUS_TOKEN}"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue