RunConfig

data class RunConfig(val streamingMode: StreamingMode = StreamingMode.NONE, val maxLlmCalls: Int = 500, val customMetadata: Map<String, Any>? = null)

Configs for runtime behavior of agents.

Constructors

Link copied to clipboard
constructor(streamingMode: StreamingMode = StreamingMode.NONE, maxLlmCalls: Int = 500, customMetadata: Map<String, Any>? = null)

Properties

Link copied to clipboard
val customMetadata: Map<String, Any>? = null

Custom metadata for the current invocation.

Link copied to clipboard
val maxLlmCalls: Int = 500

Limit on the total number of LLM calls per run. A positive value is enforced; a value <= 0 means unbounded.

Link copied to clipboard

Streaming mode, NONE or SSE.