llama-stack-mirror/llama_stack/providers
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
..
inline refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
registry feat(providers): sambanova updated to use LiteLLM openai-compat (#1596) 2025-05-06 16:50:22 -07:00
remote refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00
utils chore(refact): move paginate_records fn outside of datasetio (#2137) 2025-05-12 10:56:14 -07:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py refactor: Add ProviderContext for a flexible storage directory 2025-05-14 09:51:56 +02:00