AgentConfigOverride class

A partial, per-bead override of the ambient AgentConfig — every field optional; merged over the ambient value in ladder order.

Constructors

AgentConfigOverride({String? env, String? harness, Map<String, String>? params})
Creates the override.
const

Properties

env → String?
Overrides the environment NAME — the full {harness, target, model} the registry resolves it to (null ⇒ keep ambient). Names a COMPLETE environment; harness names only the tool. Which wins across rungs is resolveAgentConfig's precedence, not this type's.
final
harness → String?
Overrides the harness id (null ⇒ keep ambient).
final
hashCode → int
The hash code for this object.
no setterinherited
params → Map<String, String>?
Merged key-wise over the ambient params (null ⇒ keep ambient).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyTo(AgentConfig base) → AgentConfig
Applies this override onto base. The environment NAME (env/harness) is resolved by resolveAgentConfig's rung precedence, not here; this applies the params merge and the legacy harness axis.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited