mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
Make a couple properties optional (#963)
This commit is contained in:
parent
0cbb3e401c
commit
474c4bdd7a
4 changed files with 4 additions and 10 deletions
|
@ -116,7 +116,7 @@ class Turn(BaseModel):
|
|||
]
|
||||
steps: List[Step]
|
||||
output_message: CompletionMessage
|
||||
output_attachments: List[Attachment] = Field(default_factory=list)
|
||||
output_attachments: Optional[List[Attachment]] = Field(default_factory=list)
|
||||
|
||||
started_at: datetime
|
||||
completed_at: Optional[datetime] = None
|
||||
|
@ -156,7 +156,7 @@ class AgentConfigCommon(BaseModel):
|
|||
tool_choice: Optional[ToolChoice] = Field(default=ToolChoice.auto)
|
||||
tool_prompt_format: Optional[ToolPromptFormat] = Field(default=None)
|
||||
|
||||
max_infer_iters: int = 10
|
||||
max_infer_iters: Optional[int] = 10
|
||||
|
||||
|
||||
@json_schema_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue