llama-stack-mirror/llama_stack/distribution
Xi Yan 596afc6497
add --version to llama stack CLI & /version endpoint (#732)
# What does this PR do?

- add --version to llama stack CLI 
- add /version endpoint
- run OpenAPI generator for the new endpoint

## Test Plan

**CLI**
<img width="184" alt="image"
src="https://github.com/user-attachments/assets/3acb1d22-453e-4b79-baf6-e98e88d0671c"
/>



**endpoint**
<img width="430" alt="image"
src="https://github.com/user-attachments/assets/79cdd670-493b-40cf-8f9e-28a4ac0988ac"
/>


## Sources

Please link relevant resources if necessary.


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [ ] Ran pre-commit to handle lint / formatting issues.
- [ ] Read the [contributor
guideline](https://github.com/meta-llama/llama-stack/blob/main/CONTRIBUTING.md),
      Pull Request section?
- [ ] Updated relevant documentation.
- [ ] Wrote necessary unit or integration tests.
2025-01-08 16:30:06 -08:00
..
routers [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
server Fix incorrect entrypoint for broken llama stack run (#706) 2025-01-03 09:47:10 -08:00
store [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
tests Fix bedrock inference impl 2024-12-16 14:22:34 -08:00
ui Fix failing flake8 E226 check (#701) 2025-01-02 09:04:07 -08:00
utils Ensure model_local_dir does not mangle "C:\" on Windows 2024-11-24 14:18:59 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
build.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
build_conda_env.sh Fix to conda env build script 2024-12-17 12:19:34 -08:00
build_container.sh Add missing newlines before printing the Dockerfile content (#700) 2025-01-02 09:04:29 -08:00
build_venv.sh Miscellaneous fixes around telemetry, library client and run yaml autogen 2024-12-08 20:40:22 -08:00
client.py use API version in "remote" stack client 2024-11-19 15:59:47 -08:00
common.sh API Updates (#73) 2024-09-17 19:51:35 -07:00
configure.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
configure_container.sh docker: Check for selinux before using --security-opt (#167) 2024-10-02 10:37:41 -07:00
datatypes.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
distribution.py Tools API with brave and MCP providers (#639) 2024-12-19 21:25:17 -08:00
inspect.py add --version to llama stack CLI & /version endpoint (#732) 2025-01-08 16:30:06 -08:00
library_client.py remove default logger handlers when using libcli with notebook (#718) 2025-01-06 13:06:22 -08:00
request_headers.py fixes tests & move braintrust api_keys to request headers (#535) 2024-11-26 13:11:21 -08:00
resolver.py [remove import *] clean up import *'s (#689) 2024-12-27 15:45:44 -08:00
stack.py Redact sensitive information from configs when printing, etc. 2025-01-02 13:54:02 -08:00
start_conda_env.sh Move to use argparse, fix issues with multiple --env cmdline options 2024-11-18 16:31:59 -08:00
start_container.sh Fix incorrect entrypoint for broken llama stack run (#706) 2025-01-03 09:47:10 -08:00