mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 11:11:59 +00:00
Revert model in ModelCandidate to type string
This commit is contained in:
parent
43993cc29c
commit
95619892ea
3 changed files with 3 additions and 42 deletions
|
|
@ -27,7 +27,7 @@ class ModelCandidate(BaseModel):
|
|||
"""
|
||||
|
||||
type: Literal["model"] = "model"
|
||||
model: Union[str, Dict[str, Any]]
|
||||
model: str
|
||||
sampling_params: Optional[SamplingParams] = Field(default_factory=SamplingParams)
|
||||
system_message: Optional[SystemMessage] = None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue