Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions google/genai/_interactions/types/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ class AgentConfigFindRequest(BaseModel):
validation on a single vulnerability.
"""

model: Optional[str] = None
"""The name of the model to use for the CodeMender agent.

One CodeMender session will only use one model.
"""

session_config: Optional[AgentConfigFindRequestSessionConfig] = None
"""Optional session-specific configurations to override default agent behavior."""

Expand Down Expand Up @@ -182,6 +188,12 @@ class AgentConfigFixRequest(BaseModel):
This ID maps to a previously discovered vulnerability.
"""

model: Optional[str] = None
"""The name of the model to use for the CodeMender agent.

One CodeMender session will only use one model.
"""

session_config: Optional[AgentConfigFixRequestSessionConfig] = None
"""Optional session-specific configurations to override default agent behavior."""

Expand Down
12 changes: 12 additions & 0 deletions google/genai/_interactions/types/interaction_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,12 @@ class AgentConfigFindRequest(TypedDict, total=False):
validation on a single vulnerability.
"""

model: str
"""The name of the model to use for the CodeMender agent.

One CodeMender session will only use one model.
"""

session_config: AgentConfigFindRequestSessionConfig
"""Optional session-specific configurations to override default agent behavior."""

Expand Down Expand Up @@ -341,6 +347,12 @@ class AgentConfigFixRequest(TypedDict, total=False):
This ID maps to a previously discovered vulnerability.
"""

model: str
"""The name of the model to use for the CodeMender agent.

One CodeMender session will only use one model.
"""

session_config: AgentConfigFixRequestSessionConfig
"""Optional session-specific configurations to override default agent behavior."""

Expand Down
Loading