llama-stack-mirror/llama_stack/providers/utils/sqlstore
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 ci: add python package build test (#2457) 2025-06-19 18:57:32 +05:30
api.py feat: support auth attributes in inference/responses stores (#2389) 2025-06-20 10:24:45 -07:00
authorized_sqlstore.py fix: add missing argument and methods (#2550) 2025-06-30 14:55:37 +02:00
sqlalchemy_sqlstore.py feat: support auth attributes in inference/responses stores (#2389) 2025-06-20 10:24:45 -07:00
sqlstore.py fix: store configs (#2593) 2025-07-03 10:07:23 -07:00