Skip to content

Commit ec8ca87

Browse files
Annhiluccopybara-github
authored andcommitted
feat: Add DeepResearchAgentConfig fields
PiperOrigin-RevId: 897373849
1 parent f7257b0 commit ec8ca87

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

google/genai/_interactions/types/deep_research_agent_config.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,16 @@ class DeepResearchAgentConfig(BaseModel):
2828

2929
type: Literal["deep-research"]
3030

31+
collaborative_planning: Optional[bool] = None
32+
"""Enables human-in-the-loop planning for the Deep Research agent.
33+
34+
If set to true, the Deep Research agent will provide a research plan in its
35+
response. The agent will then proceed only if the user confirms the plan in the
36+
next turn. Relevant issue: b/482352502.
37+
"""
38+
3139
thinking_summaries: Optional[Literal["auto", "none"]] = None
3240
"""Whether to include thought summaries in the response."""
41+
42+
visualization: Optional[Literal["off", "auto"]] = None
43+
"""Whether to include visualizations in the response."""

google/genai/_interactions/types/deep_research_agent_config_param.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,16 @@ class DeepResearchAgentConfigParam(TypedDict, total=False):
2727

2828
type: Required[Literal["deep-research"]]
2929

30+
collaborative_planning: bool
31+
"""Enables human-in-the-loop planning for the Deep Research agent.
32+
33+
If set to true, the Deep Research agent will provide a research plan in its
34+
response. The agent will then proceed only if the user confirms the plan in the
35+
next turn. Relevant issue: b/482352502.
36+
"""
37+
3038
thinking_summaries: Literal["auto", "none"]
3139
"""Whether to include thought summaries in the response."""
40+
41+
visualization: Literal["off", "auto"]
42+
"""Whether to include visualizations in the response."""

0 commit comments

Comments
 (0)