llama-stack-mirror/llama_stack/templates
ehhuang 3c43a2f529
fix: store configs (#2593)
# What does this PR do?
https://github.com/meta-llama/llama-stack/pull/2490 broke postgres_demo,
as the config expected a str but the value was converted to int.

This PR:
1. Updates the type of port in sqlstore to be int
2. template generation uses `dict` instead of `StackRunConfig` so as to
avoid failing pydantic typechecks.
3. Adds `replace_env_vars` to StackRunConfig instantiation in
`configure.py` (not sure why this wasn't needed before).

## Test Plan
`llama stack build --template postgres_demo --image-type conda --run`
2025-07-03 10:07:23 -07:00
..
bedrock fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
cerebras fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
ci-tests fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
dell fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
experimental-post-training fix: Some missed env variable changes from PR 2490 (#2538) 2025-06-26 17:59:15 -07:00
fireworks fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
groq fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
hf-endpoint fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
hf-serverless fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
llama_api fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
meta-reference-gpu fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
nvidia fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
ollama fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
open-benchmark fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
passthrough fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
postgres-demo fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
remote-vllm fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
sambanova fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
starter fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
tgi fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
together fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
vllm-gpu fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
watsonx fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
__init__.py Auto-generate distro yamls + docs (#468) 2024-11-18 14:57:06 -08:00
template.py fix: store configs (#2593) 2025-07-03 10:07:23 -07:00