Skip to content

Commit 9ea9633

Browse files
MarkDaoustcopybara-github
authored andcommitted
fix: Steps is not optional
PiperOrigin-RevId: 914062002
1 parent 32b03f2 commit 9ea9633

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

google/genai/_interactions/types/interaction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ class Interaction(BaseModel):
8181
status: Literal["in_progress", "requires_action", "completed", "failed", "cancelled", "incomplete"]
8282
"""Required. Output only. The status of the interaction."""
8383

84+
steps: List[Step]
85+
"""Required. Output only. The steps that make up the interaction."""
86+
8487
updated: datetime
8588
"""Required.
8689
@@ -127,9 +130,6 @@ class Interaction(BaseModel):
127130
service_tier: Optional[Literal["flex", "standard", "priority"]] = None
128131
"""The service tier for the interaction."""
129132

130-
steps: Optional[List[Step]] = None
131-
"""Output only. The steps that make up the interaction."""
132-
133133
system_instruction: Optional[str] = None
134134
"""System instruction for the interaction."""
135135

0 commit comments

Comments
 (0)