llama-stack-mirror/llama_stack
Roland Huß e6c9aebe47 refactor: Add ProviderContext for a flexible storage directory
- Introduce ProviderContext class to decouple provider storage paths from absolute paths
- Add storage_dir attribute to StackRunConfig to accept CLI options
- Implement storage directory resolution with prioritized fallbacks:
  1. CLI option (--state-directory)
  2. Environment variable (LLAMA_STACK_STATE_DIR)
  3. Default distribution directory
- Standardize provider signatures to follow context, config, deps pattern
- Update provider implementations to use the new context-based approach
- Add comprehensive tests to verify state directory resolution
2025-05-14 09:51:56 +02:00
..
apis feat: function tools in OpenAI Responses (#2094) 2025-05-13 11:29:15 -07:00
cli refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
distribution refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
models fix: llama4 tool use prompt fix (#2103) 2025-05-06 22:18:31 -07:00
providers refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
strong_typing chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
templates chore: remove pytest reports (#2156) 2025-05-13 22:40:15 -07: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: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
schema_utils.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00