add back llama_model field

This commit is contained in:
Dinesh Yeduguru 2024-11-07 21:40:54 -08:00
parent ca88f3f182
commit 4f5c4d1e3b

View file

@ -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",