Class CodeMenderAgentConfig
java.lang.Object
com.google.genai.gaos.models.interactions.CodeMenderAgentConfig
- All Implemented Interfaces:
CreateAgentInteractionAgentConfig,InteractionAgentConfig
public class CodeMenderAgentConfig
extends Object
implements InteractionAgentConfig, CreateAgentInteractionAgentConfig
CodeMenderAgentConfig
Configuration for the CodeMender agent.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCodeMenderAgentConfig(FindRequest findRequest, FixRequest fixRequest, String model, SessionConfig sessionConfig, String sessionId) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanRequest parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.Request parameters specific to FIX sessions, used for generating and validating security patches.inthashCode()model()The name of the model to use for the CodeMender agent.The configuration of CodeMender sessions.Parameter for grouping multiple interactions that belong to the same CodeMender session.toString()type()withFindRequest(FindRequest findRequest) Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase.withFixRequest(FixRequest fixRequest) Request parameters specific to FIX sessions, used for generating and validating security patches.The name of the model to use for the CodeMender agent.withSessionConfig(SessionConfig sessionConfig) The configuration of CodeMender sessions.withSessionId(String sessionId) Parameter for grouping multiple interactions that belong to the same CodeMender session.
-
Constructor Details
-
CodeMenderAgentConfig
public CodeMenderAgentConfig(@Nullable FindRequest findRequest, @Nullable FixRequest fixRequest, @Nullable String model, @Nullable SessionConfig sessionConfig, @Nullable String sessionId) -
CodeMenderAgentConfig
public CodeMenderAgentConfig()
-
-
Method Details
-
findRequest
Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. -
fixRequest
Request parameters specific to FIX sessions, used for generating and validating security patches. -
model
The name of the model to use for the CodeMender agent. One CodeMender session will only use one model. -
sessionConfig
The configuration of CodeMender sessions. -
sessionId
Parameter for grouping multiple interactions that belong to the same CodeMender session. -
type
- Specified by:
typein interfaceCreateAgentInteractionAgentConfig- Specified by:
typein interfaceInteractionAgentConfig
-
builder
-
withFindRequest
Request parameters specific to FIND sessions, used for discovering vulnerabilities in a codebase. -
withFixRequest
Request parameters specific to FIX sessions, used for generating and validating security patches. -
withModel
The name of the model to use for the CodeMender agent. One CodeMender session will only use one model. -
withSessionConfig
The configuration of CodeMender sessions. -
withSessionId
Parameter for grouping multiple interactions that belong to the same CodeMender session. -
equals
-
hashCode
public int hashCode() -
toString
-