mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-17 09:22:36 +00:00
Start auto-generating { build, run, doc.md } for distributions
This commit is contained in:
parent
20bf2f50c2
commit
cfa913fdd5
11 changed files with 362 additions and 23 deletions
|
|
@ -313,7 +313,8 @@ def replace_env_vars(config: Any, path: str = "") -> Any:
|
|||
else:
|
||||
value = default_val
|
||||
|
||||
return value
|
||||
# expand "~" from the values
|
||||
return os.path.expanduser(value)
|
||||
|
||||
try:
|
||||
return re.sub(pattern, get_env_var, config)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue