mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-31 16:01:46 +00:00
add back llama_model field
This commit is contained in:
parent
ca88f3f182
commit
4f5c4d1e3b
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ from llama_stack.apis.resource import Resource
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class Model(Resource):
|
class Model(Resource):
|
||||||
type: Literal["model"] = "model"
|
type: Literal["model"] = "model"
|
||||||
|
llama_model: str = Field(
|
||||||
|
description="Pointer to the underlying core Llama family model. Each model served by Llama Stack must have a core Llama model.",
|
||||||
|
)
|
||||||
metadata: Dict[str, Any] = Field(
|
metadata: Dict[str, Any] = Field(
|
||||||
default_factory=dict,
|
default_factory=dict,
|
||||||
description="Any additional metadata for this model",
|
description="Any additional metadata for this model",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue