mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-15 22:47:59 +00:00
resource oriented object design for models
This commit is contained in:
parent
5625aef48a
commit
ca88f3f182
17 changed files with 63 additions and 82 deletions
|
@ -69,7 +69,7 @@ class TestInference:
|
|||
response = await models_impl.list_models()
|
||||
assert isinstance(response, list)
|
||||
assert len(response) >= 1
|
||||
assert all(isinstance(model, ModelDefWithProvider) for model in response)
|
||||
assert all(isinstance(model, Model) for model in response)
|
||||
|
||||
model_def = None
|
||||
for model in response:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue