Skip to content

Commit

Permalink
Update type_system.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SLR722 authored Jan 13, 2025
1 parent e8f905d commit 9b4d330
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions llama_stack/apis/common/type_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class AgentTurnInputType(BaseModel):
# expects List[Message] for messages (may also include attachments?)
type: Literal["agent_turn_input"] = "agent_turn_input"

class DialogType(BaseModel):
# expects List[Message] for messages
type: Literal["dialog"] = "dialog"


ParamType = register_schema(
Annotated[
Expand Down

0 comments on commit 9b4d330

Please sign in to comment.