llama-stack-mirror/src/llama_stack
Ashwin Bharambe 8e18584c67 fix: harden storage semantics
Fixes issues in the storage system by guaranteeing immediate durability for responses and ensuring background writers stay alive.

Responses to the OpenAI-compatible API now write directly to Postgres/SQLite inside the request instead of detouring through an async queue that might never drain; this restores the expected read-after-write behavior and removes the "response not found" races reported by users.
The access-control shim was stamping owner_principal/access_attributes as SQL NULL, which Postgres interprets as non-public rows; fixing it to use the empty-string/JSON-null pattern means conversations and responses stored without an authenticated user stay queryable (matching SQLite).

The inference-store queue remains for batching, but its worker tasks now start lazily on the live event loop so server startup doesn't cancel them—writes keep flowing even when the stack is launched via llama stack run.
2025-11-10 13:59:53 -08:00
..
apis feat(responses)!: Add web_search_2025_08_26 to the WebSearchToolTypes (#4103) 2025-11-07 10:01:12 -08:00
cli fix: print help for list-deps if no args (#4078) 2025-11-05 11:34:08 -08:00
core chore: Stack server no longer depends on llama-stack-client (#4094) 2025-11-07 09:54:09 -08:00
distributions feat: add OpenAI-compatible Bedrock provider (#3748) 2025-11-06 17:18:18 -08:00
models fix(mypy): resolve provider utility and testing type issues (#3935) 2025-10-28 10:37:27 -07:00
providers fix: harden storage semantics 2025-11-10 13:59:53 -08:00
strong_typing fix(mypy): part-03 completely resolve meta reference responses impl typing issues (#3951) 2025-10-29 08:07:15 -07:00
testing fix: update tests for OpenAI-style models endpoint (#4053) 2025-11-03 17:30:08 -08:00
__init__.py chore: Stack server no longer depends on llama-stack-client (#4094) 2025-11-07 09:54:09 -08:00
env.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
log.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00
schema_utils.py chore(package): migrate to src/ layout (#3920) 2025-10-27 12:02:21 -07:00