Commit graph

3 commits

Author SHA1 Message Date
Ashwin Bharambe
ed79d69e43 we need to make openai/v1/models non deprecated so we can include in stainless 2025-11-03 15:38:56 -08:00
Ashwin Bharambe
3af73b754a feat: add custom_metadata to OpenAIModel to unify /v1/models with /v1/openai/v1/models
Goal is to consolidate model listing endpoints. This is step 1: adding custom_metadata
field to OpenAIModel that includes model_type, provider_id, provider_resource_id, and
all model metadata from the native /v1/models response.

Next steps: update stainless client to use /v1/openai/v1/models, migrate tests to read
from custom_metadata, then remove /v1/openai/v1/ prefix entirely.
2025-11-03 15:11:58 -08:00
Ashwin Bharambe
471b1b248b
chore(package): migrate to src/ layout (#3920)
Migrates package structure to src/ layout following Python packaging
best practices.

All code moved from `llama_stack/` to `src/llama_stack/`. Public API
unchanged - imports remain `import llama_stack.*`.

Updated build configs, pre-commit hooks, scripts, and GitHub workflows
accordingly. All hooks pass, package builds cleanly.

**Developer note**: Reinstall after pulling: `pip install -e .`
2025-10-27 12:02:21 -07:00
Renamed from llama_stack/apis/models/models.py (Browse further)