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)

Types

Link copied to clipboard
class Builder

Fluent builder for RunConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Custom metadata for the current invocation.

Link copied to clipboard

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.