fix(mypy): fix wrong attribute access (#3770)

This commit is contained in:
Ashwin Bharambe 2025-10-10 09:30:43 -07:00 committed by GitHub
parent 8bf07f91cb
commit 548ccff368
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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