llama-stack-mirror/llama_stack/templates/hf-serverless
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
..
__init__.py Update more distribution docs to be simpler and partially codegen'ed 2024-11-20 22:03:44 -08:00
build.yaml refactor(env)!: enhanced environment variable substitution (#2490) 2025-06-26 08:20:08 +05:30
hf_serverless.py chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
run-with-safety.yaml fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
run.yaml fix: store configs (#2593) 2025-07-03 10:07:23 -07:00