llama-stack-mirror/llama_stack/providers/utils/kvstore
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
..
mongodb feat: implementation for agent/session list and describe (#1606) 2025-05-07 14:49:23 +02:00
postgres feat: implementation for agent/session list and describe (#1606) 2025-05-07 14:49:23 +02:00
redis feat: implementation for agent/session list and describe (#1606) 2025-05-07 14:49:23 +02:00
sqlite fix: ValueError in faiss vector database serialization (resolves #2519) (#2526) 2025-06-27 14:34:52 -04:00
__init__.py [API Updates] Model / shield / memory-bank routing + agent persistence + support for private headers (#92) 2024-09-23 14:22:22 -07:00
api.py feat: implementation for agent/session list and describe (#1606) 2025-05-07 14:49:23 +02:00
config.py fix: store configs (#2593) 2025-07-03 10:07:23 -07:00
kvstore.py feat: add deps dynamically based on metastore config (#2405) 2025-06-05 14:07:25 -07:00