RunConfig
data class RunConfig @JvmOverloads constructor(val streamingMode: StreamingMode = StreamingMode.NONE, val maxLlmCalls: Int = 500, val customMetadata: Map<String, Any>? = null, val live: LiveRunConfig = LiveRunConfig())
Configs for runtime behavior of agents.
Constructors
Link copied to clipboard
constructor(streamingMode: StreamingMode = StreamingMode.NONE, maxLlmCalls: Int = 500, customMetadata: Map<String, Any>? = null, live: LiveRunConfig = LiveRunConfig())
Types
Properties
Link copied to clipboard
Custom metadata for the current invocation.
Link copied to clipboard
Settings that only a live run reads.
Link copied to clipboard
Limit on the total number of LLM calls per run. A positive value is enforced, except by a live run, which ignores it; a value <= 0 means unbounded.
Link copied to clipboard
Streaming mode, NONE, SSE or BIDI.
Functions
Link copied to clipboard
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.