llama-stack-mirror/llama_stack
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
..
apis docs: Minor spelling fix (#2592) 2025-07-02 20:26:51 -04:00
cli fix: stack build (#2485) 2025-06-20 15:15:43 -07:00
distribution fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
models fix: finish conversion to StrEnum (#2514) 2025-06-26 08:01:26 +05:30
providers fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
templates fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
ui build: Bump version to 0.2.13 2025-06-27 23:56:14 +00:00
__init__.py export LibraryClient 2024-12-13 12:08:00 -08:00
env.py refactor(test): move tools, evals, datasetio, scoring and post training tests (#1401) 2025-03-04 14:53:47 -08:00
log.py chore: remove nested imports (#2515) 2025-06-26 08:01:05 +05:30
schema_utils.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00