llama-stack-mirror/llama_stack/providers
Dinesh Yeduguru 194f6f01c6 Tgi fixture (#519)
# What does this PR do?

* Add a test fixture for tgi
* Fixes the logic to correctly pass the llama model for chat completion

Fixes #514

## Test Plan

pytest -k "tgi"
llama_stack/providers/tests/inference/test_text_inference.py --env
TGI_URL=http://localhost:$INFERENCE_PORT --env TGI_API_TOKEN=$HF_TOKEN
2024-11-27 14:37:58 -08:00
..
inline Fix opentelemetry adapter (#510) 2024-11-27 14:37:57 -08:00
registry add NVIDIA NIM inference adapter (#355) 2024-11-27 14:37:58 -08:00
remote Tgi fixture (#519) 2024-11-27 14:37:58 -08:00
tests Tgi fixture (#519) 2024-11-27 14:37:58 -08:00
utils add missing __init__ 2024-11-27 14:37:58 -08:00
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
datatypes.py temp commit 2024-11-26 10:49:03 -08:00