mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-16 14:57:20 +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
|
@ -216,7 +216,7 @@ class EmbeddingsResponse(BaseModel):
|
|||
|
||||
|
||||
class ModelStore(Protocol):
|
||||
def get_model(self, identifier: str) -> ModelDef: ...
|
||||
def get_model(self, identifier: str) -> Model: ...
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue