mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-30 11:50:14 +00:00
update the API
This commit is contained in:
parent
6d1cf140ba
commit
6a96b6c264
1 changed files with 1 additions and 1 deletions
|
@ -316,7 +316,7 @@ class VLLMInferenceAdapter(Inference, ModelsProtocolPrivate):
|
|||
client = self._create_client() if self.client is None else self.client
|
||||
if client.api_key:
|
||||
headers["Authorization"] = f"Bearer {client.api_key}"
|
||||
models_url = f"{client.base_url}/v1/models"
|
||||
models_url = f"{client.base_url}models"
|
||||
requests.get(models_url, headers=headers, timeout=10)
|
||||
return HealthResponse(
|
||||
status=HealthStatus.OK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue