Class RunConfig
java.lang.Object
com.google.adk.agents.RunConfig
Configuration to modify an agent's LLM's underlying behavior.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder forRunConfig.static enumStreaming mode for the runner.static enumTool execution mode for the runner, when they are multiple tools requested (by the models or callbacks). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanstatic RunConfig.Builderbuilder()static RunConfig.Builderabstract @Nullable com.google.genai.types.AudioTranscriptionConfigabstract intabstract @Nullable com.google.genai.types.AudioTranscriptionConfigabstract com.google.common.collect.ImmutableList<com.google.genai.types.Modality> abstract booleanabstract @Nullable com.google.genai.types.SpeechConfigabstract RunConfig.StreamingModeabstract RunConfig.Builderabstract RunConfig.ToolExecutionMode
-
Constructor Details
-
RunConfig
public RunConfig()
-
-
Method Details
-
speechConfig
public abstract @Nullable com.google.genai.types.SpeechConfig speechConfig() -
responseModalities
public abstract com.google.common.collect.ImmutableList<com.google.genai.types.Modality> responseModalities() -
saveInputBlobsAsArtifacts
public abstract boolean saveInputBlobsAsArtifacts() -
streamingMode
-
toolExecutionMode
-
outputAudioTranscription
public abstract @Nullable com.google.genai.types.AudioTranscriptionConfig outputAudioTranscription() -
inputAudioTranscription
public abstract @Nullable com.google.genai.types.AudioTranscriptionConfig inputAudioTranscription() -
maxLlmCalls
public abstract int maxLlmCalls() -
autoCreateSession
public abstract boolean autoCreateSession() -
toBuilder
-
builder
-
builder
-