mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
refine
This commit is contained in:
parent
fadb7deae5
commit
d021983b0e
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class MetaReferenceInferenceImpl(
|
|||
self.generator.stop()
|
||||
|
||||
def check_model(self, request) -> None:
|
||||
if self.model_id or self.llama_model is None:
|
||||
if self.model_id is None or self.llama_model is None:
|
||||
raise RuntimeError(
|
||||
"No avaible model yet, please register your requested model or add your model in the resouces first"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue