llama-stack-mirror/llama_stack/providers/inline
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
..
agents refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
datasetio refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
eval refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
inference refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
ios/inference chore: removed executorch submodule (#1265) 2025-02-25 21:57:21 -08:00
post_training refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
safety refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
scoring refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
telemetry refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
tool_runtime refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
vector_io refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
__init__.py impls -> inline, adapters -> remote (#381) 2024-11-06 14:54:05 -08:00