mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-11 13:44:38 +00:00
fix(mypy): fix wrong attribute access (#3770)
This commit is contained in:
parent
8bf07f91cb
commit
548ccff368
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ class VLLMInferenceAdapter(OpenAIMixin):
|
|||
"""
|
||||
Skip the check when running without authentication.
|
||||
"""
|
||||
if not self.config.api_token:
|
||||
if not self.config.auth_credential:
|
||||
model_ids = []
|
||||
async for m in self.client.models.list():
|
||||
if m.id == model: # Found exact match
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue