mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-12 20:12:33 +00:00
review: add warning when not checking mode availability for vllm
This commit is contained in:
parent
0ecfdc6dff
commit
fbd4ae8dae
1 changed files with 1 additions and 0 deletions
|
|
@ -88,6 +88,7 @@ class VLLMInferenceAdapter(OpenAIMixin):
|
||||||
return True
|
return True
|
||||||
model_ids.append(m.id)
|
model_ids.append(m.id)
|
||||||
raise ValueError(f"Model '{model}' not found. Available models: {model_ids}")
|
raise ValueError(f"Model '{model}' not found. Available models: {model_ids}")
|
||||||
|
log.warning(f"Not checking model availability for {model} as API token may trigger OAuth workflow")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
async def openai_chat_completion(
|
async def openai_chat_completion(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue