Skip to content

Commit 1a84605

Browse files
Annhiluccopybara-github
authored andcommitted
feat: Add INCOMPLETE status to Interaction.
PiperOrigin-RevId: 868345732
1 parent 60c0a2f commit 1a84605

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/genai/_interactions/types/interaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Interaction(BaseModel):
8383
id: str
8484
"""Output only. A unique identifier for the interaction completion."""
8585

86-
status: Literal["in_progress", "requires_action", "completed", "failed", "cancelled"]
86+
status: Literal["in_progress", "requires_action", "completed", "failed", "cancelled", "incomplete"]
8787
"""Output only. The status of the interaction."""
8888

8989
agent: Union[str, Literal["deep-research-pro-preview-12-2025"], None] = None

google/genai/_interactions/types/interaction_status_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ class InteractionStatusUpdate(BaseModel):
3333

3434
interaction_id: Optional[str] = None
3535

36-
status: Optional[Literal["in_progress", "requires_action", "completed", "failed", "cancelled"]] = None
36+
status: Optional[Literal["in_progress", "requires_action", "completed", "failed", "cancelled", "incomplete"]] = None

0 commit comments

Comments
 (0)