Commit graph

3 commits

Author SHA1 Message Date
Ashwin Bharambe
b39878c4a3 fix(testing): correct REPO_ROOT path calculation for src/ layout
The REPO_ROOT path calculation in api_recorder.py needed an extra .parent
after the src/ migration. Before:
  llama_stack/testing/api_recorder.py -> .parent.parent.parent = repo root

After src/ migration:
  src/llama_stack/testing/api_recorder.py -> .parent.parent.parent = src/

This caused the recording system to look for recordings in src/tests/
instead of tests/, resulting in "Recording not found" errors.

Fixed by adding one more .parent to reach the actual repo root.
2025-10-27 11:57:25 -07:00
Ashwin Bharambe
d27c9ebef3 fix(distributions): restore missing prompts storage configuration
All distribution run.yaml files were missing the prompts storage store
configuration that was added in commit 98a5047f9 but lost during the
src/ layout migration. Added prompts store config to all 9 distributions:

  prompts:
    namespace: prompts
    backend: kv_default

This fixes the "storage.stores.prompts must be configured" error in
integration tests.
2025-10-27 11:52:22 -07:00
Ashwin Bharambe
8e5ed739ec chore(package): migrate to src/ layout
Moved package code from llama_stack/ to src/llama_stack/ following Python
packaging best practices. Updated pyproject.toml, MANIFEST.in, and tool
configurations accordingly.

Public API and import paths remain unchanged. Developers will need to
reinstall in editable mode after pulling this change.

Also updated paths in pre-commit config, scripts, and GitHub workflows.
2025-10-27 11:30:08 -07:00