fix(mypy): fix wrong attribute access

This commit is contained in:
Ashwin Bharambe 2025-10-10 09:26:22 -07:00
parent 0066d986c5
commit d61472fc2b

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