llama-stack-mirror/llama_stack/providers/remote/inference/nvidia
Matthew Farrellee 060b4eb776
allow env NVIDIA_BASE_URL to set NVIDIAConfig.url (#531)
# What does this PR do?

this allows setting an NVIDIA_BASE_URL variable to control the
NVIDIAConfig.url option


## Test Plan

`pytest -s -v --providers inference=nvidia
llama_stack/providers/tests/inference/ --env
NVIDIA_BASE_URL=http://localhost:8000`


## Before submitting

- [ ] This PR fixes a typo or improves the docs (you can dismiss the
other checks if that's the case).
- [x] Ran pre-commit to handle lint / formatting issues.
- [x] 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.
2024-11-26 17:46:44 -08:00
..
__init__.py add NVIDIA NIM inference adapter (#355) 2024-11-23 15:59:00 -08:00
config.py allow env NVIDIA_BASE_URL to set NVIDIAConfig.url (#531) 2024-11-26 17:46:44 -08:00
nvidia.py add NVIDIA NIM inference adapter (#355) 2024-11-23 15:59:00 -08:00
openai_utils.py add NVIDIA NIM inference adapter (#355) 2024-11-23 15:59:00 -08:00
utils.py add NVIDIA NIM inference adapter (#355) 2024-11-23 15:59:00 -08:00