mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-18 07:18:53 +00:00
resource oriented object design for models
This commit is contained in:
parent
0297111dfd
commit
9076221924
17 changed files with 64 additions and 86 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