Skip to content

Commit cbda70b

Browse files
MarkDaoustcopybara-github
authored andcommitted
feat: Add IDLE state to InteractionStatus and mark REQUIRES_ACTION as deprecated.
PiperOrigin-RevId: 966113267
1 parent e8cd7d0 commit cbda70b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

google/genai/types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,8 @@ class InteractionStatus(_common.CaseInSensitiveEnum):
13331333
IN_PROGRESS = 'IN_PROGRESS'
13341334
"""The server is still actively processing user input or running background reasoning. More model output may follow."""
13351335
REQUIRES_ACTION = 'REQUIRES_ACTION'
1336+
"""Deprecated: Use IDLE instead."""
1337+
IDLE = 'IDLE'
13361338
"""The server has completed all processing and background reasoning."""
13371339

13381340

0 commit comments

Comments
 (0)