AgentConfig class
Configuration for the AgentCore.
Constructors
Properties
- conversationMaxTurns → int
-
Maximum conversation history turns to retain.
final
- debugMode → bool
-
Enable debug logging to console.
final
- enableDataMasking → bool
-
Whether to mask sensitive data before sending to the LLM.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxRetries → int
-
Number of unchanged-state retries before giving up.
final
- maxSteps → int
-
Maximum number of perceive→plan→execute→verify steps.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stepDelay → Duration
-
Delay between agent loop steps (to let UI settle).
final
- timeout → Duration
-
Timeout for individual LLM requests.
final
Methods
-
copyWith(
{int? maxSteps, int? maxRetries, Duration? stepDelay, bool? debugMode, Duration? timeout, bool? enableDataMasking, int? conversationMaxTurns}) → AgentConfig - Create a copy with selected fields overridden.
-
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