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 class
Builder forRunConfig
.static enum
Streaming mode for the runner. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RunConfig.Builder
builder()
static RunConfig.Builder
abstract int
abstract @Nullable com.google.genai.types.AudioTranscriptionConfig
abstract com.google.common.collect.ImmutableList
<com.google.genai.types.Modality> abstract boolean
abstract @Nullable com.google.genai.types.SpeechConfig
abstract RunConfig.StreamingMode
-
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
-
outputAudioTranscription
public abstract @Nullable com.google.genai.types.AudioTranscriptionConfig outputAudioTranscription() -
maxLlmCalls
public abstract int maxLlmCalls() -
builder
-
builder
-